gds-sso 14.0.0 → 14.1.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/bearer_token.rb +6 -1
- data/lib/gds-sso/version.rb +1 -1
- data/spec/internal/db/combustion_test.sqlite +0 -0
- data/spec/internal/log/test.log +1066 -1066
- metadata +21 -21
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 23a6e0c4d1ab3235317f3ebeb7751063cfb34651103e18f8566f1af14289f138
|
4
|
+
data.tar.gz: 98fdfb14f57717685360e7e870665325ad8e710fcf84abe236fbb29e4d7f5ebf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6a4a79296c5d292ee1644bdfe026523231bd5ed3209e64819eac71587eb5a6f300626c08e4650837fd3ed22e60713df397e478c0ba88c978c5be8659b1739216
|
7
|
+
data.tar.gz: a5644c1bd476202949cf7e94a734e80fbf4761cac7e2a4e83d23f31cdede40e0838b7106c41f82d1fb49d67d6b325901fac528883c20425257050315664a2d60
|
data/lib/gds-sso/bearer_token.rb
CHANGED
@@ -20,7 +20,12 @@ module GDS
|
|
20
20
|
@oauth_client ||= OAuth2::Client.new(
|
21
21
|
GDS::SSO::Config.oauth_id,
|
22
22
|
GDS::SSO::Config.oauth_secret,
|
23
|
-
:site => GDS::SSO::Config.oauth_root_url
|
23
|
+
:site => GDS::SSO::Config.oauth_root_url,
|
24
|
+
:connection_opts => {
|
25
|
+
:headers => {
|
26
|
+
:user_agent => "gds-sso/#{GDS::SSO::VERSION} (#{ENV['GOVUK_APP_NAME']})"
|
27
|
+
}
|
28
|
+
}
|
24
29
|
)
|
25
30
|
end
|
26
31
|
|
data/lib/gds-sso/version.rb
CHANGED
Binary file
|
data/spec/internal/log/test.log
CHANGED
@@ -1,1578 +1,1578 @@
|
|
1
|
-
[1m[36m (
|
2
|
-
[1m[35m (
|
1
|
+
[1m[36m (6.4ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar NOT NULL, "uid" varchar NOT NULL, "email" varchar NOT NULL, "remotely_signed_out" boolean, "permissions" text, "organisation_slug" varchar, "organisation_content_id" varchar, "disabled" boolean DEFAULT 'f') [0m
|
2
|
+
[1m[35m (3.8ms)[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"."email" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["email", "dummyapiuser@domain.com"]]
|
6
|
-
[1m[35m (0.1ms)[0m begin transaction
|
7
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("email", "uid", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["email", "dummyapiuser@domain.com"], ["uid", "3905"], ["name", "Dummy API user created by gds-sso"], ["permissions", "---\n- signin\n"]]
|
8
|
-
[1m[35m (5.3ms)[0m commit transaction
|
9
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
10
|
-
[1m[35mSQL (0.5ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = ? [["permissions", "---\n- signin\n- extra_permission\n"], ["id", 1]]
|
11
|
-
[1m[36m (3.3ms)[0m [1mcommit transaction[0m
|
12
|
-
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "asd"]]
|
13
|
-
[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"]]
|
14
|
-
[1m[35m (0.1ms)[0m begin transaction
|
15
|
-
[1m[36mSQL (0.5ms)[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]]
|
16
|
-
[1m[35m (4.4ms)[0m commit transaction
|
4
|
+
[1m[35m (3.2ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
17
5
|
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "asd"]]
|
18
|
-
[1m[
|
19
|
-
[1m[36m (0.1ms)[0m [
|
20
|
-
|
6
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "user@example.com"]]
|
7
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
8
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions", "organisation_slug", "organisation_content_id", "disabled") VALUES (?, ?, ?, ?, ?, ?, ?) [["uid", "asd"], ["email", "user@example.com"], ["name", "A Name"], ["permissions", "---\n- signin\n"], ["organisation_slug", "hmrc"], ["organisation_content_id", "67a2b78d-eee3-45b3-80e2-792e7f71cecc"], ["disabled", nil]]
|
9
|
+
[1m[36m (6.1ms)[0m [1mcommit transaction[0m
|
10
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "asd"]]
|
11
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
12
|
+
[1m[35m (0.1ms)[0m commit transaction
|
13
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-07-18 13:19:54 +0000
|
21
14
|
Processing by ExampleController#restricted as HTML
|
22
15
|
Authenticating with gds_sso strategy
|
23
|
-
Completed in
|
24
|
-
Started GET "/
|
25
|
-
|
16
|
+
Completed in 8ms (ActiveRecord: 0.0ms)
|
17
|
+
Started GET "/" for 127.0.0.1 at 2019-07-18 13:19:54 +0000
|
18
|
+
Processing by ExampleController#index as HTML
|
19
|
+
Rendered text template (0.0ms)
|
20
|
+
Completed 200 OK in 8ms (Views: 7.6ms | ActiveRecord: 0.0ms)
|
21
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-07-18 13:19:55 +0000
|
22
|
+
Processing by ExampleController#restricted as HTML
|
23
|
+
Authenticating with gds_sso strategy
|
24
|
+
Completed in 0ms (ActiveRecord: 0.0ms)
|
25
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2019-07-18 13:19:55 +0000
|
26
|
+
Started GET "/auth/gds/callback?code=8d7e5bdfd9a69d1b2ca7791874d376db4ba73d99388bd26d4095863911902802&state=b87daedd52b66dd90c1e9fba1f68f4c9e733457ea90cb7af" for 127.0.0.1 at 2019-07-18 13:20:40 +0000
|
26
27
|
Processing by AuthenticationsController#callback as HTML
|
27
|
-
Parameters: {"code"=>"
|
28
|
+
Parameters: {"code"=>"8d7e5bdfd9a69d1b2ca7791874d376db4ba73d99388bd26d4095863911902802", "state"=>"b87daedd52b66dd90c1e9fba1f68f4c9e733457ea90cb7af"}
|
28
29
|
Authenticating with gds_sso strategy
|
29
|
-
[1m[
|
30
|
-
[1m[
|
31
|
-
[1m[35m (0.1ms)[0m begin transaction
|
32
|
-
[1m[36mSQL (0.5ms)[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"]]
|
33
|
-
[1m[35m (5.8ms)[0m commit transaction
|
30
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
31
|
+
[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"]]
|
34
32
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
35
|
-
[1m[35mSQL (0.
|
36
|
-
[1m[36m (
|
33
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "integration-uid"], ["email", "test@example-client.com"], ["name", "Test User"], ["permissions", "---\n- signin\n"]]
|
34
|
+
[1m[36m (30.1ms)[0m [1mcommit transaction[0m
|
35
|
+
[1m[35m (0.1ms)[0m begin transaction
|
36
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "f"], ["id", 2]]
|
37
|
+
[1m[35m (5.9ms)[0m commit transaction
|
37
38
|
Redirected to http://www.example-client.com/restricted
|
38
|
-
Completed 302 Found in
|
39
|
-
Started GET "/restricted" for 127.0.0.1 at
|
39
|
+
Completed 302 Found in 43ms (ActiveRecord: 36.9ms)
|
40
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-07-18 13:20:40 +0000
|
40
41
|
Processing by ExampleController#restricted as HTML
|
41
|
-
[1m[
|
42
|
+
[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"]]
|
42
43
|
Rendered text template (0.0ms)
|
43
|
-
Completed 200 OK in
|
44
|
-
Started GET "/restricted" for 127.0.0.1 at
|
44
|
+
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.2ms)
|
45
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-07-18 13:20:40 +0000
|
45
46
|
Processing by ExampleController#restricted as HTML
|
46
47
|
Authenticating with gds_sso strategy
|
47
|
-
Completed in
|
48
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
49
|
-
Started GET "/auth/gds/callback?code=
|
48
|
+
Completed in 0ms (ActiveRecord: 0.0ms)
|
49
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2019-07-18 13:20:40 +0000
|
50
|
+
Started GET "/auth/gds/callback?code=ab6dcfcbd97d5ef13dd49c8e273ed75e940b4fdc9ab056b748dd0044582581b4&state=b66b3599d42e68ddc5b152dead114350292e0451510c8671" for 127.0.0.1 at 2019-07-18 13:20:40 +0000
|
50
51
|
Processing by AuthenticationsController#callback as HTML
|
51
|
-
Parameters: {"code"=>"
|
52
|
+
Parameters: {"code"=>"ab6dcfcbd97d5ef13dd49c8e273ed75e940b4fdc9ab056b748dd0044582581b4", "state"=>"b66b3599d42e68ddc5b152dead114350292e0451510c8671"}
|
52
53
|
Authenticating with gds_sso strategy
|
53
|
-
[1m[
|
54
|
-
[1m[
|
55
|
-
[1m[
|
56
|
-
[1m[
|
57
|
-
[1m[
|
54
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
55
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
56
|
+
[1m[35m (0.1ms)[0m commit transaction
|
57
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
58
|
+
[1m[35m (0.1ms)[0m commit transaction
|
58
59
|
Redirected to http://www.example-client.com/restricted
|
59
|
-
Completed 302 Found in
|
60
|
-
Started GET "/restricted" for 127.0.0.1 at
|
60
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
|
61
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-07-18 13:20:40 +0000
|
61
62
|
Processing by ExampleController#restricted as HTML
|
62
|
-
[1m[
|
63
|
+
[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"]]
|
63
64
|
Rendered text template (0.0ms)
|
64
|
-
Completed 200 OK in
|
65
|
-
Started GET "/restricted" for 127.0.0.1 at
|
65
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
66
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-07-18 13:20:40 +0000
|
66
67
|
Processing by ExampleController#restricted as HTML
|
67
68
|
Authenticating with gds_sso strategy
|
68
69
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
69
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
70
|
-
Started GET "/auth/gds/callback?code=
|
70
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2019-07-18 13:20:40 +0000
|
71
|
+
Started GET "/auth/gds/callback?code=5ebe1a25850e1b13ffe39d6f4f42d5e9404071ca07c03b8411b039c1f41a437c&state=9e0d0d1a401d8f68b76e12fee88df6e0f3a03abb71b09651" for 127.0.0.1 at 2019-07-18 13:20:40 +0000
|
71
72
|
Processing by AuthenticationsController#callback as HTML
|
72
|
-
Parameters: {"code"=>"
|
73
|
+
Parameters: {"code"=>"5ebe1a25850e1b13ffe39d6f4f42d5e9404071ca07c03b8411b039c1f41a437c", "state"=>"9e0d0d1a401d8f68b76e12fee88df6e0f3a03abb71b09651"}
|
73
74
|
Authenticating with gds_sso strategy
|
74
|
-
[1m[
|
75
|
-
[1m[
|
76
|
-
[1m[
|
77
|
-
[1m[
|
78
|
-
[1m[
|
75
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
76
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
77
|
+
[1m[35m (0.0ms)[0m commit transaction
|
78
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
79
|
+
[1m[35m (0.1ms)[0m commit transaction
|
79
80
|
Redirected to http://www.example-client.com/restricted
|
80
|
-
Completed 302 Found in
|
81
|
-
Started GET "/restricted" for 127.0.0.1 at
|
81
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
|
82
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-07-18 13:20:40 +0000
|
82
83
|
Processing by ExampleController#restricted as HTML
|
83
|
-
[1m[
|
84
|
+
[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"]]
|
84
85
|
Rendered text template (0.0ms)
|
85
|
-
Completed 200 OK in
|
86
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at
|
86
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
87
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2019-07-18 13:20:40 +0000
|
87
88
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
88
89
|
Authenticating with gds_sso strategy
|
89
90
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
90
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
91
|
-
Started GET "/auth/gds/callback?code=
|
91
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2019-07-18 13:20:40 +0000
|
92
|
+
Started GET "/auth/gds/callback?code=0d79451222bd557300d6952c85ee1279b69115c513d8c27a809804062e95c2ce&state=8b3f70c4ee8757a986854cdf06e25ac2f1af95e689d99e69" for 127.0.0.1 at 2019-07-18 13:20:41 +0000
|
92
93
|
Processing by AuthenticationsController#callback as HTML
|
93
|
-
Parameters: {"code"=>"
|
94
|
+
Parameters: {"code"=>"0d79451222bd557300d6952c85ee1279b69115c513d8c27a809804062e95c2ce", "state"=>"8b3f70c4ee8757a986854cdf06e25ac2f1af95e689d99e69"}
|
94
95
|
Authenticating with gds_sso strategy
|
95
|
-
[1m[
|
96
|
-
[1m[
|
97
|
-
[1m[
|
98
|
-
[1m[
|
99
|
-
[1m[
|
96
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
97
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
98
|
+
[1m[35m (0.1ms)[0m commit transaction
|
99
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
100
|
+
[1m[35m (0.1ms)[0m commit transaction
|
100
101
|
Redirected to http://www.example-client.com/this_requires_signin_permission
|
101
|
-
Completed 302 Found in
|
102
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at
|
102
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
|
103
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2019-07-18 13:20:41 +0000
|
103
104
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
104
|
-
[1m[
|
105
|
+
[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"]]
|
105
106
|
Rendered text template (0.0ms)
|
106
|
-
Completed 200 OK in
|
107
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at
|
107
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
108
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2019-07-18 13:20:41 +0000
|
108
109
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
109
110
|
Authenticating with gds_sso strategy
|
110
|
-
Completed in
|
111
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
112
|
-
Started GET "/auth/gds/callback?code=
|
111
|
+
Completed in 0ms (ActiveRecord: 0.0ms)
|
112
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2019-07-18 13:20:41 +0000
|
113
|
+
Started GET "/auth/gds/callback?code=57ae25ed1ee0b62331844920110cd61ec92bd9c9bc826b03c730745e444a1335&state=dc06bae45b15ee9a126f23c3d01c25295a0b1f66bede43cf" for 127.0.0.1 at 2019-07-18 13:20:41 +0000
|
113
114
|
Processing by AuthenticationsController#callback as HTML
|
114
|
-
Parameters: {"code"=>"
|
115
|
+
Parameters: {"code"=>"57ae25ed1ee0b62331844920110cd61ec92bd9c9bc826b03c730745e444a1335", "state"=>"dc06bae45b15ee9a126f23c3d01c25295a0b1f66bede43cf"}
|
115
116
|
Authenticating with gds_sso strategy
|
116
|
-
[1m[
|
117
|
-
[1m[
|
118
|
-
[1m[
|
119
|
-
[1m[
|
120
|
-
[1m[
|
117
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
118
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
119
|
+
[1m[35m (0.0ms)[0m commit transaction
|
120
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
121
|
+
[1m[35m (0.1ms)[0m commit transaction
|
121
122
|
Redirected to http://www.example-client.com/this_requires_signin_permission
|
122
|
-
Completed 302 Found in
|
123
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at
|
123
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.5ms)
|
124
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2019-07-18 13:20:41 +0000
|
124
125
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
125
|
-
[1m[
|
126
|
+
[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"]]
|
126
127
|
Rendered text template (0.0ms)
|
127
|
-
Completed 200 OK in
|
128
|
-
Started GET "/" for 127.0.0.1 at
|
129
|
-
Processing by ExampleController#index as HTML
|
130
|
-
Rendered text template (0.0ms)
|
131
|
-
Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
|
132
|
-
Started GET "/restricted" for 127.0.0.1 at 2018-12-17 11:57:13 +0000
|
128
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
129
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-07-18 13:20:41 +0000
|
133
130
|
Processing by ExampleController#restricted as HTML
|
134
131
|
Authenticating with gds_sso strategy
|
135
132
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
136
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
137
|
-
Started GET "/auth/gds/callback?code=
|
133
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2019-07-18 13:20:41 +0000
|
134
|
+
Started GET "/auth/gds/callback?code=784118b583090d76be49442132dcb408f1e9129c11b3089ca64dc12ed916541d&state=1846de528ec034693a26abe983d29e72c6c0105c5081efde" for 127.0.0.1 at 2019-07-18 13:20:41 +0000
|
138
135
|
Processing by AuthenticationsController#callback as HTML
|
139
|
-
Parameters: {"code"=>"
|
136
|
+
Parameters: {"code"=>"784118b583090d76be49442132dcb408f1e9129c11b3089ca64dc12ed916541d", "state"=>"1846de528ec034693a26abe983d29e72c6c0105c5081efde"}
|
140
137
|
Authenticating with gds_sso strategy
|
141
|
-
[1m[
|
142
|
-
[1m[
|
143
|
-
[1m[
|
144
|
-
[1m[
|
145
|
-
[1m[
|
138
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
139
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
140
|
+
[1m[35m (0.1ms)[0m commit transaction
|
141
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
142
|
+
[1m[35m (0.0ms)[0m commit transaction
|
146
143
|
Redirected to http://www.example-client.com/restricted
|
147
|
-
Completed 302 Found in
|
148
|
-
Started GET "/restricted" for 127.0.0.1 at
|
144
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
|
145
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-07-18 13:20:41 +0000
|
149
146
|
Processing by ExampleController#restricted as HTML
|
150
|
-
[1m[
|
147
|
+
[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"]]
|
151
148
|
Rendered text template (0.0ms)
|
152
|
-
Completed 200 OK in
|
153
|
-
[1m[
|
154
|
-
[1m[
|
155
|
-
[1m[
|
156
|
-
[1m[
|
157
|
-
Started GET "/restricted" for 127.0.0.1 at
|
149
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
150
|
+
[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"]]
|
151
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
152
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", "t"], ["id", 2]]
|
153
|
+
[1m[36m (26.6ms)[0m [1mcommit transaction[0m
|
154
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-07-18 13:20:41 +0000
|
158
155
|
Processing by ExampleController#restricted as HTML
|
159
|
-
[1m[
|
156
|
+
[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"]]
|
160
157
|
Authenticating with gds_sso strategy
|
161
|
-
Completed in
|
162
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
163
|
-
Started GET "/auth/gds/callback?code=
|
158
|
+
Completed in 1ms (ActiveRecord: 0.1ms)
|
159
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2019-07-18 13:20:41 +0000
|
160
|
+
Started GET "/auth/gds/callback?code=a189adc1df385a1a79f4de65e99268e5cebb68292ae3260303d9dadb75cfc267&state=6aa33b5023a58c9089a85e7644b9252d44a1d1908f2bf0d6" for 127.0.0.1 at 2019-07-18 13:20:41 +0000
|
164
161
|
Processing by AuthenticationsController#callback as HTML
|
165
|
-
Parameters: {"code"=>"
|
162
|
+
Parameters: {"code"=>"a189adc1df385a1a79f4de65e99268e5cebb68292ae3260303d9dadb75cfc267", "state"=>"6aa33b5023a58c9089a85e7644b9252d44a1d1908f2bf0d6"}
|
166
163
|
Authenticating with gds_sso strategy
|
167
|
-
[1m[
|
168
|
-
[1m[
|
169
|
-
[1m[
|
170
|
-
[1m[
|
171
|
-
[1m[
|
172
|
-
[1m[
|
164
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
165
|
+
[1m[35m (0.1ms)[0m begin transaction
|
166
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
167
|
+
[1m[35m (0.0ms)[0m begin transaction
|
168
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "f"], ["id", 2]]
|
169
|
+
[1m[35m (85.9ms)[0m commit transaction
|
173
170
|
Redirected to http://www.example-client.com/restricted
|
174
|
-
Completed 302 Found in
|
175
|
-
Started GET "/restricted" for 127.0.0.1 at
|
171
|
+
Completed 302 Found in 91ms (ActiveRecord: 86.4ms)
|
172
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-07-18 13:20:41 +0000
|
176
173
|
Processing by ExampleController#restricted as HTML
|
177
|
-
[1m[
|
174
|
+
[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
175
|
Rendered text template (0.0ms)
|
179
|
-
Completed 200 OK in 2ms (Views: 0.
|
180
|
-
Started GET "/restricted" for 127.0.0.1 at
|
176
|
+
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
177
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-07-18 13:20:41 +0000
|
181
178
|
Processing by ExampleController#restricted as HTML
|
182
179
|
Authenticating with gds_sso strategy
|
183
|
-
Completed in
|
184
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
185
|
-
Started GET "/auth/gds/callback?code=
|
180
|
+
Completed in 0ms (ActiveRecord: 0.0ms)
|
181
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2019-07-18 13:20:41 +0000
|
182
|
+
Started GET "/auth/gds/callback?code=592bfd178a8308a0f8a705fd0f2b90e8b7f6fa1859d298c409edd939c67fc879&state=2b0daf05e92b8f209d308044afe46f9bd341310b25e2c142" for 127.0.0.1 at 2019-07-18 13:20:42 +0000
|
186
183
|
Processing by AuthenticationsController#callback as HTML
|
187
|
-
Parameters: {"code"=>"
|
184
|
+
Parameters: {"code"=>"592bfd178a8308a0f8a705fd0f2b90e8b7f6fa1859d298c409edd939c67fc879", "state"=>"2b0daf05e92b8f209d308044afe46f9bd341310b25e2c142"}
|
188
185
|
Authenticating with gds_sso strategy
|
189
|
-
[1m[
|
190
|
-
[1m[
|
191
|
-
[1m[
|
192
|
-
[1m[
|
193
|
-
[1m[
|
186
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
187
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
188
|
+
[1m[35m (0.0ms)[0m commit transaction
|
189
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
190
|
+
[1m[35m (0.0ms)[0m commit transaction
|
194
191
|
Redirected to http://www.example-client.com/restricted
|
195
|
-
Completed 302 Found in
|
196
|
-
Started GET "/restricted" for 127.0.0.1 at
|
192
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
|
193
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-07-18 13:20:42 +0000
|
197
194
|
Processing by ExampleController#restricted as HTML
|
198
|
-
[1m[
|
195
|
+
[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
196
|
Rendered text template (0.0ms)
|
200
|
-
Completed 200 OK in
|
201
|
-
Started GET "/restricted" for 127.0.0.1 at
|
197
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
198
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-07-19 09:25:42 +0000
|
202
199
|
Processing by ExampleController#restricted as HTML
|
203
200
|
Authenticating with gds_sso strategy
|
204
201
|
Completed in 1ms (ActiveRecord: 0.0ms)
|
205
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
206
|
-
Started GET "/
|
202
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2019-07-19 09:25:42 +0000
|
203
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-07-18 13:20:42 +0000
|
204
|
+
Processing by ExampleController#restricted as HTML
|
205
|
+
Authenticating with gds_sso strategy
|
206
|
+
Completed in 0ms (ActiveRecord: 0.0ms)
|
207
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2019-07-18 13:20:42 +0000
|
208
|
+
Started GET "/auth/gds/callback?code=7111ec79675d5bb4bdb3ceb6f938c6a57123044030c297e2d51686e8a0c808d3&state=216200e7750683bffb550477564c990af5836c0899fd389e" for 127.0.0.1 at 2019-07-18 13:20:42 +0000
|
207
209
|
Processing by AuthenticationsController#callback as HTML
|
208
|
-
Parameters: {"code"=>"
|
210
|
+
Parameters: {"code"=>"7111ec79675d5bb4bdb3ceb6f938c6a57123044030c297e2d51686e8a0c808d3", "state"=>"216200e7750683bffb550477564c990af5836c0899fd389e"}
|
209
211
|
Authenticating with gds_sso strategy
|
210
|
-
[1m[
|
211
|
-
[1m[
|
212
|
-
[1m[
|
213
|
-
[1m[
|
214
|
-
[1m[
|
212
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
213
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
214
|
+
[1m[35m (0.1ms)[0m commit transaction
|
215
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
216
|
+
[1m[35m (0.1ms)[0m commit transaction
|
215
217
|
Redirected to http://www.example-client.com/restricted
|
216
|
-
Completed 302 Found in
|
217
|
-
Started GET "/restricted" for 127.0.0.1 at
|
218
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
|
219
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-07-18 13:20:42 +0000
|
218
220
|
Processing by ExampleController#restricted as HTML
|
219
|
-
[1m[
|
221
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
|
220
222
|
Rendered text template (0.0ms)
|
221
|
-
Completed 200 OK in
|
222
|
-
Started GET "/restricted" for 127.0.0.1 at
|
223
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
224
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-07-19 09:15:42 +0000
|
225
|
+
Processing by ExampleController#restricted as HTML
|
226
|
+
[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"]]
|
227
|
+
Rendered text template (0.1ms)
|
228
|
+
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
229
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-07-18 13:20:42 +0000
|
223
230
|
Processing by ExampleController#restricted as HTML
|
224
231
|
Authenticating with gds_sso strategy
|
225
|
-
Completed in
|
226
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
227
|
-
Started GET "/auth/gds/callback?code=
|
232
|
+
Completed in 0ms (ActiveRecord: 0.0ms)
|
233
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2019-07-18 13:20:42 +0000
|
234
|
+
Started GET "/auth/gds/callback?code=f85feda8636fbaef2971fb12f5e4319c098feae537b7a0a24abefd4e35f2d624&state=3de3d1c0576fd8df13d4437203dc72d3dab7107fc87e1bb9" for 127.0.0.1 at 2019-07-18 13:20:42 +0000
|
228
235
|
Processing by AuthenticationsController#callback as HTML
|
229
|
-
Parameters: {"code"=>"
|
236
|
+
Parameters: {"code"=>"f85feda8636fbaef2971fb12f5e4319c098feae537b7a0a24abefd4e35f2d624", "state"=>"3de3d1c0576fd8df13d4437203dc72d3dab7107fc87e1bb9"}
|
230
237
|
Authenticating with gds_sso strategy
|
231
|
-
[1m[36mUser Load (0.
|
232
|
-
[1m[35m (0.1ms)[0m begin transaction
|
233
|
-
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
238
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
234
239
|
[1m[35m (0.1ms)[0m begin transaction
|
235
|
-
[1m[36m (0.
|
240
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
241
|
+
[1m[35m (0.0ms)[0m begin transaction
|
242
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
236
243
|
Redirected to http://www.example-client.com/restricted
|
237
|
-
Completed 302 Found in
|
238
|
-
Started GET "/restricted" for 127.0.0.1 at
|
244
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
|
245
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-07-18 13:20:42 +0000
|
239
246
|
Processing by ExampleController#restricted as HTML
|
240
|
-
[1m[35mUser Load (0.
|
247
|
+
[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"]]
|
241
248
|
Rendered text template (0.0ms)
|
242
|
-
Completed 200 OK in
|
243
|
-
Started GET "/restricted" for 127.0.0.1 at
|
249
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
250
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-07-19 09:25:42 +0000
|
244
251
|
Processing by ExampleController#restricted as HTML
|
245
252
|
Authenticating with gds_sso strategy
|
246
253
|
Completed in 1ms (ActiveRecord: 0.0ms)
|
247
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
248
|
-
Started GET "/
|
249
|
-
Processing by ExampleController#restricted as HTML
|
250
|
-
Authenticating with gds_sso strategy
|
251
|
-
Completed in 1ms (ActiveRecord: 0.0ms)
|
252
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2018-12-17 11:57:14 +0000
|
253
|
-
Started GET "/auth/gds/callback?code=2ac7bc9cd0295e4afd4e0995fa5a96bfd2650a404841e14b3589efa5c75f36af&state=1cca2b49494fe16d3e61387db9dcc7af41504c4ddf75d69b" for 127.0.0.1 at 2018-12-17 11:57:15 +0000
|
254
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2019-07-19 09:25:42 +0000
|
255
|
+
Started GET "/auth/gds/callback?code=e8d44a09bf41edf3e448713122ec214cf2718a2a0f0011a30753966bcb8daf74&state=35b5dd0527e23f7f94b4434871a1088b5582e022c39bcb4a" for 127.0.0.1 at 2019-07-19 09:25:42 +0000
|
254
256
|
Processing by AuthenticationsController#callback as HTML
|
255
|
-
Parameters: {"code"=>"
|
257
|
+
Parameters: {"code"=>"e8d44a09bf41edf3e448713122ec214cf2718a2a0f0011a30753966bcb8daf74", "state"=>"35b5dd0527e23f7f94b4434871a1088b5582e022c39bcb4a"}
|
256
258
|
Authenticating with gds_sso strategy
|
257
|
-
[1m[36mUser Load (0.
|
258
|
-
[1m[35m (0.
|
259
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
260
|
+
[1m[35m (0.1ms)[0m begin transaction
|
259
261
|
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
260
262
|
[1m[35m (0.1ms)[0m begin transaction
|
261
263
|
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
262
264
|
Redirected to http://www.example-client.com/restricted
|
263
|
-
Completed 302 Found in
|
264
|
-
Started GET "/restricted" for 127.0.0.1 at
|
265
|
+
Completed 302 Found in 5ms (ActiveRecord: 0.5ms)
|
266
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-07-19 09:25:42 +0000
|
265
267
|
Processing by ExampleController#restricted as HTML
|
266
|
-
[1m[35mUser Load (0.
|
268
|
+
[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"]]
|
267
269
|
Rendered text template (0.0ms)
|
268
|
-
Completed 200 OK in
|
269
|
-
Started GET "/restricted" for 127.0.0.1 at
|
270
|
-
Processing by ExampleController#restricted as HTML
|
271
|
-
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
|
272
|
-
Rendered text template (0.1ms)
|
273
|
-
Completed 200 OK in 3ms (Views: 0.5ms | ActiveRecord: 0.3ms)
|
274
|
-
Started GET "/restricted" for 127.0.0.1 at 2018-12-17 11:57:15 +0000
|
270
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
271
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-07-18 13:20:42 +0000
|
275
272
|
Processing by ExampleController#restricted as JSON
|
276
|
-
|
277
|
-
|
278
|
-
|
279
|
-
[1m[
|
280
|
-
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
281
|
-
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
282
|
-
[1m[35m (0.1ms)[0m commit transaction
|
283
|
-
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
273
|
+
Completed in 14ms (ActiveRecord: 0.0ms)
|
274
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-07-18 13:20:42 +0000
|
275
|
+
Processing by ExampleController#restricted as JSON
|
276
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
284
277
|
[1m[35m (0.1ms)[0m begin transaction
|
285
|
-
[1m[
|
278
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "disabled" = ? WHERE "users"."id" = ?[0m [["disabled", nil], ["id", 2]]
|
279
|
+
[1m[35m (5.4ms)[0m commit transaction
|
280
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
281
|
+
[1m[35m (0.1ms)[0m begin transaction
|
282
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
286
283
|
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
287
284
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
288
|
-
[1m[35m (0.
|
289
|
-
[1m[
|
290
|
-
[1m[35m (0.1ms)[0m
|
285
|
+
[1m[35m (0.0ms)[0m commit transaction
|
286
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
287
|
+
[1m[35m (0.1ms)[0m begin transaction
|
288
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
289
|
+
[1m[35m (0.0ms)[0m begin transaction
|
290
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
291
291
|
Rendered text template (0.0ms)
|
292
|
-
Completed 200 OK in
|
293
|
-
Started GET "/
|
294
|
-
Processing by ExampleController#restricted as JSON
|
295
|
-
Completed in 55ms (ActiveRecord: 0.0ms)
|
296
|
-
Started GET "/restricted" for 127.0.0.1 at 2018-12-17 11:57:15 +0000
|
297
|
-
Processing by ExampleController#restricted as JSON
|
298
|
-
Completed in 32ms (ActiveRecord: 0.0ms)
|
299
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2018-12-17 11:57:15 +0000
|
292
|
+
Completed 200 OK in 65ms (Views: 0.3ms | ActiveRecord: 6.4ms)
|
293
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2019-07-18 13:20:42 +0000
|
300
294
|
Processing by ExampleController#this_requires_signin_permission as JSON
|
301
|
-
[1m[
|
302
|
-
[1m[
|
303
|
-
[1m[
|
304
|
-
[1m[35mCACHE (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
305
|
-
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
306
|
-
[1m[35m (0.1ms)[0m commit transaction
|
295
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
296
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
297
|
+
[1m[35m (0.0ms)[0m commit transaction
|
307
298
|
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
308
|
-
[1m[35m (0.
|
309
|
-
[1m[36m (0.
|
299
|
+
[1m[35m (0.0ms)[0m begin transaction
|
300
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
310
301
|
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
311
302
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
312
|
-
[1m[35m (0.
|
313
|
-
[1m[
|
314
|
-
[1m[35m (0.1ms)[0m
|
303
|
+
[1m[35m (0.0ms)[0m commit transaction
|
304
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
305
|
+
[1m[35m (0.1ms)[0m begin transaction
|
306
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
307
|
+
[1m[35m (0.0ms)[0m begin transaction
|
308
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
315
309
|
Rendered text template (0.0ms)
|
316
|
-
Completed 200 OK in
|
317
|
-
Started GET "/restricted" for 127.0.0.1 at
|
318
|
-
Processing by ExampleController#restricted as
|
319
|
-
|
320
|
-
|
310
|
+
Completed 200 OK in 56ms (Views: 0.3ms | ActiveRecord: 0.7ms)
|
311
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-07-18 13:20:42 +0000
|
312
|
+
Processing by ExampleController#restricted as JSON
|
313
|
+
Completed in 20ms (ActiveRecord: 0.0ms)
|
314
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "dummyapiuser@domain.com"]]
|
321
315
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
322
|
-
[1m[35mSQL (0.
|
323
|
-
[1m[36m (
|
316
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("email", "uid", "name", "permissions") VALUES (?, ?, ?, ?) [["email", "dummyapiuser@domain.com"], ["uid", "8602"], ["name", "Dummy API user created by gds-sso"], ["permissions", "---\n- signin\n"]]
|
317
|
+
[1m[36m (13.6ms)[0m [1mcommit transaction[0m
|
324
318
|
[1m[35m (0.1ms)[0m begin transaction
|
325
|
-
[1m[36mSQL (0.
|
326
|
-
[1m[35m (
|
319
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = ?[0m [["permissions", "---\n- signin\n- extra_permission\n"], ["id", 3]]
|
320
|
+
[1m[35m (4.7ms)[0m commit transaction
|
321
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
322
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d34463"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
|
323
|
+
[1m[36m (6.0ms)[0m [1mcommit transaction[0m
|
324
|
+
[1m[35m (0.0ms)[0m begin transaction
|
325
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["uid", "a1s2d38090"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
326
|
+
[1m[35m (5.0ms)[0m commit transaction
|
327
327
|
Processing by Api::UserController#update as HTML
|
328
|
-
Parameters: {"uid"=>"
|
328
|
+
Parameters: {"uid"=>"a1s2d34463"}
|
329
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "a1s2d34463"]]
|
330
|
+
[1m[35m (0.0ms)[0m begin transaction
|
331
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "email" = ?, "name" = ?, "permissions" = ?, "organisation_slug" = ?, "organisation_content_id" = ? WHERE "users"."id" = ?[0m [["email", "user@domain.com"], ["name", "Joshua Marshall"], ["permissions", "---\n- signin\n- new permission\n"], ["organisation_slug", "justice-league"], ["organisation_content_id", "aae1319e-5788-4677-998c-f1a53af528d0"], ["id", 4]]
|
332
|
+
[1m[35m (4.4ms)[0m commit transaction
|
333
|
+
Completed 200 OK in 8ms (ActiveRecord: 4.8ms)
|
334
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 4]]
|
335
|
+
[1m[35m (0.0ms)[0m begin transaction
|
336
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["uid", "a1s2d39485"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
|
337
|
+
[1m[35m (4.8ms)[0m commit transaction
|
338
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
339
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d36642"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
340
|
+
[1m[36m (5.6ms)[0m [1mcommit transaction[0m
|
341
|
+
Processing by Api::UserController#update as HTML
|
342
|
+
Parameters: {"uid"=>"a1s2d39485"}
|
329
343
|
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
330
|
-
Rendered /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.
|
344
|
+
Rendered /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.2ms)
|
331
345
|
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
332
|
-
Completed 403 Forbidden in
|
333
|
-
[1m[
|
334
|
-
[1m[
|
335
|
-
[1m[
|
336
|
-
[1m[
|
337
|
-
[1m[
|
338
|
-
[1m[
|
339
|
-
Processing by Api::UserController#update as HTML
|
340
|
-
Parameters: {"uid"=>"a1s2d38337"}
|
341
|
-
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "a1s2d38337"]]
|
342
|
-
[1m[35m (2.0ms)[0m begin transaction
|
343
|
-
[1m[36mSQL (0.5ms)[0m [1mUPDATE "users" SET "email" = ?, "name" = ?, "permissions" = ?, "organisation_slug" = ?, "organisation_content_id" = ? WHERE "users"."id" = ?[0m [["email", "user@domain.com"], ["name", "Joshua Marshall"], ["permissions", "---\n- signin\n- new permission\n"], ["organisation_slug", "justice-league"], ["organisation_content_id", "aae1319e-5788-4677-998c-f1a53af528d0"], ["id", 6]]
|
344
|
-
[1m[35m (6.0ms)[0m commit transaction
|
345
|
-
Completed 200 OK in 15ms (ActiveRecord: 8.8ms)
|
346
|
-
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 6]]
|
347
|
-
[1m[35m (0.1ms)[0m begin transaction
|
348
|
-
[1m[36mSQL (0.7ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["uid", "a1s2d3425"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
|
349
|
-
[1m[35m (5.0ms)[0m commit transaction
|
350
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
351
|
-
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d39508"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
352
|
-
[1m[36m (3.5ms)[0m [1mcommit transaction[0m
|
346
|
+
Completed 403 Forbidden in 8ms (Views: 7.5ms | ActiveRecord: 0.0ms)
|
347
|
+
[1m[35m (0.0ms)[0m begin transaction
|
348
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["uid", "a1s2d3420"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
|
349
|
+
[1m[35m (4.2ms)[0m commit transaction
|
350
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
351
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d39997"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
352
|
+
[1m[36m (4.8ms)[0m [1mcommit transaction[0m
|
353
353
|
Processing by Api::UserController#reauth as HTML
|
354
|
-
Parameters: {"uid"=>"
|
354
|
+
Parameters: {"uid"=>"a1s2d3420"}
|
355
355
|
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
356
|
-
Rendered /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.
|
356
|
+
Rendered /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.3ms)
|
357
357
|
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
358
|
-
Completed 403 Forbidden in
|
359
|
-
[1m[35m (0.
|
360
|
-
[1m[36mSQL (0.
|
361
|
-
[1m[35m (
|
362
|
-
[1m[36m (0.
|
363
|
-
[1m[35mSQL (0.
|
364
|
-
[1m[36m (
|
365
|
-
Processing by Api::UserController#reauth as HTML
|
366
|
-
Parameters: {"uid"=>"a1s2d35448"}
|
367
|
-
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "a1s2d35448"]]
|
368
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
369
|
-
[1m[35mSQL (0.3ms)[0m UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", "t"], ["id", 10]]
|
370
|
-
[1m[36m (4.5ms)[0m [1mcommit transaction[0m
|
371
|
-
Completed 200 OK in 9ms (ActiveRecord: 5.1ms)
|
372
|
-
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 10]]
|
373
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
374
|
-
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d39462"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
|
375
|
-
[1m[36m (4.5ms)[0m [1mcommit transaction[0m
|
376
|
-
[1m[35m (0.1ms)[0m begin transaction
|
377
|
-
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["uid", "a1s2d3712"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
378
|
-
[1m[35m (4.1ms)[0m commit transaction
|
358
|
+
Completed 403 Forbidden in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)
|
359
|
+
[1m[35m (0.0ms)[0m begin transaction
|
360
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["uid", "a1s2d35084"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
|
361
|
+
[1m[35m (3.4ms)[0m commit transaction
|
362
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
363
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d39027"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
364
|
+
[1m[36m (3.3ms)[0m [1mcommit transaction[0m
|
379
365
|
Processing by Api::UserController#reauth as HTML
|
380
366
|
Parameters: {"uid"=>"nonexistent-user"}
|
381
|
-
[1m[
|
382
|
-
Completed 200 OK in 1ms (ActiveRecord: 0.
|
383
|
-
[1m[
|
384
|
-
[1m[
|
385
|
-
[1m[
|
386
|
-
[1m[35m (
|
387
|
-
[1m[
|
367
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "nonexistent-user"]]
|
368
|
+
Completed 200 OK in 1ms (ActiveRecord: 0.1ms)
|
369
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
370
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d33305"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
|
371
|
+
[1m[36m (6.0ms)[0m [1mcommit transaction[0m
|
372
|
+
[1m[35m (0.0ms)[0m begin transaction
|
373
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["uid", "a1s2d39773"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
374
|
+
[1m[35m (6.5ms)[0m commit transaction
|
375
|
+
Processing by Api::UserController#reauth as HTML
|
376
|
+
Parameters: {"uid"=>"a1s2d33305"}
|
377
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "a1s2d33305"]]
|
378
|
+
[1m[35m (0.0ms)[0m begin transaction
|
379
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "t"], ["id", 12]]
|
380
|
+
[1m[35m (4.3ms)[0m commit transaction
|
381
|
+
Completed 200 OK in 7ms (ActiveRecord: 4.7ms)
|
382
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 12]]
|
383
|
+
[1m[35m (0.1ms)[0m [1m[35mDROP TABLE IF EXISTS "users"[0m
|
384
|
+
[1m[35m (1.5ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
385
|
+
[1m[35m (49.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
|
386
|
+
[1m[35m (27.3ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
387
|
+
[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]]
|
388
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
389
|
+
[1m[36mActiveRecord::InternalMetadata Create (0.2ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "environment"], ["value", "test"], ["created_at", "2019-07-18 13:20:52.152457"], ["updated_at", "2019-07-18 13:20:52.152457"]]
|
390
|
+
[1m[35m (26.7ms)[0m [1m[36mcommit transaction[0m
|
391
|
+
[1m[35m (28.9ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
|
392
|
+
[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]]
|
388
393
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
389
|
-
[1m[
|
390
|
-
[1m[
|
391
|
-
[1m[
|
392
|
-
[1m[36mActiveRecord::InternalMetadata Load (0.4ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
394
|
+
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
395
|
+
[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]]
|
396
|
+
[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]]
|
393
397
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
398
|
+
[1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions", "organisation_slug", "organisation_content_id", "disabled") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["name", "A Name"], ["uid", "asd"], ["email", "user@example.com"], ["permissions", "---\n- signin\n"], ["organisation_slug", "hmrc"], ["organisation_content_id", "67a2b78d-eee3-45b3-80e2-792e7f71cecc"], ["disabled", nil]]
|
399
|
+
[1m[35m (8.5ms)[0m [1m[36mcommit transaction[0m
|
400
|
+
[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]]
|
401
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
394
402
|
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
395
|
-
|
396
|
-
|
397
|
-
|
398
|
-
|
399
|
-
|
400
|
-
|
403
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
404
|
+
[1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d36257"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
405
|
+
[1m[35m (4.8ms)[0m [1m[36mcommit transaction[0m
|
406
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
407
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d35645"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
408
|
+
[1m[35m (5.9ms)[0m [1m[36mcommit transaction[0m
|
409
|
+
Processing by Api::UserController#reauth as HTML
|
410
|
+
Parameters: {"uid"=>"a1s2d36257"}
|
411
|
+
Rendering /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
|
412
|
+
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
413
|
+
Rendered /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.2ms)
|
414
|
+
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
415
|
+
Completed 403 Forbidden in 9ms (Views: 8.5ms | ActiveRecord: 0.0ms)
|
416
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
417
|
+
[1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d3640"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
418
|
+
[1m[35m (5.8ms)[0m [1m[36mcommit transaction[0m
|
419
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
420
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d34330"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
421
|
+
[1m[35m (5.8ms)[0m [1m[36mcommit transaction[0m
|
422
|
+
Processing by Api::UserController#reauth as HTML
|
423
|
+
Parameters: {"uid"=>"a1s2d3640"}
|
424
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "a1s2d3640"], ["LIMIT", 1]]
|
425
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
426
|
+
[1m[36mUser Update (0.2ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "t"], ["id", 4]]
|
427
|
+
[1m[35m (6.2ms)[0m [1m[36mcommit transaction[0m
|
428
|
+
Completed 200 OK in 9ms (ActiveRecord: 6.6ms)
|
429
|
+
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 4], ["LIMIT", 1]]
|
430
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
431
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d38729"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
432
|
+
[1m[35m (17.6ms)[0m [1m[36mcommit transaction[0m
|
433
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
434
|
+
[1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d36711"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
435
|
+
[1m[35m (3.7ms)[0m [1m[36mcommit transaction[0m
|
436
|
+
Processing by Api::UserController#reauth as HTML
|
437
|
+
Parameters: {"uid"=>"nonexistent-user"}
|
438
|
+
[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]]
|
439
|
+
Completed 200 OK in 1ms (ActiveRecord: 0.1ms)
|
440
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
441
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d37027"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
442
|
+
[1m[35m (6.7ms)[0m [1m[36mcommit transaction[0m
|
443
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
444
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d35089"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
445
|
+
[1m[35m (4.8ms)[0m [1m[36mcommit transaction[0m
|
446
|
+
Processing by Api::UserController#update as HTML
|
447
|
+
Parameters: {"uid"=>"a1s2d37027"}
|
448
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "a1s2d37027"], ["LIMIT", 1]]
|
449
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
450
|
+
[1m[36mUser Update (0.2ms)[0m [1m[33mUPDATE "users" SET "email" = ?, "name" = ?, "permissions" = ?, "organisation_slug" = ?, "organisation_content_id" = ? WHERE "users"."id" = ?[0m [["email", "user@domain.com"], ["name", "Joshua Marshall"], ["permissions", "---\n- signin\n- new permission\n"], ["organisation_slug", "justice-league"], ["organisation_content_id", "aae1319e-5788-4677-998c-f1a53af528d0"], ["id", 8]]
|
451
|
+
[1m[35m (4.7ms)[0m [1m[36mcommit transaction[0m
|
452
|
+
Completed 200 OK in 8ms (ActiveRecord: 5.1ms)
|
453
|
+
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 8], ["LIMIT", 1]]
|
454
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
455
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d38493"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
456
|
+
[1m[35m (5.4ms)[0m [1m[36mcommit transaction[0m
|
457
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
458
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d32185"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
459
|
+
[1m[35m (10.4ms)[0m [1m[36mcommit transaction[0m
|
460
|
+
Processing by Api::UserController#update as HTML
|
461
|
+
Parameters: {"uid"=>"a1s2d38493"}
|
462
|
+
Rendering /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
|
463
|
+
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
464
|
+
Rendered /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.2ms)
|
465
|
+
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
466
|
+
Completed 403 Forbidden in 1ms (Views: 0.9ms | ActiveRecord: 0.0ms)
|
467
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-07-18 13:20:52 +0000
|
468
|
+
Processing by ExampleController#restricted as HTML
|
469
|
+
Authenticating with gds_sso strategy
|
470
|
+
Completed in 5ms (ActiveRecord: 0.0ms)
|
471
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2019-07-18 13:20:53 +0000
|
401
472
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
402
473
|
Authenticating with gds_sso strategy
|
403
|
-
Completed in
|
404
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
405
|
-
Started GET "/auth/gds/callback?code=
|
474
|
+
Completed in 0ms (ActiveRecord: 0.0ms)
|
475
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2019-07-18 13:20:53 +0000
|
476
|
+
Started GET "/auth/gds/callback?code=4d99a0f025395eeb7c62b53599529f2c19b1ff934bc3854207c3dd7ba5d9af8e&state=414f80cb8313cbe357b402e348704cc9804963994402ad00" for 127.0.0.1 at 2019-07-18 13:20:53 +0000
|
406
477
|
Processing by AuthenticationsController#callback as HTML
|
407
|
-
Parameters: {"code"=>"
|
478
|
+
Parameters: {"code"=>"4d99a0f025395eeb7c62b53599529f2c19b1ff934bc3854207c3dd7ba5d9af8e", "state"=>"414f80cb8313cbe357b402e348704cc9804963994402ad00"}
|
408
479
|
Authenticating with gds_sso strategy
|
409
|
-
[1m[36mUser Load (0.
|
410
|
-
[1m[36mUser Load (0.
|
411
|
-
[1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
|
412
|
-
[1m[36mUser Create (0.8ms)[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"]]
|
413
|
-
[1m[35m (7.1ms)[0m [1m[36mcommit transaction[0m
|
480
|
+
[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]]
|
481
|
+
[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]]
|
414
482
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
415
|
-
[1m[36mUser
|
416
|
-
[1m[35m (
|
483
|
+
[1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Test User"], ["uid", "integration-uid"], ["email", "test@example-client.com"], ["permissions", "---\n- signin\n"]]
|
484
|
+
[1m[35m (9.0ms)[0m [1m[36mcommit transaction[0m
|
485
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
486
|
+
[1m[36mUser Update (0.2ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "f"], ["id", 12]]
|
487
|
+
[1m[35m (13.5ms)[0m [1m[36mcommit transaction[0m
|
417
488
|
Redirected to http://www.example-client.com/this_requires_signin_permission
|
418
|
-
Completed 302 Found in
|
419
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at
|
489
|
+
Completed 302 Found in 28ms (ActiveRecord: 23.4ms)
|
490
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2019-07-18 13:20:53 +0000
|
420
491
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
421
|
-
[1m[36mUser Load (0.
|
492
|
+
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
422
493
|
Rendering text template
|
423
494
|
Rendered text template (0.0ms)
|
424
|
-
Completed 200 OK in
|
425
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at
|
495
|
+
Completed 200 OK in 2ms (Views: 0.9ms | ActiveRecord: 0.2ms)
|
496
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2019-07-18 13:20:53 +0000
|
426
497
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
427
498
|
Authenticating with gds_sso strategy
|
428
|
-
Completed in
|
429
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
430
|
-
Started GET "/auth/gds/callback?code=
|
499
|
+
Completed in 0ms (ActiveRecord: 0.0ms)
|
500
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2019-07-18 13:20:53 +0000
|
501
|
+
Started GET "/auth/gds/callback?code=10277d28085e87477266a3fa396866f1bde0193be130a09b01346b742c42799f&state=6416e65181e599096e87d30e8496161aec3a2ba5e8f5aa9a" for 127.0.0.1 at 2019-07-18 13:20:53 +0000
|
431
502
|
Processing by AuthenticationsController#callback as HTML
|
432
|
-
Parameters: {"code"=>"
|
503
|
+
Parameters: {"code"=>"10277d28085e87477266a3fa396866f1bde0193be130a09b01346b742c42799f", "state"=>"6416e65181e599096e87d30e8496161aec3a2ba5e8f5aa9a"}
|
433
504
|
Authenticating with gds_sso strategy
|
434
|
-
[1m[36mUser Load (0.
|
435
|
-
[1m[35m (10.3ms)[0m [1m[36mbegin transaction[0m
|
436
|
-
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
505
|
+
[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]]
|
437
506
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
438
507
|
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
508
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
509
|
+
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
439
510
|
Redirected to http://www.example-client.com/this_requires_signin_permission
|
440
|
-
Completed 302 Found in
|
441
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at
|
511
|
+
Completed 302 Found in 11ms (ActiveRecord: 0.4ms)
|
512
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2019-07-18 13:20:53 +0000
|
442
513
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
443
|
-
[1m[36mUser Load (
|
514
|
+
[1m[36mUser Load (1.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
444
515
|
Rendering text template
|
445
516
|
Rendered text template (0.0ms)
|
446
|
-
Completed 200 OK in 3ms (Views: 0.
|
447
|
-
Started GET "/
|
517
|
+
Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 1.2ms)
|
518
|
+
Started GET "/" for 127.0.0.1 at 2019-07-18 13:20:53 +0000
|
519
|
+
Processing by ExampleController#index as HTML
|
520
|
+
Rendering text template
|
521
|
+
Rendered text template (0.0ms)
|
522
|
+
Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
523
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-07-18 13:20:53 +0000
|
448
524
|
Processing by ExampleController#restricted as HTML
|
449
525
|
Authenticating with gds_sso strategy
|
450
526
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
451
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
452
|
-
Started GET "/auth/gds/callback?code=
|
527
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2019-07-18 13:20:53 +0000
|
528
|
+
Started GET "/auth/gds/callback?code=8e727176b05c769d3ea2442ebd48d28733362aa2ffda67582cb058e19127e7f8&state=e32332b872012573cacb3137b7ed831a2327d41233e347be" for 127.0.0.1 at 2019-07-18 13:20:53 +0000
|
453
529
|
Processing by AuthenticationsController#callback as HTML
|
454
|
-
Parameters: {"code"=>"
|
530
|
+
Parameters: {"code"=>"8e727176b05c769d3ea2442ebd48d28733362aa2ffda67582cb058e19127e7f8", "state"=>"e32332b872012573cacb3137b7ed831a2327d41233e347be"}
|
455
531
|
Authenticating with gds_sso strategy
|
456
|
-
[1m[36mUser Load (0.
|
532
|
+
[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]]
|
457
533
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
458
|
-
[1m[35m (0.
|
534
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
459
535
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
460
|
-
[1m[35m (0.
|
536
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
461
537
|
Redirected to http://www.example-client.com/restricted
|
462
|
-
Completed 302 Found in
|
463
|
-
Started GET "/restricted" for 127.0.0.1 at
|
538
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
|
539
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-07-18 13:20:53 +0000
|
464
540
|
Processing by ExampleController#restricted as HTML
|
465
|
-
[1m[36mUser Load (0.
|
541
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
466
542
|
Rendering text template
|
467
543
|
Rendered text template (0.0ms)
|
468
|
-
Completed 200 OK in
|
469
|
-
Started GET "/restricted" for 127.0.0.1 at
|
544
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
545
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-07-18 13:20:53 +0000
|
470
546
|
Processing by ExampleController#restricted as HTML
|
471
547
|
Authenticating with gds_sso strategy
|
472
548
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
473
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
474
|
-
Started GET "/auth/gds/callback?code=
|
549
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2019-07-18 13:20:53 +0000
|
550
|
+
Started GET "/auth/gds/callback?code=04f62a225a67e39c611275b4161fec63c8516f0b093d7d597a9069760fb71b78&state=a864cb7069d1818eaf19f6af75e68bc3b4085ec64b08e035" for 127.0.0.1 at 2019-07-18 13:20:53 +0000
|
475
551
|
Processing by AuthenticationsController#callback as HTML
|
476
|
-
Parameters: {"code"=>"
|
552
|
+
Parameters: {"code"=>"04f62a225a67e39c611275b4161fec63c8516f0b093d7d597a9069760fb71b78", "state"=>"a864cb7069d1818eaf19f6af75e68bc3b4085ec64b08e035"}
|
477
553
|
Authenticating with gds_sso strategy
|
478
|
-
[1m[36mUser Load (0.
|
554
|
+
[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]]
|
479
555
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
480
|
-
[1m[35m (0.
|
481
|
-
[1m[35m (0.
|
482
|
-
[1m[35m (0.
|
556
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
557
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
558
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
483
559
|
Redirected to http://www.example-client.com/restricted
|
484
|
-
Completed 302 Found in
|
485
|
-
Started GET "/restricted" for 127.0.0.1 at
|
560
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
|
561
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-07-18 13:20:53 +0000
|
486
562
|
Processing by ExampleController#restricted as HTML
|
487
|
-
[1m[36mUser Load (0.
|
563
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
488
564
|
Rendering text template
|
489
565
|
Rendered text template (0.0ms)
|
490
|
-
Completed 200 OK in
|
491
|
-
Started GET "/restricted" for 127.0.0.1 at
|
566
|
+
Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.1ms)
|
567
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-07-18 13:20:53 +0000
|
492
568
|
Processing by ExampleController#restricted as HTML
|
493
569
|
Authenticating with gds_sso strategy
|
494
570
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
495
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
496
|
-
Started GET "/auth/gds/callback?code=
|
571
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2019-07-18 13:20:53 +0000
|
572
|
+
Started GET "/auth/gds/callback?code=6d6fe48eeabc52238549d4fd542281a995719a985bff7e1060d759e2636a0d8f&state=21b3d7eb9d9b1520db878258b0e340fcf2f3bfcb445713bd" for 127.0.0.1 at 2019-07-18 13:20:53 +0000
|
497
573
|
Processing by AuthenticationsController#callback as HTML
|
498
|
-
Parameters: {"code"=>"
|
574
|
+
Parameters: {"code"=>"6d6fe48eeabc52238549d4fd542281a995719a985bff7e1060d759e2636a0d8f", "state"=>"21b3d7eb9d9b1520db878258b0e340fcf2f3bfcb445713bd"}
|
499
575
|
Authenticating with gds_sso strategy
|
500
|
-
[1m[36mUser Load (0.
|
576
|
+
[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]]
|
501
577
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
502
578
|
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
503
|
-
[1m[35m (0.
|
579
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
504
580
|
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
505
581
|
Redirected to http://www.example-client.com/restricted
|
506
|
-
Completed 302 Found in
|
507
|
-
Started GET "/restricted" for 127.0.0.1 at
|
582
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
|
583
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-07-18 13:20:53 +0000
|
508
584
|
Processing by ExampleController#restricted as HTML
|
509
|
-
[1m[36mUser Load (0.
|
585
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
510
586
|
Rendering text template
|
511
587
|
Rendered text template (0.0ms)
|
512
|
-
Completed 200 OK in
|
513
|
-
Started GET "/restricted" for 127.0.0.1 at
|
588
|
+
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
589
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-07-18 13:20:53 +0000
|
514
590
|
Processing by ExampleController#restricted as HTML
|
515
591
|
Authenticating with gds_sso strategy
|
516
|
-
Completed in
|
517
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
518
|
-
Started GET "/auth/gds/callback?code=
|
592
|
+
Completed in 0ms (ActiveRecord: 0.0ms)
|
593
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2019-07-18 13:20:53 +0000
|
594
|
+
Started GET "/auth/gds/callback?code=961e788c3fd77c67f60e1cd0334e3a17f3fc5bcb4aee1518eef1035313fee88b&state=b85eae7348ef182b5666eceb37ce0dfce2e55bcadab44e91" for 127.0.0.1 at 2019-07-18 13:20:54 +0000
|
519
595
|
Processing by AuthenticationsController#callback as HTML
|
520
|
-
Parameters: {"code"=>"
|
596
|
+
Parameters: {"code"=>"961e788c3fd77c67f60e1cd0334e3a17f3fc5bcb4aee1518eef1035313fee88b", "state"=>"b85eae7348ef182b5666eceb37ce0dfce2e55bcadab44e91"}
|
521
597
|
Authenticating with gds_sso strategy
|
522
|
-
[1m[36mUser Load (0.
|
598
|
+
[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]]
|
523
599
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
524
600
|
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
525
|
-
[1m[35m (0.
|
601
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
526
602
|
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
527
603
|
Redirected to http://www.example-client.com/restricted
|
528
|
-
Completed 302 Found in
|
529
|
-
Started GET "/restricted" for 127.0.0.1 at
|
604
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
|
605
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-07-18 13:20:54 +0000
|
530
606
|
Processing by ExampleController#restricted as HTML
|
531
|
-
[1m[36mUser Load (0.
|
607
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
532
608
|
Rendering text template
|
533
609
|
Rendered text template (0.0ms)
|
534
|
-
Completed 200 OK in
|
535
|
-
Started GET "/restricted" for 127.0.0.1 at
|
610
|
+
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
611
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-07-19 09:25:54 +0000
|
536
612
|
Processing by ExampleController#restricted as HTML
|
537
|
-
|
538
|
-
|
539
|
-
|
540
|
-
|
541
|
-
Started GET "/restricted" for 127.0.0.1 at 2018-12-17 11:57:32 +0000
|
613
|
+
Authenticating with gds_sso strategy
|
614
|
+
Completed in 1ms (ActiveRecord: 0.0ms)
|
615
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2019-07-19 09:25:54 +0000
|
616
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-07-18 13:20:54 +0000
|
542
617
|
Processing by ExampleController#restricted as HTML
|
543
618
|
Authenticating with gds_sso strategy
|
544
619
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
545
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
546
|
-
Started GET "/auth/gds/callback?code=
|
620
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2019-07-18 13:20:54 +0000
|
621
|
+
Started GET "/auth/gds/callback?code=f8cba4ccfab8ed122219b1ead2f141a0aec9934d7f3f7e8e5fc388d682798ef8&state=abe6cf832f1e39b4307067fd1548a80d42f2782f4d0bb4ea" for 127.0.0.1 at 2019-07-18 13:20:54 +0000
|
547
622
|
Processing by AuthenticationsController#callback as HTML
|
548
|
-
Parameters: {"code"=>"
|
623
|
+
Parameters: {"code"=>"f8cba4ccfab8ed122219b1ead2f141a0aec9934d7f3f7e8e5fc388d682798ef8", "state"=>"abe6cf832f1e39b4307067fd1548a80d42f2782f4d0bb4ea"}
|
549
624
|
Authenticating with gds_sso strategy
|
550
|
-
[1m[36mUser Load (0.
|
625
|
+
[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]]
|
551
626
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
552
|
-
[1m[35m (0.
|
553
|
-
[1m[35m (0.
|
554
|
-
[1m[35m (0.
|
627
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
628
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
629
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
555
630
|
Redirected to http://www.example-client.com/restricted
|
556
|
-
Completed 302 Found in
|
557
|
-
Started GET "/restricted" for 127.0.0.1 at
|
631
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
|
632
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-07-18 13:20:54 +0000
|
558
633
|
Processing by ExampleController#restricted as HTML
|
559
|
-
[1m[36mUser Load (0.
|
634
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
560
635
|
Rendering text template
|
561
636
|
Rendered text template (0.0ms)
|
562
|
-
Completed 200 OK in
|
563
|
-
Started GET "/restricted" for 127.0.0.1 at
|
637
|
+
Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.1ms)
|
638
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-07-19 09:25:54 +0000
|
564
639
|
Processing by ExampleController#restricted as HTML
|
565
640
|
Authenticating with gds_sso strategy
|
566
641
|
Completed in 1ms (ActiveRecord: 0.0ms)
|
567
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
568
|
-
Started GET "/
|
569
|
-
Processing by ExampleController#restricted as HTML
|
570
|
-
Authenticating with gds_sso strategy
|
571
|
-
Completed in 1ms (ActiveRecord: 0.0ms)
|
572
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2018-12-17 11:57:32 +0000
|
573
|
-
Started GET "/auth/gds/callback?code=ff822bf8974d28af9167ffd74ed5e170aa013a14c04a47c0d55f81b07b193532&state=9ca9e8c8ef956880412883aa57fab84202424f090b655fd9" for 127.0.0.1 at 2018-12-17 11:57:32 +0000
|
642
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2019-07-19 09:25:54 +0000
|
643
|
+
Started GET "/auth/gds/callback?code=0d58e769f806c8c5401d3b5d6e31ea9a290ef989c2439b99e9624c300c93a385&state=f611e196c22dfe8f4bf3751ab6ff6565a51ac35742596fb5" for 127.0.0.1 at 2019-07-19 09:25:54 +0000
|
574
644
|
Processing by AuthenticationsController#callback as HTML
|
575
|
-
Parameters: {"code"=>"
|
645
|
+
Parameters: {"code"=>"0d58e769f806c8c5401d3b5d6e31ea9a290ef989c2439b99e9624c300c93a385", "state"=>"f611e196c22dfe8f4bf3751ab6ff6565a51ac35742596fb5"}
|
576
646
|
Authenticating with gds_sso strategy
|
577
|
-
[1m[36mUser Load (0.
|
647
|
+
[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]]
|
578
648
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
579
|
-
[1m[35m (0.
|
649
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
580
650
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
581
|
-
[1m[35m (0.
|
651
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
582
652
|
Redirected to http://www.example-client.com/restricted
|
583
|
-
Completed 302 Found in
|
584
|
-
Started GET "/restricted" for 127.0.0.1 at
|
653
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
|
654
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-07-19 09:25:54 +0000
|
585
655
|
Processing by ExampleController#restricted as HTML
|
586
|
-
[1m[36mUser Load (0.
|
656
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
587
657
|
Rendering text template
|
588
658
|
Rendered text template (0.0ms)
|
589
|
-
Completed 200 OK in
|
590
|
-
Started GET "/restricted" for 127.0.0.1 at
|
659
|
+
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
660
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-07-18 13:20:54 +0000
|
591
661
|
Processing by ExampleController#restricted as HTML
|
592
662
|
Authenticating with gds_sso strategy
|
593
|
-
Completed in
|
594
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
595
|
-
Started GET "/auth/gds/callback?code=
|
663
|
+
Completed in 0ms (ActiveRecord: 0.0ms)
|
664
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2019-07-18 13:20:54 +0000
|
665
|
+
Started GET "/auth/gds/callback?code=033889fd326c3f492e23791e3df0e59dfde9a3945ff01c882a271d7da8169b14&state=592865d4bb7d3cad9d12f44a426e52c8917aab6c6f1e825d" for 127.0.0.1 at 2019-07-18 13:20:54 +0000
|
596
666
|
Processing by AuthenticationsController#callback as HTML
|
597
|
-
Parameters: {"code"=>"
|
667
|
+
Parameters: {"code"=>"033889fd326c3f492e23791e3df0e59dfde9a3945ff01c882a271d7da8169b14", "state"=>"592865d4bb7d3cad9d12f44a426e52c8917aab6c6f1e825d"}
|
598
668
|
Authenticating with gds_sso strategy
|
599
|
-
[1m[36mUser Load (0.
|
669
|
+
[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]]
|
600
670
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
601
|
-
[1m[35m (0.
|
671
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
602
672
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
603
|
-
[1m[35m (0.
|
673
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
604
674
|
Redirected to http://www.example-client.com/restricted
|
605
|
-
Completed 302 Found in
|
606
|
-
Started GET "/restricted" for 127.0.0.1 at
|
675
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
|
676
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-07-18 13:20:54 +0000
|
677
|
+
Processing by ExampleController#restricted as HTML
|
678
|
+
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
679
|
+
Rendering text template
|
680
|
+
Rendered text template (0.0ms)
|
681
|
+
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.2ms)
|
682
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-07-19 09:15:54 +0000
|
607
683
|
Processing by ExampleController#restricted as HTML
|
608
|
-
[1m[36mUser Load (0.
|
684
|
+
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
609
685
|
Rendering text template
|
610
686
|
Rendered text template (0.0ms)
|
611
|
-
Completed 200 OK in
|
612
|
-
Started GET "/restricted" for 127.0.0.1 at
|
687
|
+
Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.2ms)
|
688
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-07-18 13:20:54 +0000
|
613
689
|
Processing by ExampleController#restricted as HTML
|
614
690
|
Authenticating with gds_sso strategy
|
615
|
-
Completed in
|
616
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
617
|
-
Started GET "/auth/gds/callback?code=
|
691
|
+
Completed in 0ms (ActiveRecord: 0.0ms)
|
692
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2019-07-18 13:20:54 +0000
|
693
|
+
Started GET "/auth/gds/callback?code=177c7471d786a86de94fa61842c0c5f09fa3bd8dc9f60e98c9afe931f93f70a3&state=4e5f22b896e5a47d8eba680cae5cfd4636998bfabb0f2d05" for 127.0.0.1 at 2019-07-18 13:20:54 +0000
|
618
694
|
Processing by AuthenticationsController#callback as HTML
|
619
|
-
Parameters: {"code"=>"
|
695
|
+
Parameters: {"code"=>"177c7471d786a86de94fa61842c0c5f09fa3bd8dc9f60e98c9afe931f93f70a3", "state"=>"4e5f22b896e5a47d8eba680cae5cfd4636998bfabb0f2d05"}
|
620
696
|
Authenticating with gds_sso strategy
|
621
|
-
[1m[36mUser Load (0.
|
622
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
623
|
-
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
697
|
+
[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]]
|
624
698
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
699
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
700
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
625
701
|
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
626
702
|
Redirected to http://www.example-client.com/restricted
|
627
|
-
Completed 302 Found in
|
628
|
-
Started GET "/restricted" for 127.0.0.1 at
|
703
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
|
704
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-07-18 13:20:54 +0000
|
629
705
|
Processing by ExampleController#restricted as HTML
|
630
|
-
[1m[36mUser Load (0.
|
706
|
+
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
631
707
|
Rendering text template
|
632
708
|
Rendered text template (0.0ms)
|
633
|
-
Completed 200 OK in
|
634
|
-
[1m[36mUser Load (0.
|
635
|
-
[1m[35m (0.
|
636
|
-
[1m[36mUser Update (0.
|
637
|
-
[1m[35m (
|
638
|
-
Started GET "/restricted" for 127.0.0.1 at
|
709
|
+
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.2ms)
|
710
|
+
[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]]
|
711
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
712
|
+
[1m[36mUser Update (0.2ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "t"], ["id", 12]]
|
713
|
+
[1m[35m (11.5ms)[0m [1m[36mcommit transaction[0m
|
714
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-07-18 13:20:54 +0000
|
639
715
|
Processing by ExampleController#restricted as HTML
|
640
|
-
[1m[36mUser Load (0.
|
716
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
641
717
|
Authenticating with gds_sso strategy
|
642
|
-
Completed in
|
643
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
644
|
-
Started GET "/auth/gds/callback?code=
|
718
|
+
Completed in 1ms (ActiveRecord: 0.1ms)
|
719
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2019-07-18 13:20:54 +0000
|
720
|
+
Started GET "/auth/gds/callback?code=9739c22dcd6a521d7c674ab4dc44e2d53ecec6969df37f6045c691d69c550654&state=8d931df02077d88fc2dc9cf6769cbaef4f2f4baa4b33018c" for 127.0.0.1 at 2019-07-18 13:20:55 +0000
|
645
721
|
Processing by AuthenticationsController#callback as HTML
|
646
|
-
Parameters: {"code"=>"
|
722
|
+
Parameters: {"code"=>"9739c22dcd6a521d7c674ab4dc44e2d53ecec6969df37f6045c691d69c550654", "state"=>"8d931df02077d88fc2dc9cf6769cbaef4f2f4baa4b33018c"}
|
647
723
|
Authenticating with gds_sso strategy
|
648
|
-
[1m[36mUser Load (0.
|
649
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
650
|
-
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
724
|
+
[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]]
|
651
725
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
652
|
-
[1m[
|
653
|
-
[1m[35m (
|
726
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
727
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
728
|
+
[1m[36mUser Update (0.2ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "f"], ["id", 12]]
|
729
|
+
[1m[35m (8.5ms)[0m [1m[36mcommit transaction[0m
|
654
730
|
Redirected to http://www.example-client.com/restricted
|
655
|
-
Completed 302 Found in
|
656
|
-
Started GET "/restricted" for 127.0.0.1 at
|
731
|
+
Completed 302 Found in 13ms (ActiveRecord: 9.0ms)
|
732
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-07-18 13:20:55 +0000
|
657
733
|
Processing by ExampleController#restricted as HTML
|
658
|
-
[1m[36mUser Load (0.
|
734
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
659
735
|
Rendering text template
|
660
|
-
Rendered text template (0.
|
661
|
-
Completed 200 OK in
|
662
|
-
Started GET "/restricted" for 127.0.0.1 at
|
663
|
-
Processing by ExampleController#restricted as HTML
|
664
|
-
Authenticating with gds_sso strategy
|
665
|
-
Completed in 1ms (ActiveRecord: 0.0ms)
|
666
|
-
Started GET "/restricted" for 127.0.0.1 at 2018-12-17 11:57:33 +0000
|
736
|
+
Rendered text template (0.0ms)
|
737
|
+
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
738
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-07-18 13:20:55 +0000
|
667
739
|
Processing by ExampleController#restricted as JSON
|
668
|
-
Completed in
|
669
|
-
Started GET "/restricted" for 127.0.0.1 at
|
740
|
+
Completed in 31ms (ActiveRecord: 0.0ms)
|
741
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-07-18 13:20:55 +0000
|
670
742
|
Processing by ExampleController#restricted as JSON
|
671
|
-
|
672
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2018-12-17 11:57:33 +0000
|
673
|
-
Processing by ExampleController#this_requires_signin_permission as JSON
|
674
|
-
[1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
743
|
+
[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]]
|
675
744
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
676
|
-
[1m[36mUser Update (0.
|
677
|
-
[1m[35m (
|
678
|
-
[1m[36mUser Load (0.
|
679
|
-
[1m[35m (0.
|
680
|
-
[1m[35m (0.
|
681
|
-
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
682
|
-
[1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
|
683
|
-
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
745
|
+
[1m[36mUser Update (0.2ms)[0m [1m[33mUPDATE "users" SET "disabled" = ? WHERE "users"."id" = ?[0m [["disabled", nil], ["id", 12]]
|
746
|
+
[1m[35m (8.3ms)[0m [1m[36mcommit transaction[0m
|
747
|
+
[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]]
|
748
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
749
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
684
750
|
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
685
751
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
686
|
-
[1m[35m (0.
|
752
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
753
|
+
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
687
754
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
688
|
-
[1m[35m (0.
|
755
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
756
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
757
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
689
758
|
Rendering text template
|
690
759
|
Rendered text template (0.0ms)
|
691
|
-
Completed 200 OK in
|
692
|
-
Started GET "/restricted" for 127.0.0.1 at
|
760
|
+
Completed 200 OK in 104ms (Views: 0.4ms | ActiveRecord: 9.5ms)
|
761
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-07-18 13:20:55 +0000
|
693
762
|
Processing by ExampleController#restricted as JSON
|
694
|
-
|
763
|
+
Completed in 14ms (ActiveRecord: 0.0ms)
|
764
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2019-07-18 13:20:55 +0000
|
765
|
+
Processing by ExampleController#this_requires_signin_permission as JSON
|
766
|
+
[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]]
|
695
767
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
696
|
-
[1m[35m (0.
|
768
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
697
769
|
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
698
|
-
[1m[35m (0.
|
699
|
-
[1m[35m (0.
|
770
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
771
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
700
772
|
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
701
|
-
[1m[35m (0.
|
702
|
-
[1m[35m (0.
|
773
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
774
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
703
775
|
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
704
|
-
[1m[35m (0.
|
705
|
-
[1m[35m (0.
|
706
|
-
[1m[35m (0.
|
776
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
777
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
778
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
707
779
|
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
708
780
|
Rendering text template
|
709
781
|
Rendered text template (0.0ms)
|
710
|
-
Completed 200 OK in
|
711
|
-
[1m[36mUser Load (0.
|
712
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
713
|
-
[1m[36mUser Create (1.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Dummy API user created by gds-sso"], ["uid", "1989"], ["email", "dummyapiuser@domain.com"], ["permissions", "---\n- signin\n"]]
|
714
|
-
[1m[35m (8.2ms)[0m [1m[36mcommit transaction[0m
|
715
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
716
|
-
[1m[36mUser Update (0.5ms)[0m [1m[33mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = ?[0m [["permissions", "---\n- signin\n- extra_permission\n"], ["id", 2]]
|
717
|
-
[1m[35m (4.2ms)[0m [1m[36mcommit transaction[0m
|
718
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
719
|
-
[1m[36mUser Create (0.6ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d31564"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
720
|
-
[1m[35m (5.9ms)[0m [1m[36mcommit transaction[0m
|
721
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
722
|
-
[1m[36mUser Create (0.5ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d3795"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
723
|
-
[1m[35m (4.9ms)[0m [1m[36mcommit transaction[0m
|
724
|
-
Processing by Api::UserController#update as HTML
|
725
|
-
Parameters: {"uid"=>"a1s2d31564"}
|
726
|
-
Rendering /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
|
727
|
-
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
728
|
-
Rendered /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.5ms)
|
729
|
-
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
730
|
-
Completed 403 Forbidden in 16ms (Views: 15.3ms | ActiveRecord: 0.0ms)
|
731
|
-
[1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
|
732
|
-
[1m[36mUser Create (0.5ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d31050"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
733
|
-
[1m[35m (4.3ms)[0m [1m[36mcommit transaction[0m
|
734
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
735
|
-
[1m[36mUser Create (0.5ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d31340"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
736
|
-
[1m[35m (3.2ms)[0m [1m[36mcommit transaction[0m
|
737
|
-
Processing by Api::UserController#update as HTML
|
738
|
-
Parameters: {"uid"=>"a1s2d31050"}
|
739
|
-
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "a1s2d31050"], ["LIMIT", 1]]
|
740
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
741
|
-
[1m[36mUser Update (0.4ms)[0m [1m[33mUPDATE "users" SET "email" = ?, "name" = ?, "permissions" = ?, "organisation_slug" = ?, "organisation_content_id" = ? WHERE "users"."id" = ?[0m [["email", "user@domain.com"], ["name", "Joshua Marshall"], ["permissions", "---\n- signin\n- new permission\n"], ["organisation_slug", "justice-league"], ["organisation_content_id", "aae1319e-5788-4677-998c-f1a53af528d0"], ["id", 5]]
|
742
|
-
[1m[35m (3.5ms)[0m [1m[36mcommit transaction[0m
|
743
|
-
Completed 200 OK in 10ms (ActiveRecord: 4.4ms)
|
744
|
-
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 5], ["LIMIT", 1]]
|
745
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
746
|
-
[1m[36mUser Create (0.5ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d37413"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
747
|
-
[1m[35m (3.5ms)[0m [1m[36mcommit transaction[0m
|
748
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
749
|
-
[1m[36mUser Create (0.5ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d39033"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
750
|
-
[1m[35m (4.0ms)[0m [1m[36mcommit transaction[0m
|
751
|
-
Processing by Api::UserController#reauth as HTML
|
752
|
-
Parameters: {"uid"=>"nonexistent-user"}
|
753
|
-
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "nonexistent-user"], ["LIMIT", 1]]
|
754
|
-
Completed 200 OK in 2ms (ActiveRecord: 0.2ms)
|
755
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
756
|
-
[1m[36mUser Create (0.5ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d31963"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
757
|
-
[1m[35m (3.5ms)[0m [1m[36mcommit transaction[0m
|
758
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
759
|
-
[1m[36mUser Create (0.5ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d39621"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
760
|
-
[1m[35m (4.0ms)[0m [1m[36mcommit transaction[0m
|
761
|
-
Processing by Api::UserController#reauth as HTML
|
762
|
-
Parameters: {"uid"=>"a1s2d31963"}
|
763
|
-
Rendering /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
|
764
|
-
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
765
|
-
Rendered /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.4ms)
|
766
|
-
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
767
|
-
Completed 403 Forbidden in 3ms (Views: 1.7ms | ActiveRecord: 0.0ms)
|
768
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
769
|
-
[1m[36mUser Create (1.3ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d31667"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
770
|
-
[1m[35m (4.7ms)[0m [1m[36mcommit transaction[0m
|
771
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
772
|
-
[1m[36mUser Create (0.5ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d38552"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
773
|
-
[1m[35m (5.6ms)[0m [1m[36mcommit transaction[0m
|
774
|
-
Processing by Api::UserController#reauth as HTML
|
775
|
-
Parameters: {"uid"=>"a1s2d31667"}
|
776
|
-
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "a1s2d31667"], ["LIMIT", 1]]
|
777
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
778
|
-
[1m[36mUser Update (0.4ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "t"], ["id", 11]]
|
779
|
-
[1m[35m (3.2ms)[0m [1m[36mcommit transaction[0m
|
780
|
-
Completed 200 OK in 8ms (ActiveRecord: 4.0ms)
|
781
|
-
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 11], ["LIMIT", 1]]
|
782
|
-
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "asd"], ["LIMIT", 1]]
|
783
|
-
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["email", "user@example.com"], ["LIMIT", 1]]
|
782
|
+
Completed 200 OK in 65ms (Views: 0.4ms | ActiveRecord: 0.7ms)
|
783
|
+
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["email", "dummyapiuser@domain.com"], ["LIMIT", 1]]
|
784
784
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
785
|
-
[1m[36mUser Create (0.
|
786
|
-
[1m[35m (
|
787
|
-
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "asd"], ["LIMIT", 1]]
|
785
|
+
[1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Dummy API user created by gds-sso"], ["uid", "6750"], ["email", "dummyapiuser@domain.com"], ["permissions", "---\n- signin\n"]]
|
786
|
+
[1m[35m (22.1ms)[0m [1m[36mcommit transaction[0m
|
788
787
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
789
|
-
[1m[
|
790
|
-
[1m[
|
791
|
-
[1m[
|
788
|
+
[1m[36mUser Update (0.3ms)[0m [1m[33mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = ?[0m [["permissions", "---\n- signin\n- extra_permission\n"], ["id", 13]]
|
789
|
+
[1m[35m (11.7ms)[0m [1m[36mcommit transaction[0m
|
790
|
+
[1m[36m (16.6ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar NOT NULL, "uid" varchar NOT NULL, "email" varchar NOT NULL, "remotely_signed_out" boolean, "permissions" text, "organisation_slug" varchar, "organisation_content_id" varchar, "disabled" boolean DEFAULT 'f') [0m
|
791
|
+
[1m[35m (17.7ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
792
792
|
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
793
|
-
[1m[35m (
|
794
|
-
|
795
|
-
|
796
|
-
|
797
|
-
|
798
|
-
|
799
|
-
|
800
|
-
|
801
|
-
|
802
|
-
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
803
|
-
Rendered /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.5ms)
|
804
|
-
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
805
|
-
Completed 403 Forbidden in 19ms (Views: 18.4ms | ActiveRecord: 0.0ms)
|
793
|
+
[1m[35m (8.3ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
794
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-07-18 13:21:01 +0000
|
795
|
+
Processing by ExampleController#restricted as HTML
|
796
|
+
Authenticating with gds_sso strategy
|
797
|
+
Completed in 8ms (ActiveRecord: 0.0ms)
|
798
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-07-18 13:21:01 +0000
|
799
|
+
Processing by ExampleController#restricted as JSON
|
800
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
801
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "test@example-client.com"]]
|
806
802
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
807
|
-
[1m[35mSQL (0.
|
808
|
-
[1m[36m (
|
809
|
-
[1m[
|
810
|
-
[1m[
|
811
|
-
[1m[35m (
|
812
|
-
|
813
|
-
Parameters: {"uid"=>"a1s2d3838"}
|
814
|
-
[1m[36mUser Load (0.4ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "a1s2d3838"]]
|
815
|
-
[1m[35m (0.1ms)[0m begin transaction
|
816
|
-
[1m[36mSQL (0.5ms)[0m [1mUPDATE "users" SET "email" = ?, "name" = ?, "permissions" = ?, "organisation_slug" = ?, "organisation_content_id" = ? WHERE "users"."id" = ?[0m [["email", "user@domain.com"], ["name", "Joshua Marshall"], ["permissions", "---\n- signin\n- new permission\n"], ["organisation_slug", "justice-league"], ["organisation_content_id", "aae1319e-5788-4677-998c-f1a53af528d0"], ["id", 3]]
|
817
|
-
[1m[35m (4.5ms)[0m commit transaction
|
818
|
-
Completed 200 OK in 23ms (ActiveRecord: 5.5ms)
|
819
|
-
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 3]]
|
803
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions", "disabled") VALUES (?, ?, ?, ?, ?) [["uid", "integration-uid"], ["email", "test@example-client.com"], ["name", "Test User"], ["permissions", "---\n- signin\n"], ["disabled", nil]]
|
804
|
+
[1m[36m (8.7ms)[0m [1mcommit transaction[0m
|
805
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
806
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
807
|
+
[1m[35m (0.1ms)[0m commit transaction
|
808
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
820
809
|
[1m[35m (0.1ms)[0m begin transaction
|
821
|
-
[1m[
|
822
|
-
[1m[
|
810
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
811
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
823
812
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
824
|
-
[1m[
|
825
|
-
[1m[36m (
|
826
|
-
|
827
|
-
|
828
|
-
|
829
|
-
Completed 200 OK in 2ms
|
813
|
+
[1m[35m (0.1ms)[0m commit transaction
|
814
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
815
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", "f"], ["id", 1]]
|
816
|
+
[1m[36m (7.4ms)[0m [1mcommit transaction[0m
|
817
|
+
Rendered text template (0.0ms)
|
818
|
+
Completed 200 OK in 117ms (Views: 9.2ms | ActiveRecord: 19.5ms)
|
819
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-07-18 13:21:02 +0000
|
820
|
+
Processing by ExampleController#restricted as JSON
|
821
|
+
Completed in 18ms (ActiveRecord: 0.0ms)
|
822
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-07-18 13:21:02 +0000
|
823
|
+
Processing by ExampleController#restricted as JSON
|
824
|
+
Completed in 23ms (ActiveRecord: 0.0ms)
|
825
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2019-07-18 13:21:02 +0000
|
826
|
+
Processing by ExampleController#this_requires_signin_permission as JSON
|
827
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
830
828
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
831
|
-
[1m[
|
832
|
-
[1m[
|
833
|
-
[1m[35m (0.1ms)[0m begin transaction
|
834
|
-
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["uid", "a1s2d32804"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
835
|
-
[1m[35m (3.5ms)[0m commit transaction
|
836
|
-
Processing by Api::UserController#reauth as HTML
|
837
|
-
Parameters: {"uid"=>"a1s2d33467"}
|
838
|
-
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "a1s2d33467"]]
|
829
|
+
[1m[35m (0.0ms)[0m commit transaction
|
830
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
839
831
|
[1m[35m (0.1ms)[0m begin transaction
|
840
|
-
[1m[
|
841
|
-
[1m[
|
842
|
-
|
843
|
-
[1m[
|
832
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
833
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
834
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
835
|
+
[1m[35m (0.0ms)[0m commit transaction
|
836
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
844
837
|
[1m[35m (0.1ms)[0m begin transaction
|
845
|
-
[1m[
|
846
|
-
[1m[35m (
|
847
|
-
[1m[36m (0.
|
848
|
-
|
849
|
-
|
850
|
-
|
851
|
-
Parameters: {"uid"=>"a1s2d33865"}
|
852
|
-
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
853
|
-
Rendered /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.5ms)
|
854
|
-
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
855
|
-
Completed 403 Forbidden in 2ms (Views: 1.7ms | ActiveRecord: 0.0ms)
|
856
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2018-12-17 11:57:50 +0000
|
838
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
839
|
+
[1m[35m (0.0ms)[0m begin transaction
|
840
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
841
|
+
Rendered text template (0.0ms)
|
842
|
+
Completed 200 OK in 61ms (Views: 0.3ms | ActiveRecord: 0.8ms)
|
843
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2019-07-18 13:21:02 +0000
|
857
844
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
858
845
|
Authenticating with gds_sso strategy
|
859
|
-
Completed in
|
860
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
861
|
-
Started GET "/auth/gds/callback?code=
|
846
|
+
Completed in 0ms (ActiveRecord: 0.0ms)
|
847
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2019-07-18 13:21:02 +0000
|
848
|
+
Started GET "/auth/gds/callback?code=1daaa6e4ddb8e1ba1e3a4850f9adf705ba0ece145fd701d64212a91116513d1b&state=6d99f207fdba5c429ecac0411f28357a529cfaf8438e5f38" for 127.0.0.1 at 2019-07-18 13:21:02 +0000
|
862
849
|
Processing by AuthenticationsController#callback as HTML
|
863
|
-
Parameters: {"code"=>"
|
850
|
+
Parameters: {"code"=>"1daaa6e4ddb8e1ba1e3a4850f9adf705ba0ece145fd701d64212a91116513d1b", "state"=>"6d99f207fdba5c429ecac0411f28357a529cfaf8438e5f38"}
|
864
851
|
Authenticating with gds_sso strategy
|
865
|
-
[1m[35mUser Load (0.
|
866
|
-
[1m[36mUser Load (0.4ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["email", "test@example-client.com"]]
|
867
|
-
[1m[35m (0.1ms)[0m begin transaction
|
868
|
-
[1m[36mSQL (0.4ms)[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"]]
|
869
|
-
[1m[35m (4.4ms)[0m commit transaction
|
852
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
870
853
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
871
|
-
[1m[35mSQL (0.
|
872
|
-
[1m[36m (
|
854
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "disabled" = ? WHERE "users"."id" = ? [["disabled", "f"], ["id", 1]]
|
855
|
+
[1m[36m (230.3ms)[0m [1mcommit transaction[0m
|
856
|
+
[1m[35m (0.1ms)[0m begin transaction
|
857
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
873
858
|
Redirected to http://www.example-client.com/this_requires_signin_permission
|
874
|
-
Completed 302 Found in
|
875
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at
|
859
|
+
Completed 302 Found in 239ms (ActiveRecord: 230.9ms)
|
860
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2019-07-18 13:21:02 +0000
|
876
861
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
877
|
-
[1m[35mUser Load (0.
|
862
|
+
[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"]]
|
878
863
|
Rendered text template (0.0ms)
|
879
|
-
Completed 200 OK in
|
880
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at
|
864
|
+
Completed 200 OK in 4ms (Views: 1.1ms | ActiveRecord: 0.2ms)
|
865
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2019-07-18 13:21:02 +0000
|
881
866
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
882
867
|
Authenticating with gds_sso strategy
|
883
868
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
884
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
885
|
-
Started GET "/auth/gds/callback?code=
|
869
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2019-07-18 13:21:02 +0000
|
870
|
+
Started GET "/auth/gds/callback?code=f3dc4ed45f29632531def7e6e461779aa7b5342082a6bea66742afe965891368&state=befad7a29a90b5052d3c7eadb14484e06befb9c9a2b67b78" for 127.0.0.1 at 2019-07-18 13:21:02 +0000
|
886
871
|
Processing by AuthenticationsController#callback as HTML
|
887
|
-
Parameters: {"code"=>"
|
872
|
+
Parameters: {"code"=>"f3dc4ed45f29632531def7e6e461779aa7b5342082a6bea66742afe965891368", "state"=>"befad7a29a90b5052d3c7eadb14484e06befb9c9a2b67b78"}
|
888
873
|
Authenticating with gds_sso strategy
|
889
|
-
[1m[36mUser Load (0.
|
890
|
-
[1m[35m (0.2ms)[0m begin transaction
|
891
|
-
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
874
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
892
875
|
[1m[35m (0.1ms)[0m begin transaction
|
893
|
-
[1m[36m (0.
|
876
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
877
|
+
[1m[35m (0.0ms)[0m begin transaction
|
878
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
894
879
|
Redirected to http://www.example-client.com/this_requires_signin_permission
|
895
|
-
Completed 302 Found in
|
896
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at
|
880
|
+
Completed 302 Found in 12ms (ActiveRecord: 0.3ms)
|
881
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2019-07-18 13:21:02 +0000
|
897
882
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
898
|
-
[1m[35mUser Load (0.
|
883
|
+
[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"]]
|
884
|
+
Rendered text template (0.0ms)
|
885
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
886
|
+
Started GET "/" for 127.0.0.1 at 2019-07-18 13:21:02 +0000
|
887
|
+
Processing by ExampleController#index as HTML
|
899
888
|
Rendered text template (0.0ms)
|
900
|
-
Completed 200 OK in
|
901
|
-
Started GET "/restricted" for 127.0.0.1 at
|
889
|
+
Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
890
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-07-18 13:21:02 +0000
|
902
891
|
Processing by ExampleController#restricted as HTML
|
903
892
|
Authenticating with gds_sso strategy
|
904
|
-
Completed in
|
905
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
906
|
-
Started GET "/auth/gds/callback?code=
|
893
|
+
Completed in 0ms (ActiveRecord: 0.0ms)
|
894
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2019-07-18 13:21:02 +0000
|
895
|
+
Started GET "/auth/gds/callback?code=0b7d079852d1063eda103321e446a2299bb2def8012143144dba23fef1483fb6&state=22d5557abacab9156fae901544db5c501520d43178ca5244" for 127.0.0.1 at 2019-07-18 13:21:03 +0000
|
907
896
|
Processing by AuthenticationsController#callback as HTML
|
908
|
-
Parameters: {"code"=>"
|
897
|
+
Parameters: {"code"=>"0b7d079852d1063eda103321e446a2299bb2def8012143144dba23fef1483fb6", "state"=>"22d5557abacab9156fae901544db5c501520d43178ca5244"}
|
909
898
|
Authenticating with gds_sso strategy
|
910
|
-
[1m[36mUser Load (0.
|
911
|
-
[1m[35m (0.1ms)[0m begin transaction
|
912
|
-
[1m[36m (0.2ms)[0m [1mcommit transaction[0m
|
899
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
913
900
|
[1m[35m (0.1ms)[0m begin transaction
|
901
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
902
|
+
[1m[35m (0.0ms)[0m begin transaction
|
914
903
|
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
915
904
|
Redirected to http://www.example-client.com/restricted
|
916
|
-
Completed 302 Found in
|
917
|
-
Started GET "/restricted" for 127.0.0.1 at
|
905
|
+
Completed 302 Found in 5ms (ActiveRecord: 0.4ms)
|
906
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-07-18 13:21:03 +0000
|
918
907
|
Processing by ExampleController#restricted as HTML
|
919
|
-
[1m[35mUser Load (0.
|
908
|
+
[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"]]
|
920
909
|
Rendered text template (0.0ms)
|
921
|
-
Completed 200 OK in
|
922
|
-
Started GET "/restricted" for 127.0.0.1 at
|
910
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.2ms)
|
911
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-07-18 13:21:03 +0000
|
923
912
|
Processing by ExampleController#restricted as HTML
|
924
913
|
Authenticating with gds_sso strategy
|
925
914
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
926
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
927
|
-
Started GET "/auth/gds/callback?code=
|
915
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2019-07-18 13:21:03 +0000
|
916
|
+
Started GET "/auth/gds/callback?code=778fa4ffa39bc19f98fc8fa44bea55ce1f46bdccd288d0af7a9608ace8861453&state=606c5c48e2b4b512443fa69e2f3541dd8b8f4ca5f5c5ee27" for 127.0.0.1 at 2019-07-18 13:21:03 +0000
|
928
917
|
Processing by AuthenticationsController#callback as HTML
|
929
|
-
Parameters: {"code"=>"
|
918
|
+
Parameters: {"code"=>"778fa4ffa39bc19f98fc8fa44bea55ce1f46bdccd288d0af7a9608ace8861453", "state"=>"606c5c48e2b4b512443fa69e2f3541dd8b8f4ca5f5c5ee27"}
|
930
919
|
Authenticating with gds_sso strategy
|
931
|
-
[1m[36mUser Load (0.
|
920
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
932
921
|
[1m[35m (0.1ms)[0m begin transaction
|
933
922
|
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
934
923
|
[1m[35m (0.1ms)[0m begin transaction
|
935
924
|
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
936
925
|
Redirected to http://www.example-client.com/restricted
|
937
|
-
Completed 302 Found in
|
938
|
-
Started GET "/restricted" for 127.0.0.1 at
|
926
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
|
927
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-07-18 13:21:03 +0000
|
939
928
|
Processing by ExampleController#restricted as HTML
|
940
|
-
[1m[35mUser Load (0.
|
929
|
+
[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"]]
|
941
930
|
Rendered text template (0.0ms)
|
942
|
-
Completed 200 OK in
|
943
|
-
Started GET "/restricted" for 127.0.0.1 at
|
931
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
932
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-07-18 13:21:03 +0000
|
944
933
|
Processing by ExampleController#restricted as HTML
|
945
934
|
Authenticating with gds_sso strategy
|
946
935
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
947
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
948
|
-
Started GET "/auth/gds/callback?code=
|
936
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2019-07-18 13:21:03 +0000
|
937
|
+
Started GET "/auth/gds/callback?code=35f23863dd1a412d95cb71da1451af1e528b9527c8216c893b4e6c2be7532239&state=aa036e24b08ed799ca53f0627410ac37d037ee8f9122096c" for 127.0.0.1 at 2019-07-18 13:21:03 +0000
|
949
938
|
Processing by AuthenticationsController#callback as HTML
|
950
|
-
Parameters: {"code"=>"
|
939
|
+
Parameters: {"code"=>"35f23863dd1a412d95cb71da1451af1e528b9527c8216c893b4e6c2be7532239", "state"=>"aa036e24b08ed799ca53f0627410ac37d037ee8f9122096c"}
|
951
940
|
Authenticating with gds_sso strategy
|
952
|
-
[1m[36mUser Load (0.
|
941
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
953
942
|
[1m[35m (0.1ms)[0m begin transaction
|
954
943
|
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
955
944
|
[1m[35m (0.1ms)[0m begin transaction
|
956
945
|
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
957
946
|
Redirected to http://www.example-client.com/restricted
|
958
|
-
Completed 302 Found in
|
959
|
-
Started GET "/restricted" for 127.0.0.1 at
|
947
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
|
948
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-07-18 13:21:03 +0000
|
960
949
|
Processing by ExampleController#restricted as HTML
|
961
|
-
[1m[35mUser Load (0.
|
962
|
-
Rendered text template (0.0ms)
|
963
|
-
Completed 200 OK in 3ms (Views: 0.4ms | ActiveRecord: 0.3ms)
|
964
|
-
Started GET "/" for 127.0.0.1 at 2018-12-17 11:57:52 +0000
|
965
|
-
Processing by ExampleController#index as HTML
|
950
|
+
[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"]]
|
966
951
|
Rendered text template (0.0ms)
|
967
|
-
Completed 200 OK in 1ms (Views: 0.
|
968
|
-
Started GET "/restricted" for 127.0.0.1 at
|
952
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
953
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-07-18 13:21:03 +0000
|
969
954
|
Processing by ExampleController#restricted as HTML
|
970
955
|
Authenticating with gds_sso strategy
|
971
|
-
Completed in
|
972
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
973
|
-
Started GET "/auth/gds/callback?code=
|
956
|
+
Completed in 0ms (ActiveRecord: 0.0ms)
|
957
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2019-07-18 13:21:03 +0000
|
958
|
+
Started GET "/auth/gds/callback?code=7f9c2f521fdf21d3cbf7ed90b0f9bf724ac72ebfeb61c75ddb04b7916cf44764&state=e66ff4e95bf1b7cbf7543cd58a1e2105278afe1c2fc2f4b3" for 127.0.0.1 at 2019-07-18 13:21:03 +0000
|
974
959
|
Processing by AuthenticationsController#callback as HTML
|
975
|
-
Parameters: {"code"=>"
|
960
|
+
Parameters: {"code"=>"7f9c2f521fdf21d3cbf7ed90b0f9bf724ac72ebfeb61c75ddb04b7916cf44764", "state"=>"e66ff4e95bf1b7cbf7543cd58a1e2105278afe1c2fc2f4b3"}
|
976
961
|
Authenticating with gds_sso strategy
|
977
|
-
[1m[36mUser Load (0.
|
962
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
978
963
|
[1m[35m (0.1ms)[0m begin transaction
|
979
964
|
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
980
965
|
[1m[35m (0.1ms)[0m begin transaction
|
981
966
|
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
982
967
|
Redirected to http://www.example-client.com/restricted
|
983
|
-
Completed 302 Found in
|
984
|
-
Started GET "/restricted" for 127.0.0.1 at
|
968
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
|
969
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-07-18 13:21:03 +0000
|
985
970
|
Processing by ExampleController#restricted as HTML
|
986
|
-
[1m[35mUser Load (0.
|
971
|
+
[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"]]
|
987
972
|
Rendered text template (0.0ms)
|
988
|
-
Completed 200 OK in
|
989
|
-
[1m[36mUser Load (0.
|
990
|
-
[1m[35m (0.
|
991
|
-
[1m[36mSQL (0.
|
992
|
-
[1m[35m (
|
993
|
-
Started GET "/restricted" for 127.0.0.1 at
|
994
|
-
Processing by ExampleController#restricted as HTML
|
995
|
-
[1m[36mUser Load (0.
|
996
|
-
Authenticating with gds_sso strategy
|
997
|
-
Completed in
|
998
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
999
|
-
Started GET "/auth/gds/callback?code=
|
973
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
974
|
+
[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"]]
|
975
|
+
[1m[35m (0.0ms)[0m begin transaction
|
976
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "t"], ["id", 1]]
|
977
|
+
[1m[35m (7.2ms)[0m commit transaction
|
978
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-07-18 13:21:03 +0000
|
979
|
+
Processing by ExampleController#restricted as HTML
|
980
|
+
[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"]]
|
981
|
+
Authenticating with gds_sso strategy
|
982
|
+
Completed in 1ms (ActiveRecord: 0.1ms)
|
983
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2019-07-18 13:21:03 +0000
|
984
|
+
Started GET "/auth/gds/callback?code=44670b319d1ebb0cd8cd0ae781761411fce7ef026401886e8dd7fc44dcc2259a&state=20ccd7838bf03ce30b723e41e9198ac1acb5069f35d7c52b" for 127.0.0.1 at 2019-07-18 13:21:03 +0000
|
1000
985
|
Processing by AuthenticationsController#callback as HTML
|
1001
|
-
Parameters: {"code"=>"
|
986
|
+
Parameters: {"code"=>"44670b319d1ebb0cd8cd0ae781761411fce7ef026401886e8dd7fc44dcc2259a", "state"=>"20ccd7838bf03ce30b723e41e9198ac1acb5069f35d7c52b"}
|
1002
987
|
Authenticating with gds_sso strategy
|
1003
|
-
[1m[35mUser Load (0.
|
988
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
1004
989
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1005
990
|
[1m[35m (0.1ms)[0m commit transaction
|
1006
|
-
[1m[36m (0.
|
1007
|
-
[1m[35mSQL (0.
|
1008
|
-
[1m[36m (
|
991
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
992
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", "f"], ["id", 1]]
|
993
|
+
[1m[36m (6.1ms)[0m [1mcommit transaction[0m
|
1009
994
|
Redirected to http://www.example-client.com/restricted
|
1010
|
-
Completed 302 Found in
|
1011
|
-
Started GET "/restricted" for 127.0.0.1 at
|
995
|
+
Completed 302 Found in 11ms (ActiveRecord: 6.6ms)
|
996
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-07-18 13:21:03 +0000
|
1012
997
|
Processing by ExampleController#restricted as HTML
|
1013
|
-
[1m[35mUser Load (0.
|
998
|
+
[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"]]
|
1014
999
|
Rendered text template (0.0ms)
|
1015
|
-
Completed 200 OK in
|
1016
|
-
Started GET "/restricted" for 127.0.0.1 at
|
1000
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
1001
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-07-18 13:21:03 +0000
|
1017
1002
|
Processing by ExampleController#restricted as HTML
|
1018
1003
|
Authenticating with gds_sso strategy
|
1019
1004
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
1020
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
1021
|
-
Started GET "/auth/gds/callback?code=
|
1005
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2019-07-18 13:21:03 +0000
|
1006
|
+
Started GET "/auth/gds/callback?code=ca9ab11b8b92f43b6e5f1dce2301a9e16567570a2940233328864f4cb1f7b25d&state=3ff8ad1937d33c1582b2a1bdd03e14039aef65ac0f1098fb" for 127.0.0.1 at 2019-07-18 13:21:04 +0000
|
1022
1007
|
Processing by AuthenticationsController#callback as HTML
|
1023
|
-
Parameters: {"code"=>"
|
1008
|
+
Parameters: {"code"=>"ca9ab11b8b92f43b6e5f1dce2301a9e16567570a2940233328864f4cb1f7b25d", "state"=>"3ff8ad1937d33c1582b2a1bdd03e14039aef65ac0f1098fb"}
|
1024
1009
|
Authenticating with gds_sso strategy
|
1025
|
-
[1m[36mUser Load (0.
|
1010
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
1026
1011
|
[1m[35m (0.1ms)[0m begin transaction
|
1027
1012
|
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
1028
|
-
[1m[35m (0.
|
1013
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1029
1014
|
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
1030
1015
|
Redirected to http://www.example-client.com/restricted
|
1031
|
-
Completed 302 Found in
|
1032
|
-
Started GET "/restricted" for 127.0.0.1 at
|
1016
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
|
1017
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-07-18 13:21:04 +0000
|
1033
1018
|
Processing by ExampleController#restricted as HTML
|
1034
|
-
[1m[35mUser Load (0.
|
1019
|
+
[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"]]
|
1035
1020
|
Rendered text template (0.0ms)
|
1036
|
-
Completed 200 OK in
|
1037
|
-
Started GET "/restricted" for 127.0.0.1 at
|
1021
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
1022
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-07-19 09:26:04 +0000
|
1038
1023
|
Processing by ExampleController#restricted as HTML
|
1039
1024
|
Authenticating with gds_sso strategy
|
1040
|
-
Completed in
|
1041
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
1042
|
-
Started GET "/restricted" for 127.0.0.1 at
|
1025
|
+
Completed in 0ms (ActiveRecord: 0.0ms)
|
1026
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2019-07-19 09:26:04 +0000
|
1027
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-07-18 13:21:04 +0000
|
1043
1028
|
Processing by ExampleController#restricted as HTML
|
1044
1029
|
Authenticating with gds_sso strategy
|
1045
1030
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
1046
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
1047
|
-
Started GET "/auth/gds/callback?code=
|
1031
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2019-07-18 13:21:04 +0000
|
1032
|
+
Started GET "/auth/gds/callback?code=c468ef9e0a871405ff2b64e8acbdff9690a9051820ea10b2ed13feb438e429f2&state=3a591136efea0c7b669201693f33bf0663da4126469201b7" for 127.0.0.1 at 2019-07-18 13:21:04 +0000
|
1048
1033
|
Processing by AuthenticationsController#callback as HTML
|
1049
|
-
Parameters: {"code"=>"
|
1034
|
+
Parameters: {"code"=>"c468ef9e0a871405ff2b64e8acbdff9690a9051820ea10b2ed13feb438e429f2", "state"=>"3a591136efea0c7b669201693f33bf0663da4126469201b7"}
|
1050
1035
|
Authenticating with gds_sso strategy
|
1051
|
-
[1m[36mUser Load (0.
|
1036
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
1052
1037
|
[1m[35m (0.1ms)[0m begin transaction
|
1053
1038
|
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
1054
|
-
[1m[35m (0.
|
1039
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1055
1040
|
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
1056
1041
|
Redirected to http://www.example-client.com/restricted
|
1057
|
-
Completed 302 Found in
|
1058
|
-
Started GET "/restricted" for 127.0.0.1 at
|
1059
|
-
Processing by ExampleController#restricted as HTML
|
1060
|
-
[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"]]
|
1061
|
-
Rendered text template (0.0ms)
|
1062
|
-
Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.2ms)
|
1063
|
-
Started GET "/restricted" for 127.0.0.1 at 2018-12-18 07:52:53 +0000
|
1042
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
|
1043
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-07-18 13:21:04 +0000
|
1064
1044
|
Processing by ExampleController#restricted as HTML
|
1065
|
-
[1m[
|
1045
|
+
[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"]]
|
1066
1046
|
Rendered text template (0.0ms)
|
1067
|
-
Completed 200 OK in
|
1068
|
-
Started GET "/restricted" for 127.0.0.1 at
|
1047
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
1048
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-07-19 09:26:04 +0000
|
1069
1049
|
Processing by ExampleController#restricted as HTML
|
1070
1050
|
Authenticating with gds_sso strategy
|
1071
|
-
Completed in
|
1072
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
1073
|
-
Started GET "/auth/gds/callback?code=
|
1051
|
+
Completed in 0ms (ActiveRecord: 0.0ms)
|
1052
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2019-07-19 09:26:04 +0000
|
1053
|
+
Started GET "/auth/gds/callback?code=123f389651ae560e448f138d7002516de5fb3ca397c7d2205def37e5f9f4f05d&state=cfb2545536fac5275b1f0f43fa8d40b2f7c5b53b8033cb31" for 127.0.0.1 at 2019-07-19 09:26:04 +0000
|
1074
1054
|
Processing by AuthenticationsController#callback as HTML
|
1075
|
-
Parameters: {"code"=>"
|
1055
|
+
Parameters: {"code"=>"123f389651ae560e448f138d7002516de5fb3ca397c7d2205def37e5f9f4f05d", "state"=>"cfb2545536fac5275b1f0f43fa8d40b2f7c5b53b8033cb31"}
|
1076
1056
|
Authenticating with gds_sso strategy
|
1077
|
-
[1m[
|
1078
|
-
[1m[
|
1079
|
-
[1m[
|
1080
|
-
[1m[
|
1081
|
-
[1m[
|
1057
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
1058
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1059
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
1060
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1061
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
1082
1062
|
Redirected to http://www.example-client.com/restricted
|
1083
|
-
Completed 302 Found in
|
1084
|
-
Started GET "/restricted" for 127.0.0.1 at
|
1063
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
|
1064
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-07-19 09:26:04 +0000
|
1085
1065
|
Processing by ExampleController#restricted as HTML
|
1086
|
-
[1m[
|
1066
|
+
[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"]]
|
1087
1067
|
Rendered text template (0.0ms)
|
1088
|
-
Completed 200 OK in
|
1089
|
-
Started GET "/restricted" for 127.0.0.1 at
|
1068
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
1069
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-07-18 13:21:04 +0000
|
1090
1070
|
Processing by ExampleController#restricted as HTML
|
1091
1071
|
Authenticating with gds_sso strategy
|
1092
|
-
Completed in
|
1093
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
1094
|
-
Started GET "/auth/gds/callback?code=
|
1072
|
+
Completed in 0ms (ActiveRecord: 0.0ms)
|
1073
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2019-07-18 13:21:04 +0000
|
1074
|
+
Started GET "/auth/gds/callback?code=4ac7194730fb09acb958ec1985c175a6bdbd3e9236fe205d96057be051bb002b&state=d793a4ad36a964917485aa085ea20c7ef615485eac049e88" for 127.0.0.1 at 2019-07-18 13:21:04 +0000
|
1095
1075
|
Processing by AuthenticationsController#callback as HTML
|
1096
|
-
Parameters: {"code"=>"
|
1076
|
+
Parameters: {"code"=>"4ac7194730fb09acb958ec1985c175a6bdbd3e9236fe205d96057be051bb002b", "state"=>"d793a4ad36a964917485aa085ea20c7ef615485eac049e88"}
|
1097
1077
|
Authenticating with gds_sso strategy
|
1098
|
-
[1m[
|
1099
|
-
[1m[
|
1100
|
-
[1m[
|
1101
|
-
[1m[
|
1102
|
-
[1m[
|
1078
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
1079
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1080
|
+
[1m[36m (0.2ms)[0m [1mcommit transaction[0m
|
1081
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1082
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1103
1083
|
Redirected to http://www.example-client.com/restricted
|
1104
|
-
Completed 302 Found in
|
1105
|
-
Started GET "/restricted" for 127.0.0.1 at
|
1084
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
|
1085
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-07-18 13:21:04 +0000
|
1106
1086
|
Processing by ExampleController#restricted as HTML
|
1107
|
-
[1m[
|
1087
|
+
[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"]]
|
1108
1088
|
Rendered text template (0.0ms)
|
1109
|
-
Completed 200 OK in
|
1110
|
-
Started GET "/restricted" for 127.0.0.1 at
|
1111
|
-
Processing by ExampleController#restricted as
|
1112
|
-
[1m[
|
1113
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1114
|
-
[1m[35mSQL (0.4ms)[0m UPDATE "users" SET "disabled" = ? WHERE "users"."id" = ? [["disabled", nil], ["id", 11]]
|
1115
|
-
[1m[36m (13.4ms)[0m [1mcommit transaction[0m
|
1116
|
-
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
1117
|
-
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
1118
|
-
[1m[35m (0.1ms)[0m commit transaction
|
1119
|
-
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
1120
|
-
[1m[35m (0.1ms)[0m begin transaction
|
1121
|
-
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
1122
|
-
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
1123
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1124
|
-
[1m[35m (0.1ms)[0m commit transaction
|
1125
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1126
|
-
[1m[35m (0.1ms)[0m commit transaction
|
1089
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
1090
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-07-19 09:16:04 +0000
|
1091
|
+
Processing by ExampleController#restricted as HTML
|
1092
|
+
[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"]]
|
1127
1093
|
Rendered text template (0.0ms)
|
1128
|
-
Completed 200 OK in
|
1129
|
-
|
1130
|
-
|
1131
|
-
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
1132
|
-
[1m[35m (0.2ms)[0m begin transaction
|
1133
|
-
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
1134
|
-
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
1135
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1136
|
-
[1m[35m (0.1ms)[0m commit transaction
|
1137
|
-
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
1094
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.2ms)
|
1095
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "asd"]]
|
1096
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["email", "user@example.com"]]
|
1138
1097
|
[1m[35m (0.1ms)[0m begin transaction
|
1139
|
-
[1m[
|
1140
|
-
[1m[
|
1141
|
-
[1m[
|
1142
|
-
[1m[35m (0.
|
1098
|
+
[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]]
|
1099
|
+
[1m[35m (23.3ms)[0m commit transaction
|
1100
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "asd"]]
|
1101
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1102
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1103
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1104
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["uid", "a1s2d3383"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
|
1105
|
+
[1m[35m (97.6ms)[0m commit transaction
|
1143
1106
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1144
|
-
[1m[
|
1145
|
-
|
1146
|
-
|
1147
|
-
|
1148
|
-
|
1149
|
-
|
1150
|
-
|
1151
|
-
|
1152
|
-
|
1153
|
-
|
1154
|
-
|
1155
|
-
Authenticating with gds_sso strategy
|
1156
|
-
Completed in 0ms (ActiveRecord: 0.0ms)
|
1157
|
-
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "asd"]]
|
1158
|
-
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "user@example.com"]]
|
1107
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d34711"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
1108
|
+
[1m[36m (16.5ms)[0m [1mcommit transaction[0m
|
1109
|
+
Processing by Api::UserController#reauth as HTML
|
1110
|
+
Parameters: {"uid"=>"a1s2d3383"}
|
1111
|
+
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
1112
|
+
Rendered /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.2ms)
|
1113
|
+
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
1114
|
+
Completed 403 Forbidden in 7ms (Views: 7.0ms | ActiveRecord: 0.0ms)
|
1115
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1116
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["uid", "a1s2d33429"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
|
1117
|
+
[1m[35m (42.8ms)[0m commit transaction
|
1159
1118
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1160
|
-
[1m[35mSQL (0.
|
1161
|
-
[1m[36m (6.
|
1162
|
-
|
1119
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d37175"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
1120
|
+
[1m[36m (6.1ms)[0m [1mcommit transaction[0m
|
1121
|
+
Processing by Api::UserController#reauth as HTML
|
1122
|
+
Parameters: {"uid"=>"a1s2d33429"}
|
1123
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "a1s2d33429"]]
|
1124
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1125
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", "t"], ["id", 5]]
|
1126
|
+
[1m[36m (5.7ms)[0m [1mcommit transaction[0m
|
1127
|
+
Completed 200 OK in 8ms (ActiveRecord: 6.0ms)
|
1128
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 5]]
|
1129
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1130
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d38152"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
|
1131
|
+
[1m[36m (4.4ms)[0m [1mcommit transaction[0m
|
1132
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1133
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["uid", "a1s2d34363"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
1134
|
+
[1m[35m (5.1ms)[0m commit transaction
|
1135
|
+
Processing by Api::UserController#reauth as HTML
|
1136
|
+
Parameters: {"uid"=>"nonexistent-user"}
|
1137
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "nonexistent-user"]]
|
1138
|
+
Completed 200 OK in 1ms (ActiveRecord: 0.1ms)
|
1139
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1140
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["uid", "a1s2d35000"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
|
1141
|
+
[1m[35m (3.8ms)[0m commit transaction
|
1142
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1143
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d35750"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
1144
|
+
[1m[36m (3.6ms)[0m [1mcommit transaction[0m
|
1145
|
+
Processing by Api::UserController#update as HTML
|
1146
|
+
Parameters: {"uid"=>"a1s2d35000"}
|
1147
|
+
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
1148
|
+
Rendered /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.3ms)
|
1149
|
+
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
1150
|
+
Completed 403 Forbidden in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)
|
1151
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1152
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["uid", "a1s2d3182"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
|
1153
|
+
[1m[35m (6.0ms)[0m commit transaction
|
1154
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1155
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d31071"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
1156
|
+
[1m[36m (4.7ms)[0m [1mcommit transaction[0m
|
1157
|
+
Processing by Api::UserController#update as HTML
|
1158
|
+
Parameters: {"uid"=>"a1s2d3182"}
|
1159
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "a1s2d3182"]]
|
1163
1160
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1164
|
-
[1m[
|
1161
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "email" = ?, "name" = ?, "permissions" = ?, "organisation_slug" = ?, "organisation_content_id" = ? WHERE "users"."id" = ? [["email", "user@domain.com"], ["name", "Joshua Marshall"], ["permissions", "---\n- signin\n- new permission\n"], ["organisation_slug", "justice-league"], ["organisation_content_id", "aae1319e-5788-4677-998c-f1a53af528d0"], ["id", 11]]
|
1162
|
+
[1m[36m (4.9ms)[0m [1mcommit transaction[0m
|
1163
|
+
Completed 200 OK in 8ms (ActiveRecord: 5.3ms)
|
1164
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 11]]
|
1165
1165
|
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["email", "dummyapiuser@domain.com"]]
|
1166
|
-
[1m[35m (0.
|
1167
|
-
[1m[36mSQL (0.
|
1168
|
-
[1m[35m (
|
1166
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1167
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("email", "uid", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["email", "dummyapiuser@domain.com"], ["uid", "2932"], ["name", "Dummy API user created by gds-sso"], ["permissions", "---\n- signin\n"]]
|
1168
|
+
[1m[35m (4.2ms)[0m commit transaction
|
1169
1169
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1170
|
-
[1m[35mSQL (0.
|
1171
|
-
[1m[36m (
|
1172
|
-
[1m[35m (0.
|
1173
|
-
[1m[35m (
|
1174
|
-
[1m[35m (
|
1175
|
-
[1m[35m (
|
1176
|
-
[1m[36mActiveRecord::InternalMetadata Load (0.
|
1177
|
-
[1m[35m (0.
|
1178
|
-
[1m[36mActiveRecord::InternalMetadata Create (0.
|
1179
|
-
[1m[35m (
|
1180
|
-
[1m[35m (
|
1181
|
-
[1m[36mActiveRecord::InternalMetadata Load (0.
|
1182
|
-
[1m[35m (0.
|
1183
|
-
[1m[35m (0.
|
1170
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = ? [["permissions", "---\n- signin\n- extra_permission\n"], ["id", 13]]
|
1171
|
+
[1m[36m (5.3ms)[0m [1mcommit transaction[0m
|
1172
|
+
[1m[35m (0.1ms)[0m [1m[35mDROP TABLE IF EXISTS "users"[0m
|
1173
|
+
[1m[35m (1.1ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
1174
|
+
[1m[35m (36.3ms)[0m [1m[35mCREATE TABLE "users" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar NOT NULL, "uid" varchar NOT NULL, "email" varchar NOT NULL, "remotely_signed_out" boolean, "permissions" text, "organisation_slug" varchar, "organisation_content_id" varchar, "disabled" boolean DEFAULT 'f')[0m
|
1175
|
+
[1m[35m (12.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
|
1176
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
1177
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1178
|
+
[1m[36mActiveRecord::InternalMetadata Create (0.3ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "environment"], ["value", "test"], ["created_at", "2019-07-18 13:21:11.010130"], ["updated_at", "2019-07-18 13:21:11.010130"]]
|
1179
|
+
[1m[35m (8.6ms)[0m [1m[36mcommit transaction[0m
|
1180
|
+
[1m[35m (9.6ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
|
1181
|
+
[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]]
|
1182
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1183
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1184
1184
|
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["email", "dummyapiuser@domain.com"], ["LIMIT", 1]]
|
1185
1185
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1186
|
-
[1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Dummy API user created by gds-sso"], ["uid", "
|
1187
|
-
[1m[35m (
|
1186
|
+
[1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Dummy API user created by gds-sso"], ["uid", "5487"], ["email", "dummyapiuser@domain.com"], ["permissions", "---\n- signin\n"]]
|
1187
|
+
[1m[35m (29.9ms)[0m [1m[36mcommit transaction[0m
|
1188
1188
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1189
1189
|
[1m[36mUser Update (0.3ms)[0m [1m[33mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = ?[0m [["permissions", "---\n- signin\n- extra_permission\n"], ["id", 1]]
|
1190
|
-
[1m[35m (
|
1191
|
-
Started GET "/restricted" for 127.0.0.1 at
|
1190
|
+
[1m[35m (3.6ms)[0m [1m[36mcommit transaction[0m
|
1191
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-07-18 13:21:11 +0000
|
1192
1192
|
Processing by ExampleController#restricted as HTML
|
1193
1193
|
Authenticating with gds_sso strategy
|
1194
|
-
Completed in
|
1195
|
-
Started GET "/
|
1196
|
-
Processing by ExampleController#
|
1197
|
-
|
1198
|
-
|
1199
|
-
Processing by ExampleController#restricted as JSON
|
1200
|
-
[1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
1201
|
-
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["email", "test@example-client.com"], ["LIMIT", 1]]
|
1194
|
+
Completed in 5ms (ActiveRecord: 0.0ms)
|
1195
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2019-07-18 13:21:11 +0000
|
1196
|
+
Processing by ExampleController#this_requires_signin_permission as JSON
|
1197
|
+
[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]]
|
1198
|
+
[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]]
|
1202
1199
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1203
|
-
[1m[36mUser Create (0.
|
1204
|
-
[1m[35m (
|
1205
|
-
[1m[36mUser Load (0.
|
1200
|
+
[1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions", "disabled") VALUES (?, ?, ?, ?, ?)[0m [["name", "Test User"], ["uid", "integration-uid"], ["email", "test@example-client.com"], ["permissions", "---\n- signin\n"], ["disabled", nil]]
|
1201
|
+
[1m[35m (27.3ms)[0m [1m[36mcommit transaction[0m
|
1202
|
+
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
1206
1203
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1207
|
-
[1m[35m (0.
|
1204
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1208
1205
|
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
1209
1206
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1210
|
-
[1m[35m (0.
|
1207
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1211
1208
|
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
1212
1209
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1213
1210
|
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
1214
|
-
[1m[35m (0.
|
1215
|
-
[1m[36mUser Update (0.
|
1216
|
-
[1m[35m (
|
1211
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1212
|
+
[1m[36mUser Update (0.3ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "f"], ["id", 2]]
|
1213
|
+
[1m[35m (5.7ms)[0m [1m[36mcommit transaction[0m
|
1217
1214
|
Rendering text template
|
1218
1215
|
Rendered text template (0.0ms)
|
1219
|
-
Completed 200 OK in
|
1220
|
-
Started GET "/
|
1221
|
-
Processing by ExampleController#
|
1222
|
-
|
1216
|
+
Completed 200 OK in 118ms (Views: 2.9ms | ActiveRecord: 34.5ms)
|
1217
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-07-18 13:21:11 +0000
|
1218
|
+
Processing by ExampleController#restricted as JSON
|
1219
|
+
Completed in 21ms (ActiveRecord: 0.0ms)
|
1220
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-07-18 13:21:11 +0000
|
1221
|
+
Processing by ExampleController#restricted as JSON
|
1222
|
+
[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]]
|
1223
1223
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1224
|
-
[1m[35m (0.
|
1224
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1225
1225
|
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
1226
1226
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1227
1227
|
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
1228
1228
|
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
1229
1229
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1230
|
-
[1m[35m (0.2ms)[0m [1m[36mcommit transaction[0m
|
1231
|
-
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
1232
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1233
1230
|
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
1231
|
+
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
1234
1232
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1235
1233
|
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
1234
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1235
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1236
1236
|
Rendering text template
|
1237
1237
|
Rendered text template (0.0ms)
|
1238
|
-
Completed 200 OK in
|
1239
|
-
Started GET "/restricted" for 127.0.0.1 at
|
1238
|
+
Completed 200 OK in 57ms (Views: 0.3ms | ActiveRecord: 0.9ms)
|
1239
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-07-18 13:21:11 +0000
|
1240
1240
|
Processing by ExampleController#restricted as JSON
|
1241
|
-
Completed in
|
1242
|
-
Started GET "/" for 127.0.0.1 at
|
1243
|
-
Processing by ExampleController#index as HTML
|
1244
|
-
Rendering text template
|
1245
|
-
Rendered text template (0.0ms)
|
1246
|
-
Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
|
1247
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2018-12-17 11:58:04 +0000
|
1241
|
+
Completed in 13ms (ActiveRecord: 0.0ms)
|
1242
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2019-07-18 13:21:11 +0000
|
1248
1243
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
1249
1244
|
Authenticating with gds_sso strategy
|
1250
1245
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
1251
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
1252
|
-
Started GET "/auth/gds/callback?code=
|
1246
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2019-07-18 13:21:11 +0000
|
1247
|
+
Started GET "/auth/gds/callback?code=1c652196e3fd2e07d670c10b591c11e68ee2f7d4f0529de3c1c1819d95e26275&state=3f6cbcf6a6fb7035413cc42d9ce14f3c2c68ea0ed6a46b93" for 127.0.0.1 at 2019-07-18 13:21:12 +0000
|
1253
1248
|
Processing by AuthenticationsController#callback as HTML
|
1254
|
-
Parameters: {"code"=>"
|
1249
|
+
Parameters: {"code"=>"1c652196e3fd2e07d670c10b591c11e68ee2f7d4f0529de3c1c1819d95e26275", "state"=>"3f6cbcf6a6fb7035413cc42d9ce14f3c2c68ea0ed6a46b93"}
|
1255
1250
|
Authenticating with gds_sso strategy
|
1256
|
-
[1m[36mUser Load (0.
|
1257
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1258
|
-
[1m[36mUser Update (1.4ms)[0m [1m[33mUPDATE "users" SET "disabled" = ? WHERE "users"."id" = ?[0m [["disabled", "f"], ["id", 2]]
|
1259
|
-
[1m[35m (6.4ms)[0m [1m[36mcommit transaction[0m
|
1251
|
+
[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]]
|
1260
1252
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1261
|
-
[1m[
|
1253
|
+
[1m[36mUser Update (0.2ms)[0m [1m[33mUPDATE "users" SET "disabled" = ? WHERE "users"."id" = ?[0m [["disabled", "f"], ["id", 2]]
|
1254
|
+
[1m[35m (7.7ms)[0m [1m[36mcommit transaction[0m
|
1255
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1256
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1262
1257
|
Redirected to http://www.example-client.com/this_requires_signin_permission
|
1263
|
-
Completed 302 Found in
|
1264
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at
|
1258
|
+
Completed 302 Found in 14ms (ActiveRecord: 8.3ms)
|
1259
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2019-07-18 13:21:12 +0000
|
1265
1260
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
1266
|
-
[1m[36mUser Load (0.
|
1261
|
+
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
1267
1262
|
Rendering text template
|
1268
1263
|
Rendered text template (0.0ms)
|
1269
|
-
Completed 200 OK in
|
1270
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at
|
1264
|
+
Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.2ms)
|
1265
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2019-07-18 13:21:12 +0000
|
1271
1266
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
1272
1267
|
Authenticating with gds_sso strategy
|
1273
1268
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
1274
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
1275
|
-
Started GET "/auth/gds/callback?code=
|
1269
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2019-07-18 13:21:12 +0000
|
1270
|
+
Started GET "/auth/gds/callback?code=00ed07545cfae12634fdbaf344c518cbcba85a287d0a350bbf5039b054bc5a85&state=f1f30b81904350f34aa12754e6fa1dae8f9c2e475a768921" for 127.0.0.1 at 2019-07-18 13:21:12 +0000
|
1276
1271
|
Processing by AuthenticationsController#callback as HTML
|
1277
|
-
Parameters: {"code"=>"
|
1272
|
+
Parameters: {"code"=>"00ed07545cfae12634fdbaf344c518cbcba85a287d0a350bbf5039b054bc5a85", "state"=>"f1f30b81904350f34aa12754e6fa1dae8f9c2e475a768921"}
|
1278
1273
|
Authenticating with gds_sso strategy
|
1279
|
-
[1m[36mUser Load (0.
|
1280
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1281
|
-
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
1274
|
+
[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]]
|
1282
1275
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1283
|
-
[1m[35m (0.
|
1276
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1277
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1278
|
+
[1m[35m (0.6ms)[0m [1m[36mcommit transaction[0m
|
1284
1279
|
Redirected to http://www.example-client.com/this_requires_signin_permission
|
1285
|
-
Completed 302 Found in
|
1286
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at
|
1280
|
+
Completed 302 Found in 5ms (ActiveRecord: 0.9ms)
|
1281
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2019-07-18 13:21:12 +0000
|
1287
1282
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
1288
|
-
[1m[36mUser Load (0.
|
1283
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
1289
1284
|
Rendering text template
|
1290
1285
|
Rendered text template (0.0ms)
|
1291
|
-
Completed 200 OK in
|
1292
|
-
Started GET "/restricted" for 127.0.0.1 at
|
1286
|
+
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
1287
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-07-18 13:21:12 +0000
|
1293
1288
|
Processing by ExampleController#restricted as HTML
|
1294
1289
|
Authenticating with gds_sso strategy
|
1295
|
-
Completed in
|
1296
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
1297
|
-
Started GET "/auth/gds/callback?code=
|
1290
|
+
Completed in 1ms (ActiveRecord: 0.0ms)
|
1291
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2019-07-18 13:21:12 +0000
|
1292
|
+
Started GET "/auth/gds/callback?code=d45f34db17f4015d83d02d4e0264acd92caa226cd529f4905262cfbf66ec8f92&state=36f281e3ef0106d5f67206be1172c4b714bf691cb10dfcb1" for 127.0.0.1 at 2019-07-18 13:21:12 +0000
|
1298
1293
|
Processing by AuthenticationsController#callback as HTML
|
1299
|
-
Parameters: {"code"=>"
|
1294
|
+
Parameters: {"code"=>"d45f34db17f4015d83d02d4e0264acd92caa226cd529f4905262cfbf66ec8f92", "state"=>"36f281e3ef0106d5f67206be1172c4b714bf691cb10dfcb1"}
|
1300
1295
|
Authenticating with gds_sso strategy
|
1301
|
-
[1m[36mUser Load (0.
|
1296
|
+
[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]]
|
1302
1297
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1303
1298
|
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
1304
1299
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1305
1300
|
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
1306
1301
|
Redirected to http://www.example-client.com/restricted
|
1307
|
-
Completed 302 Found in
|
1308
|
-
Started GET "/restricted" for 127.0.0.1 at
|
1302
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
|
1303
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-07-18 13:21:12 +0000
|
1309
1304
|
Processing by ExampleController#restricted as HTML
|
1310
|
-
[1m[36mUser Load (0.
|
1305
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
1311
1306
|
Rendering text template
|
1312
1307
|
Rendered text template (0.0ms)
|
1313
|
-
Completed 200 OK in
|
1314
|
-
Started GET "/restricted" for 127.0.0.1 at
|
1308
|
+
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
1309
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-07-18 13:21:12 +0000
|
1315
1310
|
Processing by ExampleController#restricted as HTML
|
1316
1311
|
Authenticating with gds_sso strategy
|
1317
|
-
Completed in
|
1318
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
1319
|
-
Started GET "/auth/gds/callback?code=
|
1312
|
+
Completed in 0ms (ActiveRecord: 0.0ms)
|
1313
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2019-07-18 13:21:12 +0000
|
1314
|
+
Started GET "/auth/gds/callback?code=de1c4c98610ac5c5e8523e18dd18d6199183557964ec16d3ce338731621afb97&state=15321cc1de3dbb08f06bd9ab6f3cf84f804ac256387c412a" for 127.0.0.1 at 2019-07-18 13:21:12 +0000
|
1320
1315
|
Processing by AuthenticationsController#callback as HTML
|
1321
|
-
Parameters: {"code"=>"
|
1316
|
+
Parameters: {"code"=>"de1c4c98610ac5c5e8523e18dd18d6199183557964ec16d3ce338731621afb97", "state"=>"15321cc1de3dbb08f06bd9ab6f3cf84f804ac256387c412a"}
|
1322
1317
|
Authenticating with gds_sso strategy
|
1323
|
-
[1m[36mUser Load (0.
|
1324
|
-
[1m[35m (0.
|
1325
|
-
[1m[35m (0.5ms)[0m [1m[36mcommit transaction[0m
|
1326
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1318
|
+
[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]]
|
1319
|
+
[1m[35m (0.3ms)[0m [1m[36mbegin transaction[0m
|
1327
1320
|
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
1321
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1322
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1328
1323
|
Redirected to http://www.example-client.com/restricted
|
1329
|
-
Completed 302 Found in
|
1330
|
-
Started GET "/restricted" for 127.0.0.1 at
|
1324
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.6ms)
|
1325
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-07-18 13:21:12 +0000
|
1331
1326
|
Processing by ExampleController#restricted as HTML
|
1332
|
-
[1m[36mUser Load (0.
|
1327
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
1333
1328
|
Rendering text template
|
1334
1329
|
Rendered text template (0.0ms)
|
1335
|
-
Completed 200 OK in
|
1336
|
-
Started GET "/restricted" for 127.0.0.1 at
|
1330
|
+
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
1331
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-07-18 13:21:12 +0000
|
1337
1332
|
Processing by ExampleController#restricted as HTML
|
1338
1333
|
Authenticating with gds_sso strategy
|
1339
1334
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
1340
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
1341
|
-
Started GET "/auth/gds/callback?code=
|
1335
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2019-07-18 13:21:12 +0000
|
1336
|
+
Started GET "/auth/gds/callback?code=73f9218a5c277c82e6c1089d1cd294c1d7446a9e2874b8c156dedb7d23d8eb97&state=817531a2b884783998ada9141caec466e9a0477435819513" for 127.0.0.1 at 2019-07-18 13:21:12 +0000
|
1342
1337
|
Processing by AuthenticationsController#callback as HTML
|
1343
|
-
Parameters: {"code"=>"
|
1338
|
+
Parameters: {"code"=>"73f9218a5c277c82e6c1089d1cd294c1d7446a9e2874b8c156dedb7d23d8eb97", "state"=>"817531a2b884783998ada9141caec466e9a0477435819513"}
|
1344
1339
|
Authenticating with gds_sso strategy
|
1345
|
-
[1m[36mUser Load (0.
|
1340
|
+
[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]]
|
1346
1341
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1347
1342
|
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
1348
1343
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1349
|
-
[1m[35m (0.
|
1344
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1350
1345
|
Redirected to http://www.example-client.com/restricted
|
1351
|
-
Completed 302 Found in
|
1352
|
-
Started GET "/restricted" for 127.0.0.1 at
|
1346
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
|
1347
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-07-18 13:21:12 +0000
|
1353
1348
|
Processing by ExampleController#restricted as HTML
|
1354
|
-
[1m[36mUser Load (0.
|
1349
|
+
[1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
1350
|
+
Rendering text template
|
1351
|
+
Rendered text template (0.0ms)
|
1352
|
+
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.5ms)
|
1353
|
+
Started GET "/" for 127.0.0.1 at 2019-07-18 13:21:12 +0000
|
1354
|
+
Processing by ExampleController#index as HTML
|
1355
1355
|
Rendering text template
|
1356
1356
|
Rendered text template (0.0ms)
|
1357
|
-
Completed 200 OK in
|
1358
|
-
Started GET "/restricted" for 127.0.0.1 at
|
1357
|
+
Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
1358
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-07-18 13:21:12 +0000
|
1359
1359
|
Processing by ExampleController#restricted as HTML
|
1360
1360
|
Authenticating with gds_sso strategy
|
1361
|
-
Completed in
|
1362
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
1363
|
-
Started GET "/auth/gds/callback?code=
|
1361
|
+
Completed in 1ms (ActiveRecord: 0.0ms)
|
1362
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2019-07-18 13:21:12 +0000
|
1363
|
+
Started GET "/auth/gds/callback?code=0736760cebe296a160898ed52b3443a379fb986b53667d2caa95e137f979536c&state=78082f113110abfee6a9b8e7828776c8949866c0945efc54" for 127.0.0.1 at 2019-07-18 13:21:13 +0000
|
1364
1364
|
Processing by AuthenticationsController#callback as HTML
|
1365
|
-
Parameters: {"code"=>"
|
1365
|
+
Parameters: {"code"=>"0736760cebe296a160898ed52b3443a379fb986b53667d2caa95e137f979536c", "state"=>"78082f113110abfee6a9b8e7828776c8949866c0945efc54"}
|
1366
1366
|
Authenticating with gds_sso strategy
|
1367
|
-
[1m[36mUser Load (0.
|
1368
|
-
[1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
|
1369
|
-
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
1367
|
+
[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]]
|
1370
1368
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1371
1369
|
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
1370
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1371
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1372
1372
|
Redirected to http://www.example-client.com/restricted
|
1373
|
-
Completed 302 Found in
|
1374
|
-
Started GET "/restricted" for 127.0.0.1 at
|
1373
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
|
1374
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-07-18 13:21:13 +0000
|
1375
1375
|
Processing by ExampleController#restricted as HTML
|
1376
|
-
[1m[36mUser Load (0.
|
1376
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
1377
1377
|
Rendering text template
|
1378
1378
|
Rendered text template (0.0ms)
|
1379
|
-
Completed 200 OK in
|
1380
|
-
|
1381
|
-
|
1382
|
-
[1m[36mUser
|
1383
|
-
|
1384
|
-
|
1385
|
-
|
1386
|
-
|
1387
|
-
|
1388
|
-
|
1389
|
-
|
1390
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
1391
|
-
Started GET "/auth/gds/callback?code=3b1bfbca8fc3aa59826be968f577301d496cb0c8619bdf1e6285dc932b1349d2&state=123028ddf4ab42eee05846d0ca006220f5232f425512ba01" for 127.0.0.1 at 2018-12-17 11:58:06 +0000
|
1379
|
+
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
1380
|
+
[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]]
|
1381
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1382
|
+
[1m[36mUser Update (0.3ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "t"], ["id", 2]]
|
1383
|
+
[1m[35m (23.3ms)[0m [1m[36mcommit transaction[0m
|
1384
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-07-18 13:21:13 +0000
|
1385
|
+
Processing by ExampleController#restricted as HTML
|
1386
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
1387
|
+
Authenticating with gds_sso strategy
|
1388
|
+
Completed in 2ms (ActiveRecord: 0.1ms)
|
1389
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2019-07-18 13:21:13 +0000
|
1390
|
+
Started GET "/auth/gds/callback?code=ac26589187f9ac0428e902f57452753eb5d6b222074118e6d31a27c18c11cec7&state=ebd42d309327d20d6a7c090000695de68355b8c3798c79a1" for 127.0.0.1 at 2019-07-18 13:21:13 +0000
|
1392
1391
|
Processing by AuthenticationsController#callback as HTML
|
1393
|
-
Parameters: {"code"=>"
|
1392
|
+
Parameters: {"code"=>"ac26589187f9ac0428e902f57452753eb5d6b222074118e6d31a27c18c11cec7", "state"=>"ebd42d309327d20d6a7c090000695de68355b8c3798c79a1"}
|
1394
1393
|
Authenticating with gds_sso strategy
|
1395
|
-
[1m[36mUser Load (0.
|
1394
|
+
[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]]
|
1396
1395
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1397
|
-
[1m[35m (0.
|
1396
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1398
1397
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1399
|
-
[1m[
|
1398
|
+
[1m[36mUser Update (0.2ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "f"], ["id", 2]]
|
1399
|
+
[1m[35m (6.6ms)[0m [1m[36mcommit transaction[0m
|
1400
1400
|
Redirected to http://www.example-client.com/restricted
|
1401
|
-
Completed 302 Found in
|
1402
|
-
Started GET "/restricted" for 127.0.0.1 at
|
1401
|
+
Completed 302 Found in 11ms (ActiveRecord: 7.2ms)
|
1402
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-07-18 13:21:13 +0000
|
1403
1403
|
Processing by ExampleController#restricted as HTML
|
1404
|
-
[1m[36mUser Load (0.
|
1404
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
1405
1405
|
Rendering text template
|
1406
1406
|
Rendered text template (0.0ms)
|
1407
|
-
Completed 200 OK in
|
1408
|
-
Started GET "/restricted" for 127.0.0.1 at
|
1409
|
-
Processing by ExampleController#restricted as HTML
|
1410
|
-
Authenticating with gds_sso strategy
|
1411
|
-
Completed in 1ms (ActiveRecord: 0.0ms)
|
1412
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2018-12-18 08:03:06 +0000
|
1413
|
-
Started GET "/restricted" for 127.0.0.1 at 2018-12-17 11:58:06 +0000
|
1407
|
+
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
1408
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-07-18 13:21:13 +0000
|
1414
1409
|
Processing by ExampleController#restricted as HTML
|
1415
1410
|
Authenticating with gds_sso strategy
|
1416
1411
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
1417
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
1418
|
-
Started GET "/auth/gds/callback?code=
|
1412
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2019-07-18 13:21:13 +0000
|
1413
|
+
Started GET "/auth/gds/callback?code=5088af1026f8add98b778a9b381770a98485dcab1f32fb74ad7685cc5f479efb&state=aaba9dfc79a91a6512a5b2d551ec285ef98ccdd4e3414af9" for 127.0.0.1 at 2019-07-18 13:21:13 +0000
|
1419
1414
|
Processing by AuthenticationsController#callback as HTML
|
1420
|
-
Parameters: {"code"=>"
|
1415
|
+
Parameters: {"code"=>"5088af1026f8add98b778a9b381770a98485dcab1f32fb74ad7685cc5f479efb", "state"=>"aaba9dfc79a91a6512a5b2d551ec285ef98ccdd4e3414af9"}
|
1421
1416
|
Authenticating with gds_sso strategy
|
1422
|
-
[1m[36mUser Load (0.
|
1417
|
+
[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]]
|
1423
1418
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1424
1419
|
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
1425
|
-
[1m[35m (0.
|
1420
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1426
1421
|
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
1427
1422
|
Redirected to http://www.example-client.com/restricted
|
1428
|
-
Completed 302 Found in
|
1429
|
-
Started GET "/restricted" for 127.0.0.1 at
|
1423
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
|
1424
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-07-18 13:21:13 +0000
|
1430
1425
|
Processing by ExampleController#restricted as HTML
|
1431
|
-
[1m[36mUser Load (0.
|
1426
|
+
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
1427
|
+
Rendering text template
|
1428
|
+
Rendered text template (0.0ms)
|
1429
|
+
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.2ms)
|
1430
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-07-19 09:16:13 +0000
|
1431
|
+
Processing by ExampleController#restricted as HTML
|
1432
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
1432
1433
|
Rendering text template
|
1433
1434
|
Rendered text template (0.0ms)
|
1434
|
-
Completed 200 OK in
|
1435
|
-
Started GET "/restricted" for 127.0.0.1 at
|
1435
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
1436
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-07-18 13:21:13 +0000
|
1436
1437
|
Processing by ExampleController#restricted as HTML
|
1437
1438
|
Authenticating with gds_sso strategy
|
1438
|
-
Completed in
|
1439
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
1440
|
-
Started GET "/auth/gds/callback?code=
|
1439
|
+
Completed in 0ms (ActiveRecord: 0.0ms)
|
1440
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2019-07-18 13:21:13 +0000
|
1441
|
+
Started GET "/auth/gds/callback?code=08efbfb868aea0b2f650fd8a52e0113d491ebfa63993acc7567f7c8039de9708&state=737848c59b116b0b11a9e39543f9c2798ff95bf69b32bdb3" for 127.0.0.1 at 2019-07-18 13:21:13 +0000
|
1441
1442
|
Processing by AuthenticationsController#callback as HTML
|
1442
|
-
Parameters: {"code"=>"
|
1443
|
+
Parameters: {"code"=>"08efbfb868aea0b2f650fd8a52e0113d491ebfa63993acc7567f7c8039de9708", "state"=>"737848c59b116b0b11a9e39543f9c2798ff95bf69b32bdb3"}
|
1443
1444
|
Authenticating with gds_sso strategy
|
1444
|
-
[1m[36mUser Load (0.
|
1445
|
+
[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]]
|
1445
1446
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1446
1447
|
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
1447
|
-
[1m[35m (0.
|
1448
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1448
1449
|
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
1449
1450
|
Redirected to http://www.example-client.com/restricted
|
1450
|
-
Completed 302 Found in
|
1451
|
-
Started GET "/restricted" for 127.0.0.1 at
|
1451
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
|
1452
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-07-18 13:21:13 +0000
|
1452
1453
|
Processing by ExampleController#restricted as HTML
|
1453
|
-
[1m[36mUser Load (0.
|
1454
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
1454
1455
|
Rendering text template
|
1455
|
-
Rendered text template (0.
|
1456
|
-
Completed 200 OK in
|
1457
|
-
Started GET "/restricted" for 127.0.0.1 at
|
1456
|
+
Rendered text template (0.0ms)
|
1457
|
+
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
1458
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-07-19 09:26:13 +0000
|
1458
1459
|
Processing by ExampleController#restricted as HTML
|
1459
1460
|
Authenticating with gds_sso strategy
|
1460
1461
|
Completed in 1ms (ActiveRecord: 0.0ms)
|
1461
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
1462
|
-
Started GET "/
|
1462
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2019-07-19 09:26:13 +0000
|
1463
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-07-18 13:21:13 +0000
|
1464
|
+
Processing by ExampleController#restricted as HTML
|
1465
|
+
Authenticating with gds_sso strategy
|
1466
|
+
Completed in 0ms (ActiveRecord: 0.0ms)
|
1467
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2019-07-18 13:21:13 +0000
|
1468
|
+
Started GET "/auth/gds/callback?code=346e6610d3bd127c60884a627f5df4025440fa0ae34367478f89ddf855c35156&state=ba0eb84bdb6bf08968e06ee1a7be9961b38950688a9226aa" for 127.0.0.1 at 2019-07-18 13:21:14 +0000
|
1463
1469
|
Processing by AuthenticationsController#callback as HTML
|
1464
|
-
Parameters: {"code"=>"
|
1470
|
+
Parameters: {"code"=>"346e6610d3bd127c60884a627f5df4025440fa0ae34367478f89ddf855c35156", "state"=>"ba0eb84bdb6bf08968e06ee1a7be9961b38950688a9226aa"}
|
1465
1471
|
Authenticating with gds_sso strategy
|
1466
|
-
[1m[36mUser Load (0.
|
1467
|
-
[1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
|
1468
|
-
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
1472
|
+
[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]]
|
1469
1473
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1470
|
-
[1m[35m (0.
|
1474
|
+
[1m[35m (0.2ms)[0m [1m[36mcommit transaction[0m
|
1475
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1476
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1471
1477
|
Redirected to http://www.example-client.com/restricted
|
1472
|
-
Completed 302 Found in
|
1473
|
-
Started GET "/restricted" for 127.0.0.1 at
|
1478
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.5ms)
|
1479
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-07-18 13:21:14 +0000
|
1474
1480
|
Processing by ExampleController#restricted as HTML
|
1475
|
-
[1m[36mUser Load (0.
|
1481
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
1476
1482
|
Rendering text template
|
1477
1483
|
Rendered text template (0.0ms)
|
1478
|
-
Completed 200 OK in
|
1479
|
-
|
1480
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1481
|
-
[1m[36mUser Update (0.7ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "t"], ["id", 2]]
|
1482
|
-
[1m[35m (10.7ms)[0m [1m[36mcommit transaction[0m
|
1483
|
-
Started GET "/restricted" for 127.0.0.1 at 2018-12-17 11:58:07 +0000
|
1484
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
1485
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-07-19 09:26:14 +0000
|
1484
1486
|
Processing by ExampleController#restricted as HTML
|
1485
|
-
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
1486
1487
|
Authenticating with gds_sso strategy
|
1487
|
-
Completed in
|
1488
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
1489
|
-
Started GET "/auth/gds/callback?code=
|
1488
|
+
Completed in 0ms (ActiveRecord: 0.0ms)
|
1489
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2019-07-19 09:26:14 +0000
|
1490
|
+
Started GET "/auth/gds/callback?code=cff627a10180703e255cb6ecfacd0aa7e462acfb22a58da89ee2701ac2ed9d4b&state=bb672dd6503e0cd758355d1169a4e9d98b72266d4b8ebf48" for 127.0.0.1 at 2019-07-19 09:26:14 +0000
|
1490
1491
|
Processing by AuthenticationsController#callback as HTML
|
1491
|
-
Parameters: {"code"=>"
|
1492
|
+
Parameters: {"code"=>"cff627a10180703e255cb6ecfacd0aa7e462acfb22a58da89ee2701ac2ed9d4b", "state"=>"bb672dd6503e0cd758355d1169a4e9d98b72266d4b8ebf48"}
|
1492
1493
|
Authenticating with gds_sso strategy
|
1493
|
-
[1m[36mUser Load (0.
|
1494
|
-
[1m[35m (0.
|
1495
|
-
[1m[35m (0.
|
1496
|
-
[1m[35m (0.
|
1497
|
-
[1m[
|
1498
|
-
[1m[35m (5.0ms)[0m [1m[36mcommit transaction[0m
|
1494
|
+
[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]]
|
1495
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1496
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1497
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1498
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1499
1499
|
Redirected to http://www.example-client.com/restricted
|
1500
|
-
Completed 302 Found in
|
1501
|
-
Started GET "/restricted" for 127.0.0.1 at
|
1500
|
+
Completed 302 Found in 5ms (ActiveRecord: 0.3ms)
|
1501
|
+
Started GET "/restricted" for 127.0.0.1 at 2019-07-19 09:26:14 +0000
|
1502
1502
|
Processing by ExampleController#restricted as HTML
|
1503
|
-
[1m[36mUser Load (0.
|
1503
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
1504
1504
|
Rendering text template
|
1505
1505
|
Rendered text template (0.0ms)
|
1506
|
-
Completed 200 OK in
|
1507
|
-
[1m[
|
1508
|
-
[1m[36mUser
|
1509
|
-
[1m[35m (
|
1510
|
-
[1m[
|
1511
|
-
[1m[
|
1512
|
-
[1m[
|
1506
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
1507
|
+
[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]]
|
1508
|
+
[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]]
|
1509
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1510
|
+
[1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions", "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]]
|
1511
|
+
[1m[35m (9.2ms)[0m [1m[36mcommit transaction[0m
|
1512
|
+
[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]]
|
1513
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1514
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1515
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1516
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d35134"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
1517
|
+
[1m[35m (7.4ms)[0m [1m[36mcommit transaction[0m
|
1518
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1519
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d36507"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
1520
|
+
[1m[35m (3.6ms)[0m [1m[36mcommit transaction[0m
|
1513
1521
|
Processing by Api::UserController#reauth as HTML
|
1514
1522
|
Parameters: {"uid"=>"nonexistent-user"}
|
1515
|
-
[1m[36mUser Load (0.
|
1516
|
-
Completed 200 OK in
|
1517
|
-
[1m[35m (0.
|
1518
|
-
[1m[36mUser Create (0.
|
1519
|
-
[1m[35m (
|
1520
|
-
[1m[35m (0.
|
1521
|
-
[1m[36mUser Create (0.
|
1522
|
-
[1m[35m (
|
1523
|
-
Processing by Api::UserController#reauth as HTML
|
1524
|
-
Parameters: {"uid"=>"a1s2d39689"}
|
1525
|
-
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "a1s2d39689"], ["LIMIT", 1]]
|
1526
|
-
[1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
|
1527
|
-
[1m[36mUser Update (0.5ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "t"], ["id", 5]]
|
1528
|
-
[1m[35m (4.7ms)[0m [1m[36mcommit transaction[0m
|
1529
|
-
Completed 200 OK in 11ms (ActiveRecord: 5.7ms)
|
1530
|
-
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 5], ["LIMIT", 1]]
|
1531
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1532
|
-
[1m[36mUser Create (0.5ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d39496"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
1533
|
-
[1m[35m (3.8ms)[0m [1m[36mcommit transaction[0m
|
1534
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1535
|
-
[1m[36mUser Create (0.6ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d31416"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
1536
|
-
[1m[35m (4.2ms)[0m [1m[36mcommit transaction[0m
|
1523
|
+
[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]]
|
1524
|
+
Completed 200 OK in 1ms (ActiveRecord: 0.1ms)
|
1525
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1526
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d34120"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
1527
|
+
[1m[35m (3.7ms)[0m [1m[36mcommit transaction[0m
|
1528
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1529
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d3562"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
1530
|
+
[1m[35m (4.4ms)[0m [1m[36mcommit transaction[0m
|
1537
1531
|
Processing by Api::UserController#reauth as HTML
|
1538
|
-
Parameters: {"uid"=>"
|
1532
|
+
Parameters: {"uid"=>"a1s2d34120"}
|
1539
1533
|
Rendering /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
|
1540
1534
|
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
1541
|
-
Rendered /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.
|
1535
|
+
Rendered /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.2ms)
|
1542
1536
|
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
1543
|
-
Completed 403 Forbidden in
|
1544
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1545
|
-
[1m[36mUser Create (0.8ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d35239"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
1546
|
-
[1m[35m (4.1ms)[0m [1m[36mcommit transaction[0m
|
1537
|
+
Completed 403 Forbidden in 7ms (Views: 7.0ms | ActiveRecord: 0.0ms)
|
1547
1538
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1548
|
-
[1m[36mUser Create (0.
|
1549
|
-
[1m[35m (3.
|
1539
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d38855"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
1540
|
+
[1m[35m (3.9ms)[0m [1m[36mcommit transaction[0m
|
1541
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1542
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d37123"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
1543
|
+
[1m[35m (4.4ms)[0m [1m[36mcommit transaction[0m
|
1544
|
+
Processing by Api::UserController#reauth as HTML
|
1545
|
+
Parameters: {"uid"=>"a1s2d38855"}
|
1546
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "a1s2d38855"], ["LIMIT", 1]]
|
1547
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1548
|
+
[1m[36mUser Update (0.2ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "t"], ["id", 8]]
|
1549
|
+
[1m[35m (4.5ms)[0m [1m[36mcommit transaction[0m
|
1550
|
+
Completed 200 OK in 7ms (ActiveRecord: 4.9ms)
|
1551
|
+
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 8], ["LIMIT", 1]]
|
1552
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1553
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d39348"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
1554
|
+
[1m[35m (4.8ms)[0m [1m[36mcommit transaction[0m
|
1555
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1556
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d31812"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
1557
|
+
[1m[35m (3.9ms)[0m [1m[36mcommit transaction[0m
|
1558
|
+
Processing by Api::UserController#update as HTML
|
1559
|
+
Parameters: {"uid"=>"a1s2d39348"}
|
1560
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "a1s2d39348"], ["LIMIT", 1]]
|
1561
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1562
|
+
[1m[36mUser Update (0.2ms)[0m [1m[33mUPDATE "users" SET "email" = ?, "name" = ?, "permissions" = ?, "organisation_slug" = ?, "organisation_content_id" = ? WHERE "users"."id" = ?[0m [["email", "user@domain.com"], ["name", "Joshua Marshall"], ["permissions", "---\n- signin\n- new permission\n"], ["organisation_slug", "justice-league"], ["organisation_content_id", "aae1319e-5788-4677-998c-f1a53af528d0"], ["id", 10]]
|
1563
|
+
[1m[35m (5.0ms)[0m [1m[36mcommit transaction[0m
|
1564
|
+
Completed 200 OK in 8ms (ActiveRecord: 5.3ms)
|
1565
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 10], ["LIMIT", 1]]
|
1566
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1567
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d3818"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
1568
|
+
[1m[35m (4.9ms)[0m [1m[36mcommit transaction[0m
|
1569
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1570
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d36663"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
1571
|
+
[1m[35m (4.6ms)[0m [1m[36mcommit transaction[0m
|
1550
1572
|
Processing by Api::UserController#update as HTML
|
1551
|
-
Parameters: {"uid"=>"
|
1573
|
+
Parameters: {"uid"=>"a1s2d3818"}
|
1552
1574
|
Rendering /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
|
1553
1575
|
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
1554
|
-
Rendered /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.
|
1576
|
+
Rendered /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.2ms)
|
1555
1577
|
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
1556
|
-
Completed 403 Forbidden in
|
1557
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1558
|
-
[1m[36mUser Create (0.6ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d37671"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
1559
|
-
[1m[35m (4.0ms)[0m [1m[36mcommit transaction[0m
|
1560
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1561
|
-
[1m[36mUser Create (0.5ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d372"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
1562
|
-
[1m[35m (4.7ms)[0m [1m[36mcommit transaction[0m
|
1563
|
-
Processing by Api::UserController#update as HTML
|
1564
|
-
Parameters: {"uid"=>"a1s2d37671"}
|
1565
|
-
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "a1s2d37671"], ["LIMIT", 1]]
|
1566
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1567
|
-
[1m[36mUser Update (0.6ms)[0m [1m[33mUPDATE "users" SET "email" = ?, "name" = ?, "permissions" = ?, "organisation_slug" = ?, "organisation_content_id" = ? WHERE "users"."id" = ?[0m [["email", "user@domain.com"], ["name", "Joshua Marshall"], ["permissions", "---\n- signin\n- new permission\n"], ["organisation_slug", "justice-league"], ["organisation_content_id", "aae1319e-5788-4677-998c-f1a53af528d0"], ["id", 11]]
|
1568
|
-
[1m[35m (3.9ms)[0m [1m[36mcommit transaction[0m
|
1569
|
-
Completed 200 OK in 11ms (ActiveRecord: 5.0ms)
|
1570
|
-
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 11], ["LIMIT", 1]]
|
1571
|
-
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "asd"], ["LIMIT", 1]]
|
1572
|
-
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["email", "user@example.com"], ["LIMIT", 1]]
|
1573
|
-
[1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
|
1574
|
-
[1m[36mUser Create (0.8ms)[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]]
|
1575
|
-
[1m[35m (5.3ms)[0m [1m[36mcommit transaction[0m
|
1576
|
-
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "asd"], ["LIMIT", 1]]
|
1577
|
-
[1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
|
1578
|
-
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
1578
|
+
Completed 403 Forbidden in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)
|