gds-sso 13.3.0 → 13.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/gds-sso/bearer_token.rb +1 -1
- data/lib/gds-sso/config.rb +7 -1
- data/lib/gds-sso/version.rb +1 -1
- data/spec/fixtures/integration/{signonotron2.sql → signon.sql} +0 -0
- data/spec/internal/db/combustion_test.sqlite +0 -0
- data/spec/internal/log/test.log +874 -874
- data/spec/requests/end_to_end_spec.rb +8 -8
- data/spec/support/{signonotron2_integration_helpers.rb → signon_integration_helpers.rb} +14 -14
- metadata +24 -26
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4c393c1d9c9bba89a0d99faa3c8bc93d3288865c
|
4
|
+
data.tar.gz: 43137c891d2a30c618b7c73294378b422b5abd37
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 17c5755ed0581e06fb11ca975372b962d3b62d1521c724753c16e7502c3236c7f52056bd8e871aef13eb5df7c1a2f49e8d23a777f16bcc144660b188372141aa
|
7
|
+
data.tar.gz: 5e60cbaa4fe46ab34429aa1213afa9c9ba6c6caa9f1940d99abce10dec9d9aa344b6640bddfbeede3a1209f1902321d9d3a6b932b4cd302583cb4158943dae85
|
data/README.md
CHANGED
@@ -183,7 +183,7 @@ Run the tests with:
|
|
183
183
|
bundle exec rake
|
184
184
|
```
|
185
185
|
|
186
|
-
By default, the tests use the master of [Signon](https://github.com/alphagov/
|
186
|
+
By default, the tests use the master of [Signon](https://github.com/alphagov/signon) for running integration tests. If you want to use a branch (or commit, or tag), you can run it like this:
|
187
187
|
|
188
188
|
```
|
189
189
|
SIGNON_COMMITISH=my_branch_name bundle exec rake
|
data/lib/gds-sso/bearer_token.rb
CHANGED
@@ -26,7 +26,7 @@ module GDS
|
|
26
26
|
|
27
27
|
# Our User code assumes we're getting our user data back
|
28
28
|
# via omniauth and so receiving it in omniauth's preferred
|
29
|
-
# structure. Here we're addressing
|
29
|
+
# structure. Here we're addressing signon directly so
|
30
30
|
# we need to transform the response ourselves.
|
31
31
|
def self.omniauth_style_response(response_body)
|
32
32
|
input = MultiJson.decode(response_body)['user']
|
data/lib/gds-sso/config.rb
CHANGED
@@ -28,7 +28,13 @@ module GDS
|
|
28
28
|
end
|
29
29
|
|
30
30
|
def self.use_mock_strategies?
|
31
|
-
[
|
31
|
+
default_strategy = if %w[development test].include?(Rails.env)
|
32
|
+
"mock"
|
33
|
+
else
|
34
|
+
"real"
|
35
|
+
end
|
36
|
+
|
37
|
+
ENV.fetch("GDS_SSO_STRATEGY", default_strategy) == "mock"
|
32
38
|
end
|
33
39
|
end
|
34
40
|
end
|
data/lib/gds-sso/version.rb
CHANGED
File without changes
|
Binary file
|
data/spec/internal/log/test.log
CHANGED
@@ -1,170 +1,179 @@
|
|
1
|
-
[1m[36m (8.
|
2
|
-
[1m[35m (
|
1
|
+
[1m[36m (8.9ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar NOT NULL, "uid" varchar NOT NULL, "email" varchar NOT NULL, "remotely_signed_out" boolean, "permissions" text, "organisation_slug" varchar, "organisation_content_id" varchar, "disabled" boolean DEFAULT 'f') [0m
|
2
|
+
[1m[35m (4.3ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
3
3
|
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
4
|
-
[1m[35m (4.
|
5
|
-
Started GET "/
|
6
|
-
Processing by ExampleController#
|
7
|
-
|
4
|
+
[1m[35m (4.8ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
5
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-11 18:11:07 +0000
|
6
|
+
Processing by ExampleController#restricted as HTML
|
7
|
+
Authenticating with gds_sso strategy
|
8
|
+
Completed in 8ms (ActiveRecord: 0.0ms)
|
9
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-11 18:11:07 +0000
|
10
|
+
Started GET "/auth/gds/callback?code=cb9de2b51662d2548bcdfed5e23899e888d2161499fa2b3ced9871baaac2b8fd&state=84b5d64754faaf9cd83ccd73389793181b3298770514eabe" for 127.0.0.1 at 2017-12-11 18:11:17 +0000
|
11
|
+
Processing by AuthenticationsController#callback as HTML
|
12
|
+
Parameters: {"code"=>"cb9de2b51662d2548bcdfed5e23899e888d2161499fa2b3ced9871baaac2b8fd", "state"=>"84b5d64754faaf9cd83ccd73389793181b3298770514eabe"}
|
13
|
+
Authenticating with gds_sso strategy
|
14
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
8
15
|
[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"]]
|
9
16
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
10
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions"
|
11
|
-
[1m[36m (7.
|
17
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "integration-uid"], ["email", "test@example-client.com"], ["name", "Test User"], ["permissions", "---\n- signin\n"]]
|
18
|
+
[1m[36m (7.5ms)[0m [1mcommit transaction[0m
|
19
|
+
[1m[35m (0.1ms)[0m begin transaction
|
20
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "f"], ["id", 1]]
|
21
|
+
[1m[35m (5.0ms)[0m commit transaction
|
22
|
+
Redirected to http://www.example-client.com/restricted
|
23
|
+
Completed 302 Found in 38ms (ActiveRecord: 13.6ms)
|
24
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-11 18:11:17 +0000
|
25
|
+
Processing by ExampleController#restricted as HTML
|
26
|
+
[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"]]
|
27
|
+
Rendered text template (0.0ms)
|
28
|
+
Completed 200 OK in 9ms (Views: 6.6ms | ActiveRecord: 0.2ms)
|
29
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-11 18:11:17 +0000
|
30
|
+
Processing by ExampleController#restricted as HTML
|
31
|
+
Authenticating with gds_sso strategy
|
32
|
+
Completed in 0ms (ActiveRecord: 0.0ms)
|
33
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-11 18:11:17 +0000
|
34
|
+
Started GET "/auth/gds/callback?code=956a16cf6a205042dacdde0af8cfbc0361a2683f51c22b7a98b9701478129a9f&state=707fd7c0cee1a34dd621b3fb75c001f797cd38a1807c8a0f" for 127.0.0.1 at 2017-12-11 18:11:17 +0000
|
35
|
+
Processing by AuthenticationsController#callback as HTML
|
36
|
+
Parameters: {"code"=>"956a16cf6a205042dacdde0af8cfbc0361a2683f51c22b7a98b9701478129a9f", "state"=>"707fd7c0cee1a34dd621b3fb75c001f797cd38a1807c8a0f"}
|
37
|
+
Authenticating with gds_sso strategy
|
12
38
|
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
13
39
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
14
40
|
[1m[35m (0.0ms)[0m commit transaction
|
15
|
-
[1m[
|
16
|
-
[1m[35m (0.0ms)[0m begin transaction
|
17
|
-
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
18
|
-
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
19
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
41
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
20
42
|
[1m[35m (0.0ms)[0m commit transaction
|
21
|
-
|
22
|
-
|
23
|
-
|
43
|
+
Redirected to http://www.example-client.com/restricted
|
44
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.3ms)
|
45
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-11 18:11:17 +0000
|
46
|
+
Processing by ExampleController#restricted as HTML
|
47
|
+
[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"]]
|
24
48
|
Rendered text template (0.0ms)
|
25
|
-
Completed 200 OK in
|
26
|
-
Started GET "/
|
27
|
-
Processing by ExampleController#
|
28
|
-
|
29
|
-
|
30
|
-
|
49
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
50
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2017-12-11 18:11:17 +0000
|
51
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
52
|
+
Authenticating with gds_sso strategy
|
53
|
+
Completed in 0ms (ActiveRecord: 0.0ms)
|
54
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-11 18:11:17 +0000
|
55
|
+
Started GET "/auth/gds/callback?code=4a5bd3d175141594811ef726f05905c93910f03ab7f57dfb66a2d59be22bea2e&state=ef621c5e69dfbdb935785c36d39dd72c71fcd82c7be2f0ad" for 127.0.0.1 at 2017-12-11 18:11:18 +0000
|
56
|
+
Processing by AuthenticationsController#callback as HTML
|
57
|
+
Parameters: {"code"=>"4a5bd3d175141594811ef726f05905c93910f03ab7f57dfb66a2d59be22bea2e", "state"=>"ef621c5e69dfbdb935785c36d39dd72c71fcd82c7be2f0ad"}
|
58
|
+
Authenticating with gds_sso strategy
|
31
59
|
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
32
60
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
33
|
-
[1m[35m (0.
|
34
|
-
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
35
|
-
[1m[35m (0.0ms)[0m begin transaction
|
36
|
-
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
37
|
-
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
61
|
+
[1m[35m (0.0ms)[0m commit transaction
|
38
62
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
39
63
|
[1m[35m (0.0ms)[0m commit transaction
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
[1m[
|
64
|
+
Redirected to http://www.example-client.com/this_requires_signin_permission
|
65
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.3ms)
|
66
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2017-12-11 18:11:18 +0000
|
67
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
68
|
+
[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"]]
|
45
69
|
Rendered text template (0.0ms)
|
46
|
-
Completed 200 OK in
|
47
|
-
Started GET "/
|
48
|
-
Processing by ExampleController#
|
49
|
-
Completed in 20ms (ActiveRecord: 0.0ms)
|
50
|
-
Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:16:25 +0000
|
51
|
-
Processing by ExampleController#restricted as HTML
|
70
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
71
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2017-12-11 18:11:18 +0000
|
72
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
52
73
|
Authenticating with gds_sso strategy
|
53
74
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
54
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-
|
55
|
-
Started GET "/auth/gds/callback?code=
|
75
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-11 18:11:18 +0000
|
76
|
+
Started GET "/auth/gds/callback?code=9cc9fbe29e53e26f82a2097c7bdaa453ede906178441eb04b872fc642686e1b9&state=cb7241bf67c5648e7c40332a2d61c17ef057d983176ea39c" for 127.0.0.1 at 2017-12-11 18:11:18 +0000
|
56
77
|
Processing by AuthenticationsController#callback as HTML
|
57
|
-
Parameters: {"code"=>"
|
78
|
+
Parameters: {"code"=>"9cc9fbe29e53e26f82a2097c7bdaa453ede906178441eb04b872fc642686e1b9", "state"=>"cb7241bf67c5648e7c40332a2d61c17ef057d983176ea39c"}
|
58
79
|
Authenticating with gds_sso strategy
|
59
80
|
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
60
81
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
61
|
-
[1m[
|
62
|
-
[1m[36m (
|
63
|
-
[1m[35m (0.0ms)[0m
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
[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"]]
|
82
|
+
[1m[35m (0.0ms)[0m commit transaction
|
83
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
84
|
+
[1m[35m (0.0ms)[0m commit transaction
|
85
|
+
Redirected to http://www.example-client.com/this_requires_signin_permission
|
86
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.3ms)
|
87
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2017-12-11 18:11:18 +0000
|
88
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
89
|
+
[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"]]
|
70
90
|
Rendered text template (0.0ms)
|
71
|
-
Completed 200 OK in
|
72
|
-
Started GET "/
|
91
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
92
|
+
Started GET "/" for 127.0.0.1 at 2017-12-11 18:11:18 +0000
|
93
|
+
Processing by ExampleController#index as HTML
|
94
|
+
Rendered text template (0.0ms)
|
95
|
+
Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
96
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-11 18:11:18 +0000
|
73
97
|
Processing by ExampleController#restricted as HTML
|
74
98
|
Authenticating with gds_sso strategy
|
75
99
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
76
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-
|
77
|
-
Started GET "/auth/gds/callback?code=
|
100
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-11 18:11:18 +0000
|
101
|
+
Started GET "/auth/gds/callback?code=98933978b918f4d259bc50c5122a23ee7a19caf329c6316d6d11add79707e486&state=8a400a04ec897d73b5be48980587e793a678a566a276c7db" for 127.0.0.1 at 2017-12-11 18:11:18 +0000
|
78
102
|
Processing by AuthenticationsController#callback as HTML
|
79
|
-
Parameters: {"code"=>"
|
103
|
+
Parameters: {"code"=>"98933978b918f4d259bc50c5122a23ee7a19caf329c6316d6d11add79707e486", "state"=>"8a400a04ec897d73b5be48980587e793a678a566a276c7db"}
|
80
104
|
Authenticating with gds_sso strategy
|
81
|
-
[1m[
|
82
|
-
[1m[
|
83
|
-
[1m[
|
84
|
-
[1m[
|
85
|
-
[1m[
|
105
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
106
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
107
|
+
[1m[35m (0.0ms)[0m commit transaction
|
108
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
109
|
+
[1m[35m (0.0ms)[0m commit transaction
|
86
110
|
Redirected to http://www.example-client.com/restricted
|
87
111
|
Completed 302 Found in 4ms (ActiveRecord: 0.3ms)
|
88
|
-
Started GET "/restricted" for 127.0.0.1 at 2017-12-
|
112
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-11 18:11:18 +0000
|
89
113
|
Processing by ExampleController#restricted as HTML
|
90
|
-
[1m[
|
114
|
+
[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"]]
|
91
115
|
Rendered text template (0.0ms)
|
92
116
|
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
93
|
-
Started GET "/restricted" for 127.0.0.1 at 2017-12-
|
117
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-11 18:11:18 +0000
|
94
118
|
Processing by ExampleController#restricted as HTML
|
95
119
|
Authenticating with gds_sso strategy
|
96
120
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
97
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-
|
98
|
-
Started GET "/auth/gds/callback?code=
|
121
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-11 18:11:18 +0000
|
122
|
+
Started GET "/auth/gds/callback?code=9333eb36cda5b4c064e89cfbe9517bb0c84bb94a51175f516b0fd8a5d7944dda&state=bb8ef775f0904f7ceddc82f63f145dbc1a776b613accda23" for 127.0.0.1 at 2017-12-11 18:11:18 +0000
|
99
123
|
Processing by AuthenticationsController#callback as HTML
|
100
|
-
Parameters: {"code"=>"
|
124
|
+
Parameters: {"code"=>"9333eb36cda5b4c064e89cfbe9517bb0c84bb94a51175f516b0fd8a5d7944dda", "state"=>"bb8ef775f0904f7ceddc82f63f145dbc1a776b613accda23"}
|
101
125
|
Authenticating with gds_sso strategy
|
102
|
-
[1m[
|
103
|
-
[1m[
|
104
|
-
[1m[
|
105
|
-
[1m[
|
106
|
-
[1m[
|
126
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
127
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
128
|
+
[1m[35m (0.0ms)[0m commit transaction
|
129
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
130
|
+
[1m[35m (0.0ms)[0m commit transaction
|
107
131
|
Redirected to http://www.example-client.com/restricted
|
108
132
|
Completed 302 Found in 4ms (ActiveRecord: 0.3ms)
|
109
|
-
Started GET "/restricted" for 127.0.0.1 at 2017-12-
|
133
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-11 18:11:18 +0000
|
110
134
|
Processing by ExampleController#restricted as HTML
|
111
|
-
[1m[
|
135
|
+
[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"]]
|
112
136
|
Rendered text template (0.0ms)
|
113
|
-
Completed 200 OK in 1ms (Views: 0.
|
114
|
-
Started GET "/
|
115
|
-
Processing by ExampleController#
|
137
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
138
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-12 14:16:18 +0000
|
139
|
+
Processing by ExampleController#restricted as HTML
|
140
|
+
Authenticating with gds_sso strategy
|
141
|
+
Completed in 1ms (ActiveRecord: 0.0ms)
|
142
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-12 14:16:18 +0000
|
143
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-11 18:11:18 +0000
|
144
|
+
Processing by ExampleController#restricted as HTML
|
116
145
|
Authenticating with gds_sso strategy
|
117
146
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
118
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-
|
119
|
-
Started GET "/auth/gds/callback?code=
|
147
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-11 18:11:18 +0000
|
148
|
+
Started GET "/auth/gds/callback?code=94eb9c2bc9e351e9148932f1d8252acde7d89261b9d93c034753cab2c749f935&state=1341d863625dc14bb051a0abd8475e3e3c069c61f7bc4e0f" for 127.0.0.1 at 2017-12-11 18:11:19 +0000
|
120
149
|
Processing by AuthenticationsController#callback as HTML
|
121
|
-
Parameters: {"code"=>"
|
150
|
+
Parameters: {"code"=>"94eb9c2bc9e351e9148932f1d8252acde7d89261b9d93c034753cab2c749f935", "state"=>"1341d863625dc14bb051a0abd8475e3e3c069c61f7bc4e0f"}
|
122
151
|
Authenticating with gds_sso strategy
|
123
|
-
[1m[
|
124
|
-
[1m[
|
125
|
-
[1m[
|
126
|
-
[1m[
|
127
|
-
[1m[
|
128
|
-
Redirected to http://www.example-client.com/
|
152
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
153
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
154
|
+
[1m[35m (0.0ms)[0m commit transaction
|
155
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
156
|
+
[1m[35m (0.0ms)[0m commit transaction
|
157
|
+
Redirected to http://www.example-client.com/restricted
|
129
158
|
Completed 302 Found in 4ms (ActiveRecord: 0.3ms)
|
130
|
-
Started GET "/
|
131
|
-
Processing by ExampleController#
|
132
|
-
[1m[
|
159
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-11 18:11:19 +0000
|
160
|
+
Processing by ExampleController#restricted as HTML
|
161
|
+
[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"]]
|
133
162
|
Rendered text template (0.0ms)
|
134
|
-
Completed 200 OK in
|
135
|
-
Started GET "/
|
136
|
-
Processing by ExampleController#
|
137
|
-
Authenticating with gds_sso strategy
|
138
|
-
Completed in 0ms (ActiveRecord: 0.0ms)
|
139
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-08 09:16:35 +0000
|
140
|
-
Started GET "/auth/gds/callback?code=f01dd1d5ac1fe419835f1697ce79b98eb358155d22085876aaf1a8d63f8a0436&state=d6aad2ea181e08b726c78d9ad6856ef343f9c746f2325c0d" for 127.0.0.1 at 2017-12-08 09:16:35 +0000
|
141
|
-
Processing by AuthenticationsController#callback as HTML
|
142
|
-
Parameters: {"code"=>"f01dd1d5ac1fe419835f1697ce79b98eb358155d22085876aaf1a8d63f8a0436", "state"=>"d6aad2ea181e08b726c78d9ad6856ef343f9c746f2325c0d"}
|
143
|
-
Authenticating with gds_sso strategy
|
144
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
145
|
-
[1m[35m (0.1ms)[0m begin transaction
|
146
|
-
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
147
|
-
[1m[35m (0.0ms)[0m begin transaction
|
148
|
-
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
149
|
-
Redirected to http://www.example-client.com/this_requires_signin_permission
|
150
|
-
Completed 302 Found in 3ms (ActiveRecord: 0.3ms)
|
151
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2017-12-08 09:16:35 +0000
|
152
|
-
Processing by ExampleController#this_requires_signin_permission as HTML
|
163
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
164
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-12 14:06:19 +0000
|
165
|
+
Processing by ExampleController#restricted as HTML
|
153
166
|
[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"]]
|
154
167
|
Rendered text template (0.0ms)
|
155
168
|
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
156
|
-
Started GET "/" for 127.0.0.1 at 2017-12-
|
157
|
-
Processing by ExampleController#index as HTML
|
158
|
-
Rendered text template (0.0ms)
|
159
|
-
Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
160
|
-
Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:16:35 +0000
|
169
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-11 18:11:19 +0000
|
161
170
|
Processing by ExampleController#restricted as HTML
|
162
171
|
Authenticating with gds_sso strategy
|
163
172
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
164
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-
|
165
|
-
Started GET "/auth/gds/callback?code=
|
173
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-11 18:11:19 +0000
|
174
|
+
Started GET "/auth/gds/callback?code=cbc0af25f5614c13b339bd158d7739160c436eb098f517da3da0dced875ac8df&state=79f4d622f5820519b9d1d1cbbcc6c0200521870aef31d76b" for 127.0.0.1 at 2017-12-11 18:11:19 +0000
|
166
175
|
Processing by AuthenticationsController#callback as HTML
|
167
|
-
Parameters: {"code"=>"
|
176
|
+
Parameters: {"code"=>"cbc0af25f5614c13b339bd158d7739160c436eb098f517da3da0dced875ac8df", "state"=>"79f4d622f5820519b9d1d1cbbcc6c0200521870aef31d76b"}
|
168
177
|
Authenticating with gds_sso strategy
|
169
178
|
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
170
179
|
[1m[35m (0.1ms)[0m begin transaction
|
@@ -173,833 +182,829 @@ Authenticating with gds_sso strategy
|
|
173
182
|
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
174
183
|
Redirected to http://www.example-client.com/restricted
|
175
184
|
Completed 302 Found in 4ms (ActiveRecord: 0.3ms)
|
176
|
-
Started GET "/restricted" for 127.0.0.1 at 2017-12-
|
185
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-11 18:11:19 +0000
|
177
186
|
Processing by ExampleController#restricted as HTML
|
178
187
|
[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"]]
|
179
188
|
Rendered text template (0.0ms)
|
180
189
|
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
181
|
-
Started GET "/restricted" for 127.0.0.1 at 2017-12-
|
190
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-12 14:16:19 +0000
|
182
191
|
Processing by ExampleController#restricted as HTML
|
183
192
|
Authenticating with gds_sso strategy
|
184
193
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
185
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-
|
186
|
-
Started GET "/auth/gds/callback?code=
|
194
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-12 14:16:19 +0000
|
195
|
+
Started GET "/auth/gds/callback?code=e305ad6667dbb7cc98eadb1acacd8b2eba11a098d6ec7c8b0c487cec5641f260&state=437717250f38381a5389caeab288158cbc86a59198cba4d3" for 127.0.0.1 at 2017-12-12 14:16:19 +0000
|
187
196
|
Processing by AuthenticationsController#callback as HTML
|
188
|
-
Parameters: {"code"=>"
|
197
|
+
Parameters: {"code"=>"e305ad6667dbb7cc98eadb1acacd8b2eba11a098d6ec7c8b0c487cec5641f260", "state"=>"437717250f38381a5389caeab288158cbc86a59198cba4d3"}
|
189
198
|
Authenticating with gds_sso strategy
|
190
199
|
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
191
|
-
[1m[35m (0.
|
192
|
-
[1m[36m (0.
|
193
|
-
[1m[35m (0.
|
200
|
+
[1m[35m (0.1ms)[0m begin transaction
|
201
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
202
|
+
[1m[35m (0.1ms)[0m begin transaction
|
194
203
|
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
195
204
|
Redirected to http://www.example-client.com/restricted
|
196
|
-
Completed 302 Found in
|
197
|
-
Started GET "/restricted" for 127.0.0.1 at 2017-12-
|
205
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
|
206
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-12 14:16:19 +0000
|
198
207
|
Processing by ExampleController#restricted as HTML
|
199
208
|
[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"]]
|
200
209
|
Rendered text template (0.0ms)
|
201
210
|
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
202
|
-
Started GET "/restricted" for 127.0.0.1 at 2017-12-
|
211
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-11 18:11:19 +0000
|
203
212
|
Processing by ExampleController#restricted as HTML
|
204
213
|
Authenticating with gds_sso strategy
|
205
214
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
206
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-
|
207
|
-
Started GET "/auth/gds/callback?code=
|
215
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-11 18:11:19 +0000
|
216
|
+
Started GET "/auth/gds/callback?code=031a03cddf3ac36ad0a36c159a263f073cd49e07d31037d6abb934b70443b068&state=22329f061cc3c4281f9f532bdfe854fe10e88af0cc3c6f4b" for 127.0.0.1 at 2017-12-11 18:11:19 +0000
|
208
217
|
Processing by AuthenticationsController#callback as HTML
|
209
|
-
Parameters: {"code"=>"
|
218
|
+
Parameters: {"code"=>"031a03cddf3ac36ad0a36c159a263f073cd49e07d31037d6abb934b70443b068", "state"=>"22329f061cc3c4281f9f532bdfe854fe10e88af0cc3c6f4b"}
|
210
219
|
Authenticating with gds_sso strategy
|
211
220
|
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
212
221
|
[1m[35m (0.1ms)[0m begin transaction
|
213
|
-
[1m[36m (0.
|
222
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
214
223
|
[1m[35m (0.0ms)[0m begin transaction
|
215
|
-
[1m[36m (0.
|
224
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
216
225
|
Redirected to http://www.example-client.com/restricted
|
217
226
|
Completed 302 Found in 4ms (ActiveRecord: 0.3ms)
|
218
|
-
Started GET "/restricted" for 127.0.0.1 at 2017-12-
|
227
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-11 18:11:19 +0000
|
219
228
|
Processing by ExampleController#restricted as HTML
|
220
229
|
[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"]]
|
221
230
|
Rendered text template (0.0ms)
|
222
231
|
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
223
|
-
|
232
|
+
[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"]]
|
233
|
+
[1m[35m (0.0ms)[0m begin transaction
|
234
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "t"], ["id", 1]]
|
235
|
+
[1m[35m (6.4ms)[0m commit transaction
|
236
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-11 18:11:19 +0000
|
224
237
|
Processing by ExampleController#restricted as HTML
|
225
238
|
[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"]]
|
226
|
-
Rendered text template (0.0ms)
|
227
|
-
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
228
|
-
Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:16:36 +0000
|
229
|
-
Processing by ExampleController#restricted as HTML
|
230
239
|
Authenticating with gds_sso strategy
|
231
|
-
Completed in
|
232
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-
|
233
|
-
Started GET "/auth/gds/callback?code=
|
240
|
+
Completed in 1ms (ActiveRecord: 0.1ms)
|
241
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-11 18:11:19 +0000
|
242
|
+
Started GET "/auth/gds/callback?code=01375adb3b43310907776cf6d0cd702cd0511a36749fe82516d310770aa170c4&state=e52ee1c756b07e3b1d19ed9e9facfa55fbe696e3b3c9f9ca" for 127.0.0.1 at 2017-12-11 18:11:19 +0000
|
234
243
|
Processing by AuthenticationsController#callback as HTML
|
235
|
-
Parameters: {"code"=>"
|
244
|
+
Parameters: {"code"=>"01375adb3b43310907776cf6d0cd702cd0511a36749fe82516d310770aa170c4", "state"=>"e52ee1c756b07e3b1d19ed9e9facfa55fbe696e3b3c9f9ca"}
|
236
245
|
Authenticating with gds_sso strategy
|
237
246
|
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
238
247
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
239
|
-
[1m[35m (0.
|
248
|
+
[1m[35m (0.0ms)[0m commit transaction
|
240
249
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
241
|
-
[1m[
|
250
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", "f"], ["id", 1]]
|
251
|
+
[1m[36m (5.9ms)[0m [1mcommit transaction[0m
|
242
252
|
Redirected to http://www.example-client.com/restricted
|
243
|
-
Completed 302 Found in
|
244
|
-
Started GET "/restricted" for 127.0.0.1 at 2017-12-
|
253
|
+
Completed 302 Found in 10ms (ActiveRecord: 6.4ms)
|
254
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-11 18:11:19 +0000
|
245
255
|
Processing by ExampleController#restricted as HTML
|
246
|
-
[1m[
|
256
|
+
[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"]]
|
247
257
|
Rendered text template (0.0ms)
|
248
|
-
Completed 200 OK in 1ms (Views: 0.
|
249
|
-
Started GET "/
|
250
|
-
Processing by ExampleController#
|
251
|
-
|
252
|
-
|
253
|
-
|
254
|
-
|
255
|
-
|
256
|
-
|
257
|
-
|
258
|
-
|
259
|
-
Started GET "/auth/gds/callback?code=898f4ce3a736f6e2010ff4ff80658592debe844c05212d499a23fdde59359d28&state=38e017ec36bb74ebb64d287aead6899b070a94442f6e9328" for 127.0.0.1 at 2017-12-08 09:16:36 +0000
|
260
|
-
Processing by AuthenticationsController#callback as HTML
|
261
|
-
Parameters: {"code"=>"898f4ce3a736f6e2010ff4ff80658592debe844c05212d499a23fdde59359d28", "state"=>"38e017ec36bb74ebb64d287aead6899b070a94442f6e9328"}
|
262
|
-
Authenticating with gds_sso strategy
|
263
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
258
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
259
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2017-12-11 18:11:19 +0000
|
260
|
+
Processing by ExampleController#this_requires_signin_permission as JSON
|
261
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
262
|
+
[1m[35m (0.1ms)[0m begin transaction
|
263
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "disabled" = ? WHERE "users"."id" = ?[0m [["disabled", nil], ["id", 1]]
|
264
|
+
[1m[35m (5.5ms)[0m commit transaction
|
265
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
266
|
+
[1m[35m (0.1ms)[0m begin transaction
|
267
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
268
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
264
269
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
265
270
|
[1m[35m (0.0ms)[0m commit transaction
|
266
|
-
[1m[
|
267
|
-
[1m[35m (0.
|
268
|
-
|
269
|
-
|
270
|
-
|
271
|
-
Processing by ExampleController#restricted as HTML
|
272
|
-
[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"]]
|
271
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
272
|
+
[1m[35m (0.1ms)[0m begin transaction
|
273
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
274
|
+
[1m[35m (0.0ms)[0m begin transaction
|
275
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
273
276
|
Rendered text template (0.0ms)
|
274
|
-
Completed 200 OK in
|
275
|
-
|
277
|
+
Completed 200 OK in 75ms (Views: 0.3ms | ActiveRecord: 6.4ms)
|
278
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-11 18:11:20 +0000
|
279
|
+
Processing by ExampleController#restricted as JSON
|
280
|
+
Completed in 12ms (ActiveRecord: 0.0ms)
|
281
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-11 18:11:20 +0000
|
282
|
+
Processing by ExampleController#restricted as JSON
|
283
|
+
Completed in 22ms (ActiveRecord: 0.0ms)
|
284
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-11 18:11:20 +0000
|
285
|
+
Processing by ExampleController#restricted as JSON
|
286
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
276
287
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
277
|
-
[1m[
|
278
|
-
[1m[
|
279
|
-
|
280
|
-
|
281
|
-
[1m[
|
282
|
-
|
283
|
-
|
284
|
-
|
285
|
-
Started GET "/auth/gds/callback?code=1536f0c355d3e69ab067eb9b277ca8a1e55a994f351cdd0a4000216ec8b9373d&state=a5a7bdcf03de4298f063b99dd9af9f9dc38e55c46e1250af" for 127.0.0.1 at 2017-12-08 09:16:37 +0000
|
286
|
-
Processing by AuthenticationsController#callback as HTML
|
287
|
-
Parameters: {"code"=>"1536f0c355d3e69ab067eb9b277ca8a1e55a994f351cdd0a4000216ec8b9373d", "state"=>"a5a7bdcf03de4298f063b99dd9af9f9dc38e55c46e1250af"}
|
288
|
-
Authenticating with gds_sso strategy
|
289
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
288
|
+
[1m[35m (0.3ms)[0m commit transaction
|
289
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
290
|
+
[1m[35m (0.0ms)[0m begin transaction
|
291
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
292
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
293
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
294
|
+
[1m[35m (0.0ms)[0m commit transaction
|
295
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
290
296
|
[1m[35m (0.1ms)[0m begin transaction
|
291
297
|
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
292
298
|
[1m[35m (0.0ms)[0m begin transaction
|
293
|
-
[1m[
|
294
|
-
[1m[35m (4.9ms)[0m commit transaction
|
295
|
-
Redirected to http://www.example-client.com/restricted
|
296
|
-
Completed 302 Found in 9ms (ActiveRecord: 5.3ms)
|
297
|
-
Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:16:37 +0000
|
298
|
-
Processing by ExampleController#restricted as HTML
|
299
|
-
[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"]]
|
299
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
300
300
|
Rendered text template (0.0ms)
|
301
|
-
Completed 200 OK in
|
301
|
+
Completed 200 OK in 59ms (Views: 0.3ms | ActiveRecord: 0.8ms)
|
302
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "asd"]]
|
303
|
+
[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"]]
|
302
304
|
[1m[35m (0.1ms)[0m begin transaction
|
303
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["uid", "
|
304
|
-
[1m[35m (4.
|
305
|
-
[1m[
|
306
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d39615"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
307
|
-
[1m[36m (4.8ms)[0m [1mcommit transaction[0m
|
308
|
-
Processing by Api::UserController#update as HTML
|
309
|
-
Parameters: {"uid"=>"a1s2d38537"}
|
310
|
-
Rendered /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.2ms)
|
311
|
-
Completed 403 Forbidden in 7ms (Views: 6.2ms | ActiveRecord: 0.0ms)
|
305
|
+
[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]]
|
306
|
+
[1m[35m (4.0ms)[0m commit transaction
|
307
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "asd"]]
|
312
308
|
[1m[35m (0.0ms)[0m begin transaction
|
313
|
-
[1m[
|
314
|
-
[1m[35m (
|
315
|
-
[1m[
|
316
|
-
[1m[
|
317
|
-
[1m[36m (4.9ms)[0m [1mcommit transaction[0m
|
318
|
-
Processing by Api::UserController#update as HTML
|
319
|
-
Parameters: {"uid"=>"a1s2d35045"}
|
320
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "a1s2d35045"]]
|
321
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
322
|
-
[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", 4]]
|
323
|
-
[1m[36m (5.6ms)[0m [1mcommit transaction[0m
|
324
|
-
Completed 200 OK in 9ms (ActiveRecord: 5.9ms)
|
325
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]]
|
309
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
310
|
+
[1m[35m (0.1ms)[0m begin transaction
|
311
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["uid", "a1s2d39973"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
|
312
|
+
[1m[35m (5.0ms)[0m commit transaction
|
326
313
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
327
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "
|
328
|
-
[1m[36m (
|
329
|
-
[1m[35m (0.0ms)[0m begin transaction
|
330
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["uid", "a1s2d336"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
331
|
-
[1m[35m (5.1ms)[0m commit transaction
|
314
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d37788"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
315
|
+
[1m[36m (4.3ms)[0m [1mcommit transaction[0m
|
332
316
|
Processing by Api::UserController#reauth as HTML
|
333
|
-
Parameters: {"uid"=>"
|
334
|
-
|
335
|
-
Completed
|
317
|
+
Parameters: {"uid"=>"a1s2d39973"}
|
318
|
+
Rendered /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.2ms)
|
319
|
+
Completed 403 Forbidden in 7ms (Views: 6.5ms | ActiveRecord: 0.0ms)
|
336
320
|
[1m[35m (0.1ms)[0m begin transaction
|
337
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["uid", "
|
338
|
-
[1m[35m (
|
321
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["uid", "a1s2d33251"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
|
322
|
+
[1m[35m (7.1ms)[0m commit transaction
|
339
323
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
340
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "
|
341
|
-
[1m[36m (
|
324
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d34696"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
325
|
+
[1m[36m (6.0ms)[0m [1mcommit transaction[0m
|
342
326
|
Processing by Api::UserController#reauth as HTML
|
343
|
-
Parameters: {"uid"=>"
|
344
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "
|
327
|
+
Parameters: {"uid"=>"nonexistent-user"}
|
328
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "nonexistent-user"]]
|
329
|
+
Completed 200 OK in 1ms (ActiveRecord: 0.1ms)
|
345
330
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
346
|
-
[1m[35mSQL (0.1ms)[0m
|
347
|
-
[1m[36m (
|
348
|
-
Completed 200 OK in 7ms (ActiveRecord: 5.1ms)
|
349
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 8]]
|
350
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
351
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d3145"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
|
352
|
-
[1m[36m (7.6ms)[0m [1mcommit transaction[0m
|
331
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d36386"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
|
332
|
+
[1m[36m (3.8ms)[0m [1mcommit transaction[0m
|
353
333
|
[1m[35m (0.0ms)[0m begin transaction
|
354
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["uid", "
|
355
|
-
[1m[35m (4.
|
334
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["uid", "a1s2d34506"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
335
|
+
[1m[35m (4.7ms)[0m commit transaction
|
356
336
|
Processing by Api::UserController#reauth as HTML
|
357
|
-
Parameters: {"uid"=>"
|
358
|
-
|
359
|
-
|
360
|
-
[1m[
|
361
|
-
[1m[
|
337
|
+
Parameters: {"uid"=>"a1s2d36386"}
|
338
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "a1s2d36386"]]
|
339
|
+
[1m[35m (0.0ms)[0m begin transaction
|
340
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "t"], ["id", 7]]
|
341
|
+
[1m[35m (4.9ms)[0m commit transaction
|
342
|
+
Completed 200 OK in 7ms (ActiveRecord: 5.1ms)
|
343
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 7]]
|
344
|
+
[1m[35m (0.1ms)[0m begin transaction
|
345
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["uid", "a1s2d32583"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
|
346
|
+
[1m[35m (4.7ms)[0m commit transaction
|
347
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
348
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d33082"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
349
|
+
[1m[36m (3.8ms)[0m [1mcommit transaction[0m
|
350
|
+
Processing by Api::UserController#update as HTML
|
351
|
+
Parameters: {"uid"=>"a1s2d32583"}
|
352
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "a1s2d32583"]]
|
362
353
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
363
|
-
[1m[35mSQL (0.2ms)[0m
|
364
|
-
[1m[36m (
|
365
|
-
|
354
|
+
[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", 9]]
|
355
|
+
[1m[36m (4.0ms)[0m [1mcommit transaction[0m
|
356
|
+
Completed 200 OK in 7ms (ActiveRecord: 4.4ms)
|
357
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 9]]
|
366
358
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
367
|
-
[1m[
|
368
|
-
[1m[
|
369
|
-
[1m[35m (
|
370
|
-
[1m[
|
359
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d38564"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
|
360
|
+
[1m[36m (5.0ms)[0m [1mcommit transaction[0m
|
361
|
+
[1m[35m (0.1ms)[0m begin transaction
|
362
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["uid", "a1s2d3245"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
363
|
+
[1m[35m (5.4ms)[0m commit transaction
|
364
|
+
Processing by Api::UserController#update as HTML
|
365
|
+
Parameters: {"uid"=>"a1s2d38564"}
|
366
|
+
Rendered /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.1ms)
|
367
|
+
Completed 403 Forbidden in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
|
368
|
+
[1m[35m (4.7ms)[0m [1m[35mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar NOT NULL, "uid" varchar NOT NULL, "email" varchar NOT NULL, "remotely_signed_out" boolean, "permissions" text, "organisation_slug" varchar, "organisation_content_id" varchar, "disabled" boolean DEFAULT 'f')[0m
|
369
|
+
[1m[35m (5.2ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
370
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", :environment], ["LIMIT", 1]]
|
371
371
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
372
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "environment"], ["value", "test"], ["created_at", 2017-12-
|
373
|
-
[1m[35m (
|
374
|
-
[1m[35m (
|
372
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "environment"], ["value", "test"], ["created_at", 2017-12-11 18:11:27 UTC], ["updated_at", 2017-12-11 18:11:27 UTC]]
|
373
|
+
[1m[35m (4.3ms)[0m [1m[36mcommit transaction[0m
|
374
|
+
[1m[35m (5.1ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
|
375
375
|
[1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", :environment], ["LIMIT", 1]]
|
376
376
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
377
|
-
[1m[35m (0.
|
378
|
-
|
379
|
-
|
377
|
+
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
378
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2017-12-11 18:11:27 +0000
|
379
|
+
Processing by ExampleController#this_requires_signin_permission as JSON
|
380
|
+
[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]]
|
381
|
+
[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]]
|
380
382
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
381
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions", "
|
382
|
-
[1m[35m (
|
383
|
-
[1m[36mUser Load (0.
|
383
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions", "disabled") VALUES (?, ?, ?, ?, ?)[0m [["name", "Test User"], ["uid", "integration-uid"], ["email", "test@example-client.com"], ["permissions", "---\n- signin\n"], ["disabled", nil]]
|
384
|
+
[1m[35m (6.5ms)[0m [1m[36mcommit transaction[0m
|
385
|
+
[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]]
|
386
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
387
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
388
|
+
[1m[36mCACHE (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
384
389
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
390
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
391
|
+
[1m[36mCACHE (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
392
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
385
393
|
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
386
394
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
387
|
-
[1m[35mSQL (0.2ms)[0m [1m[
|
388
|
-
[1m[35m (
|
389
|
-
|
390
|
-
|
391
|
-
|
392
|
-
|
393
|
-
|
394
|
-
|
395
|
-
|
396
|
-
|
395
|
+
[1m[35mSQL (0.2ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", false], ["id", 1]]
|
396
|
+
[1m[35m (4.1ms)[0m [1m[36mcommit transaction[0m
|
397
|
+
Rendering text template
|
398
|
+
Rendered text template (0.0ms)
|
399
|
+
Completed 200 OK in 118ms (Views: 5.5ms | ActiveRecord: 12.7ms)
|
400
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-11 18:11:28 +0000
|
401
|
+
Processing by ExampleController#restricted as JSON
|
402
|
+
Completed in 12ms (ActiveRecord: 0.0ms)
|
403
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-11 18:11:28 +0000
|
404
|
+
Processing by ExampleController#restricted as JSON
|
405
|
+
Completed in 26ms (ActiveRecord: 0.0ms)
|
406
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-11 18:11:28 +0000
|
407
|
+
Processing by ExampleController#restricted as JSON
|
408
|
+
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
397
409
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
398
|
-
[1m[
|
399
|
-
[1m[
|
400
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
401
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d31177"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
402
|
-
[1m[35m (4.7ms)[0m [1m[36mcommit transaction[0m
|
403
|
-
Processing by Api::UserController#update as HTML
|
404
|
-
Parameters: {"uid"=>"a1s2d32239"}
|
405
|
-
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "a1s2d32239"], ["LIMIT", 1]]
|
410
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
411
|
+
[1m[36mCACHE (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
406
412
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
407
|
-
[1m[
|
408
|
-
[1m[
|
409
|
-
Completed 200 OK in 10ms (ActiveRecord: 6.6ms)
|
410
|
-
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 4], ["LIMIT", 1]]
|
413
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
414
|
+
[1m[36mCACHE (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
411
415
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
412
|
-
[1m[
|
413
|
-
[1m[
|
414
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
415
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d31147"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
416
|
-
[1m[35m (5.6ms)[0m [1m[36mcommit transaction[0m
|
417
|
-
Processing by Api::UserController#reauth as HTML
|
418
|
-
Parameters: {"uid"=>"a1s2d34143"}
|
419
|
-
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "a1s2d34143"], ["LIMIT", 1]]
|
420
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
421
|
-
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", true], ["id", 6]]
|
422
|
-
[1m[35m (5.3ms)[0m [1m[36mcommit transaction[0m
|
423
|
-
Completed 200 OK in 7ms (ActiveRecord: 5.5ms)
|
424
|
-
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 6], ["LIMIT", 1]]
|
416
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
417
|
+
[1m[36mCACHE (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
425
418
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
426
|
-
[1m[
|
427
|
-
|
428
|
-
|
429
|
-
|
430
|
-
|
431
|
-
Processing by
|
432
|
-
|
433
|
-
|
434
|
-
|
435
|
-
|
419
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
420
|
+
Rendering text template
|
421
|
+
Rendered text template (0.0ms)
|
422
|
+
Completed 200 OK in 64ms (Views: 0.3ms | ActiveRecord: 0.7ms)
|
423
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-11 18:11:28 +0000
|
424
|
+
Processing by ExampleController#restricted as HTML
|
425
|
+
Authenticating with gds_sso strategy
|
426
|
+
Completed in 0ms (ActiveRecord: 0.0ms)
|
427
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-11 18:11:28 +0000
|
428
|
+
Started GET "/auth/gds/callback?code=e2263a1c3d4c9a0a53cbcc2c3e09f5fa71afed2014dbfa1fc2a514b81d065cee&state=5fe627979619259d77d027bee8ce3ffad76f2f905fbdf1f6" for 127.0.0.1 at 2017-12-11 18:11:28 +0000
|
429
|
+
Processing by AuthenticationsController#callback as HTML
|
430
|
+
Parameters: {"code"=>"e2263a1c3d4c9a0a53cbcc2c3e09f5fa71afed2014dbfa1fc2a514b81d065cee", "state"=>"5fe627979619259d77d027bee8ce3ffad76f2f905fbdf1f6"}
|
431
|
+
Authenticating with gds_sso strategy
|
432
|
+
[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]]
|
436
433
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
437
|
-
[1m[35mSQL (0.2ms)[0m [1m[
|
438
|
-
[1m[35m (5.
|
439
|
-
|
440
|
-
|
441
|
-
|
442
|
-
Processing by
|
443
|
-
|
444
|
-
[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]]
|
445
|
-
Completed 200 OK in 1ms (ActiveRecord: 0.1ms)
|
446
|
-
Started GET "/" for 127.0.0.1 at 2017-12-08 09:16:48 +0000
|
447
|
-
Processing by ExampleController#index as HTML
|
434
|
+
[1m[35mSQL (0.2ms)[0m [1m[33mUPDATE "users" SET "disabled" = ? WHERE "users"."id" = ?[0m [["disabled", false], ["id", 1]]
|
435
|
+
[1m[35m (5.1ms)[0m [1m[36mcommit transaction[0m
|
436
|
+
Redirected to http://www.example-client.com/restricted
|
437
|
+
Completed 302 Found in 9ms (ActiveRecord: 5.6ms)
|
438
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-11 18:11:28 +0000
|
439
|
+
Processing by ExampleController#restricted as HTML
|
440
|
+
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", false], ["LIMIT", 1]]
|
448
441
|
Rendering text template
|
449
442
|
Rendered text template (0.0ms)
|
450
|
-
Completed 200 OK in
|
451
|
-
Started GET "/restricted" for 127.0.0.1 at 2017-12-
|
443
|
+
Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.2ms)
|
444
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-11 18:11:28 +0000
|
452
445
|
Processing by ExampleController#restricted as HTML
|
453
446
|
Authenticating with gds_sso strategy
|
454
|
-
Completed in
|
455
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-
|
456
|
-
Started GET "/auth/gds/callback?code=
|
447
|
+
Completed in 0ms (ActiveRecord: 0.0ms)
|
448
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-11 18:11:28 +0000
|
449
|
+
Started GET "/auth/gds/callback?code=af8a0951e6944ed5a7c3810eeb289dfd04ccf5b37b4b96b049afde1d72fd9050&state=057fd43a725d5c084c9befca8ad9c131474ccba386bdc8d5" for 127.0.0.1 at 2017-12-11 18:11:28 +0000
|
457
450
|
Processing by AuthenticationsController#callback as HTML
|
458
|
-
Parameters: {"code"=>"
|
451
|
+
Parameters: {"code"=>"af8a0951e6944ed5a7c3810eeb289dfd04ccf5b37b4b96b049afde1d72fd9050", "state"=>"057fd43a725d5c084c9befca8ad9c131474ccba386bdc8d5"}
|
459
452
|
Authenticating with gds_sso strategy
|
460
453
|
[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]]
|
461
|
-
[1m[
|
462
|
-
[1m[35m (0.
|
463
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Test User"], ["uid", "integration-uid"], ["email", "test@example-client.com"], ["permissions", "---\n- signin\n"]]
|
464
|
-
[1m[35m (5.9ms)[0m [1m[36mcommit transaction[0m
|
465
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
466
|
-
[1m[35mSQL (0.2ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", false], ["id", 12]]
|
467
|
-
[1m[35m (4.1ms)[0m [1m[36mcommit transaction[0m
|
454
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
455
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
468
456
|
Redirected to http://www.example-client.com/restricted
|
469
|
-
Completed 302 Found in
|
470
|
-
Started GET "/restricted" for 127.0.0.1 at 2017-12-
|
457
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.3ms)
|
458
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-11 18:11:28 +0000
|
471
459
|
Processing by ExampleController#restricted as HTML
|
472
460
|
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", false], ["LIMIT", 1]]
|
473
461
|
Rendering text template
|
474
462
|
Rendered text template (0.0ms)
|
475
463
|
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.2ms)
|
476
|
-
Started GET "/
|
464
|
+
Started GET "/" for 127.0.0.1 at 2017-12-11 18:11:28 +0000
|
465
|
+
Processing by ExampleController#index as HTML
|
466
|
+
Rendering text template
|
467
|
+
Rendered text template (0.0ms)
|
468
|
+
Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
|
469
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2017-12-11 18:11:28 +0000
|
477
470
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
478
471
|
Authenticating with gds_sso strategy
|
479
472
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
480
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-
|
481
|
-
Started GET "/auth/gds/callback?code=
|
473
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-11 18:11:28 +0000
|
474
|
+
Started GET "/auth/gds/callback?code=3e71e71fecb5e846cd9ca44ae8e362485e8678654aa61948a19670bdb101f67e&state=4a68ab4e46dbc69a7fd2b683dcd5960fea34c25f2a430ebe" for 127.0.0.1 at 2017-12-11 18:11:28 +0000
|
482
475
|
Processing by AuthenticationsController#callback as HTML
|
483
|
-
Parameters: {"code"=>"
|
476
|
+
Parameters: {"code"=>"3e71e71fecb5e846cd9ca44ae8e362485e8678654aa61948a19670bdb101f67e", "state"=>"4a68ab4e46dbc69a7fd2b683dcd5960fea34c25f2a430ebe"}
|
484
477
|
Authenticating with gds_sso strategy
|
485
478
|
[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]]
|
486
|
-
[1m[35m (0.
|
479
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
487
480
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
488
481
|
Redirected to http://www.example-client.com/this_requires_signin_permission
|
489
|
-
Completed 302 Found in
|
490
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2017-12-
|
482
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.3ms)
|
483
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2017-12-11 18:11:28 +0000
|
491
484
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
492
|
-
[1m[36mUser Load (0.
|
485
|
+
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", false], ["LIMIT", 1]]
|
493
486
|
Rendering text template
|
494
487
|
Rendered text template (0.0ms)
|
495
|
-
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.
|
496
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2017-12-
|
488
|
+
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.2ms)
|
489
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2017-12-11 18:11:28 +0000
|
497
490
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
498
491
|
Authenticating with gds_sso strategy
|
499
492
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
500
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-
|
501
|
-
Started GET "/auth/gds/callback?code=
|
493
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-11 18:11:28 +0000
|
494
|
+
Started GET "/auth/gds/callback?code=78df2d74e4885df506232339e13ec8fc02d9dff13c022b2f30af555714700d65&state=32518b74e345e698a284b395eb120ea3cf29e83836cad384" for 127.0.0.1 at 2017-12-11 18:11:29 +0000
|
502
495
|
Processing by AuthenticationsController#callback as HTML
|
503
|
-
Parameters: {"code"=>"
|
496
|
+
Parameters: {"code"=>"78df2d74e4885df506232339e13ec8fc02d9dff13c022b2f30af555714700d65", "state"=>"32518b74e345e698a284b395eb120ea3cf29e83836cad384"}
|
504
497
|
Authenticating with gds_sso strategy
|
505
|
-
[1m[36mUser Load (0.
|
506
|
-
[1m[35m (0.
|
498
|
+
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
499
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
507
500
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
508
501
|
Redirected to http://www.example-client.com/this_requires_signin_permission
|
509
|
-
Completed 302 Found in
|
510
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2017-12-
|
502
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.8ms)
|
503
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2017-12-11 18:11:29 +0000
|
511
504
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
512
|
-
[1m[36mUser Load (0.
|
505
|
+
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", false], ["LIMIT", 1]]
|
513
506
|
Rendering text template
|
514
507
|
Rendered text template (0.0ms)
|
515
|
-
Completed 200 OK in
|
516
|
-
Started GET "/restricted" for 127.0.0.1 at 2017-12-
|
508
|
+
Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.2ms)
|
509
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-11 18:11:29 +0000
|
517
510
|
Processing by ExampleController#restricted as HTML
|
518
511
|
Authenticating with gds_sso strategy
|
519
|
-
Completed in
|
520
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-
|
521
|
-
Started GET "/auth/gds/callback?code=
|
512
|
+
Completed in 1ms (ActiveRecord: 0.0ms)
|
513
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-11 18:11:29 +0000
|
514
|
+
Started GET "/auth/gds/callback?code=47ef77939d3bf0b9fe1eaa0c14b09957f78179b15e8ab38cde79d97fcc5bda4c&state=61959228d413b5e80f0a96218ae8344ee825ea91a2499823" for 127.0.0.1 at 2017-12-11 18:11:29 +0000
|
522
515
|
Processing by AuthenticationsController#callback as HTML
|
523
|
-
Parameters: {"code"=>"
|
516
|
+
Parameters: {"code"=>"47ef77939d3bf0b9fe1eaa0c14b09957f78179b15e8ab38cde79d97fcc5bda4c", "state"=>"61959228d413b5e80f0a96218ae8344ee825ea91a2499823"}
|
524
517
|
Authenticating with gds_sso strategy
|
525
518
|
[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]]
|
526
519
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
527
520
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
528
521
|
Redirected to http://www.example-client.com/restricted
|
529
|
-
Completed 302 Found in
|
530
|
-
Started GET "/restricted" for 127.0.0.1 at 2017-12-
|
522
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.3ms)
|
523
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-11 18:11:29 +0000
|
531
524
|
Processing by ExampleController#restricted as HTML
|
532
|
-
[1m[36mUser Load (0.
|
525
|
+
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", false], ["LIMIT", 1]]
|
533
526
|
Rendering text template
|
534
527
|
Rendered text template (0.0ms)
|
535
|
-
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.
|
536
|
-
Started GET "/restricted" for 127.0.0.1 at 2017-12-
|
528
|
+
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.2ms)
|
529
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-11 18:11:29 +0000
|
537
530
|
Processing by ExampleController#restricted as HTML
|
538
531
|
Authenticating with gds_sso strategy
|
539
532
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
540
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-
|
541
|
-
Started GET "/auth/gds/callback?code=
|
533
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-11 18:11:29 +0000
|
534
|
+
Started GET "/auth/gds/callback?code=4a409006f27206485130656e4f3223707bc5d60bca75190f7b94ed6ef9c9a6ff&state=b091630f919936306b841de6ee23e81ca2355fd0cf11f7af" for 127.0.0.1 at 2017-12-11 18:11:29 +0000
|
542
535
|
Processing by AuthenticationsController#callback as HTML
|
543
|
-
Parameters: {"code"=>"
|
536
|
+
Parameters: {"code"=>"4a409006f27206485130656e4f3223707bc5d60bca75190f7b94ed6ef9c9a6ff", "state"=>"b091630f919936306b841de6ee23e81ca2355fd0cf11f7af"}
|
544
537
|
Authenticating with gds_sso strategy
|
545
538
|
[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]]
|
546
539
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
547
|
-
[1m[35m (0.
|
540
|
+
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
548
541
|
Redirected to http://www.example-client.com/restricted
|
549
|
-
Completed 302 Found in 3ms (ActiveRecord: 0.
|
550
|
-
Started GET "/restricted" for 127.0.0.1 at 2017-12-
|
542
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.4ms)
|
543
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-11 18:11:29 +0000
|
551
544
|
Processing by ExampleController#restricted as HTML
|
552
|
-
[1m[36mUser Load (0.
|
545
|
+
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", false], ["LIMIT", 1]]
|
553
546
|
Rendering text template
|
554
547
|
Rendered text template (0.0ms)
|
555
|
-
Completed 200 OK in
|
556
|
-
Started GET "/restricted" for 127.0.0.1 at 2017-12-
|
557
|
-
Processing by ExampleController#restricted as HTML
|
558
|
-
Authenticating with gds_sso strategy
|
559
|
-
Completed in 0ms (ActiveRecord: 0.0ms)
|
560
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-08 09:16:49 +0000
|
561
|
-
Started GET "/auth/gds/callback?code=74b45cc5555a6a5bfb276496136711730ea7978d709105ddf78d9cae1b544f90&state=7598ab70da1d47b340827175ef1cf7788873f28d8923b8e9" for 127.0.0.1 at 2017-12-08 09:16:49 +0000
|
562
|
-
Processing by AuthenticationsController#callback as HTML
|
563
|
-
Parameters: {"code"=>"74b45cc5555a6a5bfb276496136711730ea7978d709105ddf78d9cae1b544f90", "state"=>"7598ab70da1d47b340827175ef1cf7788873f28d8923b8e9"}
|
564
|
-
Authenticating with gds_sso strategy
|
565
|
-
[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]]
|
566
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
567
|
-
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
568
|
-
Redirected to http://www.example-client.com/restricted
|
569
|
-
Completed 302 Found in 3ms (ActiveRecord: 0.3ms)
|
570
|
-
Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:16:49 +0000
|
548
|
+
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.2ms)
|
549
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-12 14:06:29 +0000
|
571
550
|
Processing by ExampleController#restricted as HTML
|
572
551
|
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", false], ["LIMIT", 1]]
|
573
552
|
Rendering text template
|
574
553
|
Rendered text template (0.0ms)
|
575
|
-
Completed 200 OK in 1ms (Views: 0.
|
576
|
-
Started GET "/restricted" for 127.0.0.1 at 2017-12-
|
554
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.2ms)
|
555
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-11 18:11:29 +0000
|
577
556
|
Processing by ExampleController#restricted as HTML
|
578
557
|
Authenticating with gds_sso strategy
|
579
558
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
580
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-
|
581
|
-
Started GET "/auth/gds/callback?code=
|
559
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-11 18:11:29 +0000
|
560
|
+
Started GET "/auth/gds/callback?code=76c0a974c7c410c7abf4ae41dd80be60a0ab2396254fa5191aa25868a9051638&state=f60ec8c7ca7855bb0e6ed06b199ffed4694036a26d5b5d39" for 127.0.0.1 at 2017-12-11 18:11:29 +0000
|
582
561
|
Processing by AuthenticationsController#callback as HTML
|
583
|
-
Parameters: {"code"=>"
|
562
|
+
Parameters: {"code"=>"76c0a974c7c410c7abf4ae41dd80be60a0ab2396254fa5191aa25868a9051638", "state"=>"f60ec8c7ca7855bb0e6ed06b199ffed4694036a26d5b5d39"}
|
584
563
|
Authenticating with gds_sso strategy
|
585
564
|
[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]]
|
586
565
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
587
|
-
[1m[35m (0.
|
566
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
588
567
|
Redirected to http://www.example-client.com/restricted
|
589
|
-
Completed 302 Found in
|
590
|
-
Started GET "/restricted" for 127.0.0.1 at 2017-12-
|
568
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.3ms)
|
569
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-11 18:11:29 +0000
|
591
570
|
Processing by ExampleController#restricted as HTML
|
592
571
|
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", false], ["LIMIT", 1]]
|
593
572
|
Rendering text template
|
594
573
|
Rendered text template (0.0ms)
|
595
574
|
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.2ms)
|
596
|
-
Started GET "/restricted" for 127.0.0.1 at 2017-12-
|
575
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-12 14:16:29 +0000
|
597
576
|
Processing by ExampleController#restricted as HTML
|
598
577
|
Authenticating with gds_sso strategy
|
599
|
-
Completed in
|
600
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-
|
601
|
-
Started GET "/
|
578
|
+
Completed in 1ms (ActiveRecord: 0.0ms)
|
579
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-12 14:16:29 +0000
|
580
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-11 18:11:29 +0000
|
581
|
+
Processing by ExampleController#restricted as HTML
|
582
|
+
Authenticating with gds_sso strategy
|
583
|
+
Completed in 1ms (ActiveRecord: 0.0ms)
|
584
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-11 18:11:29 +0000
|
585
|
+
Started GET "/auth/gds/callback?code=1be7e5b7dc393be3be11a2fb87a69033855998b9eb20fcc387d670206175bfe6&state=8ea770ed8967047e1ed2cc7ada420461538848380a244b2e" for 127.0.0.1 at 2017-12-11 18:11:30 +0000
|
602
586
|
Processing by AuthenticationsController#callback as HTML
|
603
|
-
Parameters: {"code"=>"
|
587
|
+
Parameters: {"code"=>"1be7e5b7dc393be3be11a2fb87a69033855998b9eb20fcc387d670206175bfe6", "state"=>"8ea770ed8967047e1ed2cc7ada420461538848380a244b2e"}
|
604
588
|
Authenticating with gds_sso strategy
|
605
589
|
[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]]
|
606
|
-
[1m[35m (0.
|
590
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
607
591
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
608
592
|
Redirected to http://www.example-client.com/restricted
|
609
|
-
Completed 302 Found in
|
610
|
-
Started GET "/restricted" for 127.0.0.1 at 2017-12-
|
593
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.3ms)
|
594
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-11 18:11:30 +0000
|
611
595
|
Processing by ExampleController#restricted as HTML
|
612
596
|
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", false], ["LIMIT", 1]]
|
613
597
|
Rendering text template
|
614
598
|
Rendered text template (0.0ms)
|
615
|
-
Completed 200 OK in
|
616
|
-
Started GET "/restricted" for 127.0.0.1 at 2017-12-
|
617
|
-
Processing by ExampleController#restricted as HTML
|
618
|
-
Authenticating with gds_sso strategy
|
619
|
-
Completed in 0ms (ActiveRecord: 0.0ms)
|
620
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-09 05:21:49 +0000
|
621
|
-
Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:16:49 +0000
|
599
|
+
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.2ms)
|
600
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-12 14:16:30 +0000
|
622
601
|
Processing by ExampleController#restricted as HTML
|
623
602
|
Authenticating with gds_sso strategy
|
624
|
-
Completed in
|
625
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-
|
626
|
-
Started GET "/auth/gds/callback?code=
|
603
|
+
Completed in 1ms (ActiveRecord: 0.0ms)
|
604
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-12 14:16:30 +0000
|
605
|
+
Started GET "/auth/gds/callback?code=25297a4f8a347662e20bdff2c0e1a7adbb7014b59173d23f192070925a304336&state=d51a1d3283395a0584daf88efc171791993b3f0a1ec3ef1b" for 127.0.0.1 at 2017-12-12 14:16:30 +0000
|
627
606
|
Processing by AuthenticationsController#callback as HTML
|
628
|
-
Parameters: {"code"=>"
|
607
|
+
Parameters: {"code"=>"25297a4f8a347662e20bdff2c0e1a7adbb7014b59173d23f192070925a304336", "state"=>"d51a1d3283395a0584daf88efc171791993b3f0a1ec3ef1b"}
|
629
608
|
Authenticating with gds_sso strategy
|
630
609
|
[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]]
|
631
610
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
632
|
-
[1m[35m (0.
|
611
|
+
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
633
612
|
Redirected to http://www.example-client.com/restricted
|
634
|
-
Completed 302 Found in
|
635
|
-
Started GET "/restricted" for 127.0.0.1 at 2017-12-
|
636
|
-
Processing by ExampleController#restricted as HTML
|
637
|
-
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", false], ["LIMIT", 1]]
|
638
|
-
Rendering text template
|
639
|
-
Rendered text template (0.0ms)
|
640
|
-
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.2ms)
|
641
|
-
Started GET "/restricted" for 127.0.0.1 at 2017-12-09 05:11:50 +0000
|
613
|
+
Completed 302 Found in 5ms (ActiveRecord: 0.4ms)
|
614
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-12 14:16:30 +0000
|
642
615
|
Processing by ExampleController#restricted as HTML
|
643
|
-
[1m[36mUser Load (0.
|
616
|
+
[1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", false], ["LIMIT", 1]]
|
644
617
|
Rendering text template
|
645
618
|
Rendered text template (0.0ms)
|
646
|
-
Completed 200 OK in
|
647
|
-
Started GET "/restricted" for 127.0.0.1 at 2017-12-
|
619
|
+
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.6ms)
|
620
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-11 18:11:30 +0000
|
648
621
|
Processing by ExampleController#restricted as HTML
|
649
622
|
Authenticating with gds_sso strategy
|
650
|
-
Completed in
|
651
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-
|
652
|
-
Started GET "/auth/gds/callback?code=
|
623
|
+
Completed in 1ms (ActiveRecord: 0.0ms)
|
624
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-11 18:11:30 +0000
|
625
|
+
Started GET "/auth/gds/callback?code=6d13e3646de7b542ec832fc3a7e450ac32836da33789afe2d6b04fa34b15b5e3&state=45bfe88d4f448806e55b4808f2ea76a0317e1cef6cc637d9" for 127.0.0.1 at 2017-12-11 18:11:30 +0000
|
653
626
|
Processing by AuthenticationsController#callback as HTML
|
654
|
-
Parameters: {"code"=>"
|
627
|
+
Parameters: {"code"=>"6d13e3646de7b542ec832fc3a7e450ac32836da33789afe2d6b04fa34b15b5e3", "state"=>"45bfe88d4f448806e55b4808f2ea76a0317e1cef6cc637d9"}
|
655
628
|
Authenticating with gds_sso strategy
|
656
629
|
[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]]
|
657
630
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
658
|
-
[1m[35m (0.
|
631
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
659
632
|
Redirected to http://www.example-client.com/restricted
|
660
633
|
Completed 302 Found in 3ms (ActiveRecord: 0.3ms)
|
661
|
-
Started GET "/restricted" for 127.0.0.1 at 2017-12-
|
634
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-11 18:11:30 +0000
|
662
635
|
Processing by ExampleController#restricted as HTML
|
663
|
-
[1m[36mUser Load (0.
|
636
|
+
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", false], ["LIMIT", 1]]
|
664
637
|
Rendering text template
|
665
638
|
Rendered text template (0.0ms)
|
666
|
-
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.
|
667
|
-
[1m[36mUser Load (0.
|
668
|
-
[1m[35m (0.
|
669
|
-
[1m[35mSQL (0.2ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", true], ["id",
|
670
|
-
[1m[35m (6.
|
671
|
-
Started GET "/restricted" for 127.0.0.1 at 2017-12-
|
639
|
+
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.2ms)
|
640
|
+
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["email", "test@example-client.com"], ["LIMIT", 1]]
|
641
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
642
|
+
[1m[35mSQL (0.2ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", true], ["id", 1]]
|
643
|
+
[1m[35m (6.5ms)[0m [1m[36mcommit transaction[0m
|
644
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-11 18:11:30 +0000
|
672
645
|
Processing by ExampleController#restricted as HTML
|
673
|
-
[1m[36mUser Load (0.
|
646
|
+
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", false], ["LIMIT", 1]]
|
674
647
|
Authenticating with gds_sso strategy
|
675
|
-
Completed in 1ms (ActiveRecord: 0.
|
676
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-
|
677
|
-
Started GET "/auth/gds/callback?code=
|
648
|
+
Completed in 1ms (ActiveRecord: 0.2ms)
|
649
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-11 18:11:30 +0000
|
650
|
+
Started GET "/auth/gds/callback?code=9ed10ffa6ea6e3900b0effccac4b332b8e97faff501c52f6e03e226f91a0464d&state=dacf76bccf38089ca065f0b57753ab7451dad2a1e2d6782c" for 127.0.0.1 at 2017-12-11 18:11:30 +0000
|
678
651
|
Processing by AuthenticationsController#callback as HTML
|
679
|
-
Parameters: {"code"=>"
|
652
|
+
Parameters: {"code"=>"9ed10ffa6ea6e3900b0effccac4b332b8e97faff501c52f6e03e226f91a0464d", "state"=>"dacf76bccf38089ca065f0b57753ab7451dad2a1e2d6782c"}
|
680
653
|
Authenticating with gds_sso strategy
|
681
|
-
[1m[36mUser Load (0.
|
682
|
-
[1m[35m (0.
|
654
|
+
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
655
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
683
656
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
684
657
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
685
|
-
[1m[35mSQL (0.
|
686
|
-
[1m[35m (4.
|
658
|
+
[1m[35mSQL (0.2ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", false], ["id", 1]]
|
659
|
+
[1m[35m (4.5ms)[0m [1m[36mcommit transaction[0m
|
687
660
|
Redirected to http://www.example-client.com/restricted
|
688
|
-
Completed 302 Found in 9ms (ActiveRecord: 5.
|
689
|
-
Started GET "/restricted" for 127.0.0.1 at 2017-12-
|
661
|
+
Completed 302 Found in 9ms (ActiveRecord: 5.1ms)
|
662
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-11 18:11:30 +0000
|
690
663
|
Processing by ExampleController#restricted as HTML
|
691
664
|
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", false], ["LIMIT", 1]]
|
692
665
|
Rendering text template
|
693
666
|
Rendered text template (0.0ms)
|
694
|
-
Completed 200 OK in
|
695
|
-
|
696
|
-
|
697
|
-
[1m[
|
667
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.2ms)
|
668
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
669
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d39270"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
670
|
+
[1m[35m (4.8ms)[0m [1m[36mcommit transaction[0m
|
671
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
672
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d33863"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
673
|
+
[1m[35m (3.7ms)[0m [1m[36mcommit transaction[0m
|
674
|
+
Processing by Api::UserController#update as HTML
|
675
|
+
Parameters: {"uid"=>"a1s2d39270"}
|
676
|
+
Rendering /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
|
677
|
+
Rendered /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.2ms)
|
678
|
+
Completed 403 Forbidden in 8ms (Views: 7.7ms | ActiveRecord: 0.0ms)
|
698
679
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
699
|
-
[1m[35mSQL (0.2ms)[0m [1m[
|
680
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d33833"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
700
681
|
[1m[35m (4.7ms)[0m [1m[36mcommit transaction[0m
|
701
|
-
[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]]
|
702
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
703
|
-
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
704
|
-
[1m[36mCACHE (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
705
682
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
706
|
-
[1m[
|
707
|
-
[1m[
|
683
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d3274"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
684
|
+
[1m[35m (4.8ms)[0m [1m[36mcommit transaction[0m
|
685
|
+
Processing by Api::UserController#update as HTML
|
686
|
+
Parameters: {"uid"=>"a1s2d33833"}
|
687
|
+
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "a1s2d33833"], ["LIMIT", 1]]
|
708
688
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
709
|
-
[1m[
|
710
|
-
|
711
|
-
|
712
|
-
|
713
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2017-12-08 09:16:50 +0000
|
714
|
-
Processing by ExampleController#this_requires_signin_permission as JSON
|
715
|
-
[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]]
|
689
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "users" SET "email" = ?, "name" = ?, "permissions" = ?, "organisation_slug" = ?, "organisation_content_id" = ? WHERE "users"."id" = ?[0m [["email", "user@domain.com"], ["name", "Joshua Marshall"], ["permissions", "---\n- signin\n- new permission\n"], ["organisation_slug", "justice-league"], ["organisation_content_id", "aae1319e-5788-4677-998c-f1a53af528d0"], ["id", 4]]
|
690
|
+
[1m[35m (5.5ms)[0m [1m[36mcommit transaction[0m
|
691
|
+
Completed 200 OK in 9ms (ActiveRecord: 5.9ms)
|
692
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 4], ["LIMIT", 1]]
|
716
693
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
717
|
-
[1m[
|
718
|
-
[1m[
|
694
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d33026"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
695
|
+
[1m[35m (4.2ms)[0m [1m[36mcommit transaction[0m
|
696
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
697
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d37373"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
698
|
+
[1m[35m (4.2ms)[0m [1m[36mcommit transaction[0m
|
699
|
+
Processing by Api::UserController#reauth as HTML
|
700
|
+
Parameters: {"uid"=>"a1s2d33026"}
|
701
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "a1s2d33026"], ["LIMIT", 1]]
|
702
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
703
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", true], ["id", 6]]
|
704
|
+
[1m[35m (3.9ms)[0m [1m[36mcommit transaction[0m
|
705
|
+
Completed 200 OK in 6ms (ActiveRecord: 4.1ms)
|
706
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 6], ["LIMIT", 1]]
|
707
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
708
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d35591"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
709
|
+
[1m[35m (4.7ms)[0m [1m[36mcommit transaction[0m
|
710
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
711
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d37588"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
712
|
+
[1m[35m (3.6ms)[0m [1m[36mcommit transaction[0m
|
713
|
+
Processing by Api::UserController#reauth as HTML
|
714
|
+
Parameters: {"uid"=>"a1s2d35591"}
|
715
|
+
Rendering /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
|
716
|
+
Rendered /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.0ms)
|
717
|
+
Completed 403 Forbidden in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
|
719
718
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
720
|
-
[1m[
|
721
|
-
[1m[
|
719
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d31431"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
720
|
+
[1m[35m (3.8ms)[0m [1m[36mcommit transaction[0m
|
722
721
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
723
|
-
[1m[
|
724
|
-
[1m[
|
722
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d38687"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
723
|
+
[1m[35m (4.6ms)[0m [1m[36mcommit transaction[0m
|
724
|
+
Processing by Api::UserController#reauth as HTML
|
725
|
+
Parameters: {"uid"=>"nonexistent-user"}
|
726
|
+
[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]]
|
727
|
+
Completed 200 OK in 1ms (ActiveRecord: 0.1ms)
|
728
|
+
[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]]
|
729
|
+
[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]]
|
725
730
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
726
|
-
[1m[
|
727
|
-
|
728
|
-
|
729
|
-
|
730
|
-
|
731
|
-
|
732
|
-
|
733
|
-
Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:16:50 +0000
|
734
|
-
Processing by ExampleController#restricted as JSON
|
735
|
-
Completed in 11ms (ActiveRecord: 0.0ms)
|
736
|
-
[1m[36m (10.3ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar NOT NULL, "uid" varchar NOT NULL, "email" varchar NOT NULL, "remotely_signed_out" boolean, "permissions" text, "organisation_slug" varchar, "organisation_content_id" varchar, "disabled" boolean DEFAULT 'f') [0m
|
737
|
-
[1m[35m (9.4ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
731
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions", "organisation_slug", "organisation_content_id", "disabled") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["name", "A Name"], ["uid", "asd"], ["email", "user@example.com"], ["permissions", "---\n- signin\n"], ["organisation_slug", "hmrc"], ["organisation_content_id", "67a2b78d-eee3-45b3-80e2-792e7f71cecc"], ["disabled", nil]]
|
732
|
+
[1m[35m (3.9ms)[0m [1m[36mcommit transaction[0m
|
733
|
+
[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]]
|
734
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
735
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
736
|
+
[1m[36m (4.7ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar NOT NULL, "uid" varchar NOT NULL, "email" varchar NOT NULL, "remotely_signed_out" boolean, "permissions" text, "organisation_slug" varchar, "organisation_content_id" varchar, "disabled" boolean DEFAULT 'f') [0m
|
737
|
+
[1m[35m (5.2ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
738
738
|
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
739
|
-
[1m[35m (4.
|
740
|
-
|
741
|
-
|
739
|
+
[1m[35m (4.2ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
740
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "asd"]]
|
741
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "user@example.com"]]
|
742
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
743
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions", "organisation_slug", "organisation_content_id", "disabled") VALUES (?, ?, ?, ?, ?, ?, ?) [["uid", "asd"], ["email", "user@example.com"], ["name", "A Name"], ["permissions", "---\n- signin\n"], ["organisation_slug", "hmrc"], ["organisation_content_id", "67a2b78d-eee3-45b3-80e2-792e7f71cecc"], ["disabled", nil]]
|
744
|
+
[1m[36m (5.2ms)[0m [1mcommit transaction[0m
|
745
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "asd"]]
|
746
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
747
|
+
[1m[35m (0.1ms)[0m commit transaction
|
748
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-11 18:11:37 +0000
|
749
|
+
Processing by ExampleController#restricted as HTML
|
742
750
|
Authenticating with gds_sso strategy
|
743
751
|
Completed in 7ms (ActiveRecord: 0.0ms)
|
744
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-
|
745
|
-
Started GET "/auth/gds/callback?code=
|
752
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-11 18:11:37 +0000
|
753
|
+
Started GET "/auth/gds/callback?code=60b5656748db3dcb692d3ed9c802ecc3c01c933b07700d976d86f071e1083a73&state=1d304ef9bd870bb71c1ef4028517f7c9ccd9f630844cb5d7" for 127.0.0.1 at 2017-12-11 18:11:37 +0000
|
746
754
|
Processing by AuthenticationsController#callback as HTML
|
747
|
-
Parameters: {"code"=>"
|
755
|
+
Parameters: {"code"=>"60b5656748db3dcb692d3ed9c802ecc3c01c933b07700d976d86f071e1083a73", "state"=>"1d304ef9bd870bb71c1ef4028517f7c9ccd9f630844cb5d7"}
|
748
756
|
Authenticating with gds_sso strategy
|
749
|
-
[1m[36mUser Load (0.
|
757
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
750
758
|
[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"]]
|
751
759
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
752
760
|
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "integration-uid"], ["email", "test@example-client.com"], ["name", "Test User"], ["permissions", "---\n- signin\n"]]
|
753
|
-
[1m[36m (
|
761
|
+
[1m[36m (4.9ms)[0m [1mcommit transaction[0m
|
754
762
|
[1m[35m (0.0ms)[0m begin transaction
|
755
|
-
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "f"], ["id",
|
756
|
-
[1m[35m (4.
|
757
|
-
Redirected to http://www.example-client.com/
|
758
|
-
Completed 302 Found in
|
759
|
-
Started GET "/
|
760
|
-
Processing by ExampleController#
|
761
|
-
[1m[36mUser Load (0.
|
763
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "f"], ["id", 2]]
|
764
|
+
[1m[35m (4.8ms)[0m commit transaction
|
765
|
+
Redirected to http://www.example-client.com/restricted
|
766
|
+
Completed 302 Found in 16ms (ActiveRecord: 10.4ms)
|
767
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-11 18:11:37 +0000
|
768
|
+
Processing by ExampleController#restricted as HTML
|
769
|
+
[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"]]
|
762
770
|
Rendered text template (0.0ms)
|
763
|
-
Completed 200 OK in
|
764
|
-
Started GET "/
|
765
|
-
Processing by ExampleController#
|
771
|
+
Completed 200 OK in 8ms (Views: 6.6ms | ActiveRecord: 0.2ms)
|
772
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-11 18:11:37 +0000
|
773
|
+
Processing by ExampleController#restricted as HTML
|
766
774
|
Authenticating with gds_sso strategy
|
767
775
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
768
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-
|
769
|
-
Started GET "/auth/gds/callback?code=
|
776
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-11 18:11:37 +0000
|
777
|
+
Started GET "/auth/gds/callback?code=e0ebb27a1259247c43594e468651f30623620a7092413828c399ad8dde8788c9&state=6f2d00cf1b9da291767ad946d87f0e0a83559078ee9395d6" for 127.0.0.1 at 2017-12-11 18:11:37 +0000
|
770
778
|
Processing by AuthenticationsController#callback as HTML
|
771
|
-
Parameters: {"code"=>"
|
779
|
+
Parameters: {"code"=>"e0ebb27a1259247c43594e468651f30623620a7092413828c399ad8dde8788c9", "state"=>"6f2d00cf1b9da291767ad946d87f0e0a83559078ee9395d6"}
|
772
780
|
Authenticating with gds_sso strategy
|
773
781
|
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
774
782
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
775
783
|
[1m[35m (0.0ms)[0m commit transaction
|
776
|
-
[1m[36m (0.
|
784
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
777
785
|
[1m[35m (0.0ms)[0m commit transaction
|
778
|
-
Redirected to http://www.example-client.com/
|
786
|
+
Redirected to http://www.example-client.com/restricted
|
779
787
|
Completed 302 Found in 4ms (ActiveRecord: 0.3ms)
|
780
|
-
Started GET "/
|
781
|
-
Processing by ExampleController#
|
788
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-11 18:11:37 +0000
|
789
|
+
Processing by ExampleController#restricted as HTML
|
782
790
|
[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"]]
|
783
791
|
Rendered text template (0.0ms)
|
784
|
-
Completed 200 OK in 1ms (Views: 0.
|
785
|
-
Started GET "/" for 127.0.0.1 at 2017-12-
|
786
|
-
Processing by ExampleController#index as HTML
|
787
|
-
Rendered text template (0.0ms)
|
788
|
-
Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
789
|
-
Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:17:04 +0000
|
792
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
793
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-11 18:11:37 +0000
|
790
794
|
Processing by ExampleController#restricted as HTML
|
791
795
|
Authenticating with gds_sso strategy
|
792
796
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
793
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-
|
794
|
-
Started GET "/auth/gds/callback?code=
|
797
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-11 18:11:37 +0000
|
798
|
+
Started GET "/auth/gds/callback?code=34774d2eeea6949b33f2257e53649546f6171b8b571e5589b08a08bf8d5ecde1&state=844b396ed49f21047497e61210b7e3900bbedbe776e87972" for 127.0.0.1 at 2017-12-11 18:11:37 +0000
|
795
799
|
Processing by AuthenticationsController#callback as HTML
|
796
|
-
Parameters: {"code"=>"
|
800
|
+
Parameters: {"code"=>"34774d2eeea6949b33f2257e53649546f6171b8b571e5589b08a08bf8d5ecde1", "state"=>"844b396ed49f21047497e61210b7e3900bbedbe776e87972"}
|
797
801
|
Authenticating with gds_sso strategy
|
798
802
|
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
799
803
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
800
804
|
[1m[35m (0.0ms)[0m commit transaction
|
801
805
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
802
|
-
[1m[35m (0.
|
806
|
+
[1m[35m (0.0ms)[0m commit transaction
|
803
807
|
Redirected to http://www.example-client.com/restricted
|
804
|
-
Completed 302 Found in 4ms (ActiveRecord: 0.
|
805
|
-
Started GET "/restricted" for 127.0.0.1 at 2017-12-
|
808
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
|
809
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-11 18:11:37 +0000
|
806
810
|
Processing by ExampleController#restricted as HTML
|
807
811
|
[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"]]
|
808
812
|
Rendered text template (0.0ms)
|
809
813
|
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
810
|
-
Started GET "/
|
811
|
-
Processing by ExampleController#
|
814
|
+
Started GET "/" for 127.0.0.1 at 2017-12-11 18:11:37 +0000
|
815
|
+
Processing by ExampleController#index as HTML
|
816
|
+
Rendered text template (0.0ms)
|
817
|
+
Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
818
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2017-12-11 18:11:37 +0000
|
819
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
812
820
|
Authenticating with gds_sso strategy
|
813
821
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
814
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-
|
815
|
-
Started GET "/auth/gds/callback?code=
|
822
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-11 18:11:37 +0000
|
823
|
+
Started GET "/auth/gds/callback?code=5c8a8bf66bddb0d96e550df3b43633fb54d7b505b49a158cc5210abfd7faa8e9&state=9804abb5acbd37d0b5c026d9891155f1a69d9c199aa143b3" for 127.0.0.1 at 2017-12-11 18:11:38 +0000
|
816
824
|
Processing by AuthenticationsController#callback as HTML
|
817
|
-
Parameters: {"code"=>"
|
825
|
+
Parameters: {"code"=>"5c8a8bf66bddb0d96e550df3b43633fb54d7b505b49a158cc5210abfd7faa8e9", "state"=>"9804abb5acbd37d0b5c026d9891155f1a69d9c199aa143b3"}
|
818
826
|
Authenticating with gds_sso strategy
|
819
827
|
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
820
828
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
821
829
|
[1m[35m (0.0ms)[0m commit transaction
|
822
830
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
823
|
-
[1m[35m (0.
|
824
|
-
Redirected to http://www.example-client.com/
|
831
|
+
[1m[35m (0.0ms)[0m commit transaction
|
832
|
+
Redirected to http://www.example-client.com/this_requires_signin_permission
|
825
833
|
Completed 302 Found in 4ms (ActiveRecord: 0.3ms)
|
826
|
-
Started GET "/
|
827
|
-
Processing by ExampleController#
|
834
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2017-12-11 18:11:38 +0000
|
835
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
828
836
|
[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"]]
|
829
837
|
Rendered text template (0.0ms)
|
830
|
-
Completed 200 OK in
|
831
|
-
Started GET "/
|
832
|
-
Processing by ExampleController#
|
838
|
+
Completed 200 OK in 11ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
839
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2017-12-11 18:11:38 +0000
|
840
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
833
841
|
Authenticating with gds_sso strategy
|
834
842
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
835
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-
|
836
|
-
Started GET "/auth/gds/callback?code=
|
843
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-11 18:11:38 +0000
|
844
|
+
Started GET "/auth/gds/callback?code=f9000d054004a20ac3b01a05876832d1940874c92f66abaadecd9fd663893e2a&state=243af183cf99dab68f00868ace1852de933914ba33757109" for 127.0.0.1 at 2017-12-11 18:11:38 +0000
|
837
845
|
Processing by AuthenticationsController#callback as HTML
|
838
|
-
Parameters: {"code"=>"
|
846
|
+
Parameters: {"code"=>"f9000d054004a20ac3b01a05876832d1940874c92f66abaadecd9fd663893e2a", "state"=>"243af183cf99dab68f00868ace1852de933914ba33757109"}
|
839
847
|
Authenticating with gds_sso strategy
|
840
848
|
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
841
849
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
842
850
|
[1m[35m (0.0ms)[0m commit transaction
|
843
851
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
844
|
-
[1m[35m (0.
|
845
|
-
Redirected to http://www.example-client.com/
|
852
|
+
[1m[35m (0.0ms)[0m commit transaction
|
853
|
+
Redirected to http://www.example-client.com/this_requires_signin_permission
|
846
854
|
Completed 302 Found in 4ms (ActiveRecord: 0.3ms)
|
847
|
-
Started GET "/
|
848
|
-
Processing by ExampleController#
|
855
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2017-12-11 18:11:38 +0000
|
856
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
849
857
|
[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"]]
|
850
858
|
Rendered text template (0.0ms)
|
851
|
-
Completed 200 OK in
|
852
|
-
Started GET "/restricted" for 127.0.0.1 at 2017-12-
|
859
|
+
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
860
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-11 18:11:38 +0000
|
853
861
|
Processing by ExampleController#restricted as HTML
|
854
862
|
Authenticating with gds_sso strategy
|
855
863
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
856
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-
|
857
|
-
Started GET "/auth/gds/callback?code=
|
864
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-11 18:11:38 +0000
|
865
|
+
Started GET "/auth/gds/callback?code=406a166d13efbb6251b10e1fe4f636d5b9338cf4c0f244a13a1f0bd93611bea0&state=603b44d083c3a7dcd7c2f3e2ad415e6299b68173ee50e779" for 127.0.0.1 at 2017-12-11 18:11:38 +0000
|
858
866
|
Processing by AuthenticationsController#callback as HTML
|
859
|
-
Parameters: {"code"=>"
|
867
|
+
Parameters: {"code"=>"406a166d13efbb6251b10e1fe4f636d5b9338cf4c0f244a13a1f0bd93611bea0", "state"=>"603b44d083c3a7dcd7c2f3e2ad415e6299b68173ee50e779"}
|
860
868
|
Authenticating with gds_sso strategy
|
861
|
-
[1m[35mUser Load (0.
|
869
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
862
870
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
863
871
|
[1m[35m (0.0ms)[0m commit transaction
|
864
872
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
865
873
|
[1m[35m (0.0ms)[0m commit transaction
|
866
874
|
Redirected to http://www.example-client.com/restricted
|
867
|
-
Completed 302 Found in 4ms (ActiveRecord: 0.
|
868
|
-
Started GET "/restricted" for 127.0.0.1 at 2017-12-
|
875
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.3ms)
|
876
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-11 18:11:38 +0000
|
869
877
|
Processing by ExampleController#restricted as HTML
|
870
878
|
[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"]]
|
871
879
|
Rendered text template (0.0ms)
|
872
880
|
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
873
881
|
[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"]]
|
874
|
-
[1m[36m (0.
|
875
|
-
[1m[35mSQL (0.1ms)[0m UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", "t"], ["id",
|
876
|
-
[1m[36m (5.
|
877
|
-
Started GET "/restricted" for 127.0.0.1 at 2017-12-
|
882
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
883
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", "t"], ["id", 2]]
|
884
|
+
[1m[36m (5.2ms)[0m [1mcommit transaction[0m
|
885
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-11 18:11:38 +0000
|
878
886
|
Processing by ExampleController#restricted as HTML
|
879
887
|
[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"]]
|
880
888
|
Authenticating with gds_sso strategy
|
881
889
|
Completed in 1ms (ActiveRecord: 0.1ms)
|
882
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-
|
883
|
-
Started GET "/auth/gds/callback?code=
|
890
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-11 18:11:38 +0000
|
891
|
+
Started GET "/auth/gds/callback?code=cd90eecebbb439fffc3cea6f1a4cc17ce154476316b892049eb9ca2c9fe16db5&state=9788565e3575320c42c6e631b54b1058de15512759ddf344" for 127.0.0.1 at 2017-12-11 18:11:38 +0000
|
884
892
|
Processing by AuthenticationsController#callback as HTML
|
885
|
-
Parameters: {"code"=>"
|
893
|
+
Parameters: {"code"=>"cd90eecebbb439fffc3cea6f1a4cc17ce154476316b892049eb9ca2c9fe16db5", "state"=>"9788565e3575320c42c6e631b54b1058de15512759ddf344"}
|
886
894
|
Authenticating with gds_sso strategy
|
887
895
|
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
888
896
|
[1m[35m (0.1ms)[0m begin transaction
|
889
897
|
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
890
|
-
[1m[35m (0.
|
891
|
-
[1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "f"], ["id",
|
892
|
-
[1m[35m (
|
898
|
+
[1m[35m (0.0ms)[0m begin transaction
|
899
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "f"], ["id", 2]]
|
900
|
+
[1m[35m (4.7ms)[0m commit transaction
|
893
901
|
Redirected to http://www.example-client.com/restricted
|
894
|
-
Completed 302 Found in
|
895
|
-
Started GET "/restricted" for 127.0.0.1 at 2017-12-
|
902
|
+
Completed 302 Found in 9ms (ActiveRecord: 5.1ms)
|
903
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-11 18:11:38 +0000
|
896
904
|
Processing by ExampleController#restricted as HTML
|
897
905
|
[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"]]
|
898
906
|
Rendered text template (0.0ms)
|
899
|
-
Completed 200 OK in 1ms (Views: 0.
|
900
|
-
Started GET "/restricted" for 127.0.0.1 at 2017-12-
|
907
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
908
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-11 18:11:38 +0000
|
901
909
|
Processing by ExampleController#restricted as HTML
|
902
910
|
Authenticating with gds_sso strategy
|
903
911
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
904
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-
|
905
|
-
Started GET "/auth/gds/callback?code=
|
912
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-11 18:11:38 +0000
|
913
|
+
Started GET "/auth/gds/callback?code=f2821acfc7b53d43f94f18b74ae93051c19513acc6efa00243fafd358181efcb&state=a6ae48eec129a91f7c13a5e35846c931293a128f59aa1ef7" for 127.0.0.1 at 2017-12-11 18:11:39 +0000
|
906
914
|
Processing by AuthenticationsController#callback as HTML
|
907
|
-
Parameters: {"code"=>"
|
915
|
+
Parameters: {"code"=>"f2821acfc7b53d43f94f18b74ae93051c19513acc6efa00243fafd358181efcb", "state"=>"a6ae48eec129a91f7c13a5e35846c931293a128f59aa1ef7"}
|
908
916
|
Authenticating with gds_sso strategy
|
909
917
|
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
910
918
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
911
|
-
[1m[35m (0.
|
912
|
-
[1m[36m (0.
|
913
|
-
[1m[35m (0.
|
919
|
+
[1m[35m (0.0ms)[0m commit transaction
|
920
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
921
|
+
[1m[35m (0.0ms)[0m commit transaction
|
914
922
|
Redirected to http://www.example-client.com/restricted
|
915
|
-
Completed 302 Found in 4ms (ActiveRecord: 0.
|
916
|
-
Started GET "/restricted" for 127.0.0.1 at 2017-12-
|
923
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.3ms)
|
924
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-11 18:11:39 +0000
|
917
925
|
Processing by ExampleController#restricted as HTML
|
918
926
|
[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"]]
|
919
927
|
Rendered text template (0.0ms)
|
920
|
-
Completed 200 OK in 1ms (Views: 0.
|
921
|
-
Started GET "/restricted" for 127.0.0.1 at 2017-12-
|
922
|
-
Processing by ExampleController#restricted as HTML
|
923
|
-
[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"]]
|
924
|
-
Rendered text template (0.0ms)
|
925
|
-
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
926
|
-
Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:17:06 +0000
|
928
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
929
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-12 14:16:39 +0000
|
927
930
|
Processing by ExampleController#restricted as HTML
|
928
931
|
Authenticating with gds_sso strategy
|
929
932
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
930
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-
|
931
|
-
Started GET "/auth/gds/callback?code=
|
933
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-12 14:16:39 +0000
|
934
|
+
Started GET "/auth/gds/callback?code=9d990746ae117a2e618604db43c8d1c62fcbc061499ce8aa40e09cbfc46f90aa&state=85888a436383900d70bd1c25c2e84440114dff7ec4ca83e7" for 127.0.0.1 at 2017-12-12 14:16:39 +0000
|
932
935
|
Processing by AuthenticationsController#callback as HTML
|
933
|
-
Parameters: {"code"=>"
|
936
|
+
Parameters: {"code"=>"9d990746ae117a2e618604db43c8d1c62fcbc061499ce8aa40e09cbfc46f90aa", "state"=>"85888a436383900d70bd1c25c2e84440114dff7ec4ca83e7"}
|
934
937
|
Authenticating with gds_sso strategy
|
935
|
-
[1m[
|
936
|
-
[1m[
|
937
|
-
[1m[
|
938
|
-
[1m[
|
939
|
-
[1m[
|
938
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
939
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
940
|
+
[1m[35m (0.1ms)[0m commit transaction
|
941
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
942
|
+
[1m[35m (0.1ms)[0m commit transaction
|
940
943
|
Redirected to http://www.example-client.com/restricted
|
941
|
-
Completed 302 Found in 4ms (ActiveRecord: 0.
|
942
|
-
Started GET "/restricted" for 127.0.0.1 at 2017-12-
|
944
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
|
945
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-12 14:16:39 +0000
|
943
946
|
Processing by ExampleController#restricted as HTML
|
944
|
-
[1m[
|
947
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
|
945
948
|
Rendered text template (0.0ms)
|
946
|
-
Completed 200 OK in 1ms (Views: 0.
|
947
|
-
Started GET "/restricted" for 127.0.0.1 at 2017-12-
|
949
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
950
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-11 18:11:39 +0000
|
948
951
|
Processing by ExampleController#restricted as HTML
|
949
952
|
Authenticating with gds_sso strategy
|
950
|
-
Completed in
|
951
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-
|
952
|
-
Started GET "/auth/gds/callback?code=
|
953
|
+
Completed in 0ms (ActiveRecord: 0.0ms)
|
954
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-11 18:11:39 +0000
|
955
|
+
Started GET "/auth/gds/callback?code=a4f9db4a37967cbf8561bb81ac4d18abb622dca5d08bf652cc99744dae04d6d3&state=28678d68fc6a25af5e40b7051f44f9e6698832b147310cd0" for 127.0.0.1 at 2017-12-11 18:11:39 +0000
|
953
956
|
Processing by AuthenticationsController#callback as HTML
|
954
|
-
Parameters: {"code"=>"
|
957
|
+
Parameters: {"code"=>"a4f9db4a37967cbf8561bb81ac4d18abb622dca5d08bf652cc99744dae04d6d3", "state"=>"28678d68fc6a25af5e40b7051f44f9e6698832b147310cd0"}
|
955
958
|
Authenticating with gds_sso strategy
|
956
|
-
[1m[
|
957
|
-
[1m[
|
958
|
-
[1m[
|
959
|
-
[1m[
|
960
|
-
[1m[
|
959
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
960
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
961
|
+
[1m[35m (0.1ms)[0m commit transaction
|
962
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
963
|
+
[1m[35m (0.0ms)[0m commit transaction
|
961
964
|
Redirected to http://www.example-client.com/restricted
|
962
|
-
Completed 302 Found in 4ms (ActiveRecord: 0.
|
963
|
-
Started GET "/restricted" for 127.0.0.1 at 2017-12-
|
965
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.3ms)
|
966
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-11 18:11:39 +0000
|
964
967
|
Processing by ExampleController#restricted as HTML
|
965
|
-
[1m[
|
968
|
+
[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"]]
|
966
969
|
Rendered text template (0.0ms)
|
967
970
|
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
968
|
-
Started GET "/restricted" for 127.0.0.1 at 2017-12-
|
971
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-12 14:06:39 +0000
|
972
|
+
Processing by ExampleController#restricted as HTML
|
973
|
+
[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"]]
|
974
|
+
Rendered text template (0.0ms)
|
975
|
+
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
976
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-11 18:11:39 +0000
|
969
977
|
Processing by ExampleController#restricted as HTML
|
970
978
|
Authenticating with gds_sso strategy
|
971
979
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
972
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-
|
973
|
-
Started GET "/auth/gds/callback?code=
|
980
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-11 18:11:39 +0000
|
981
|
+
Started GET "/auth/gds/callback?code=8d1db51b13d3f235a70765f95488ab10820645da8ed6781958a57ba5d847c5cc&state=5b023d4a0024df77bea6d002bb82d252367911d1ca4e5935" for 127.0.0.1 at 2017-12-11 18:11:39 +0000
|
974
982
|
Processing by AuthenticationsController#callback as HTML
|
975
|
-
Parameters: {"code"=>"
|
983
|
+
Parameters: {"code"=>"8d1db51b13d3f235a70765f95488ab10820645da8ed6781958a57ba5d847c5cc", "state"=>"5b023d4a0024df77bea6d002bb82d252367911d1ca4e5935"}
|
976
984
|
Authenticating with gds_sso strategy
|
977
985
|
[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
986
|
[1m[35m (0.1ms)[0m begin transaction
|
979
|
-
[1m[36m (0.
|
987
|
+
[1m[36m (0.2ms)[0m [1mcommit transaction[0m
|
980
988
|
[1m[35m (0.0ms)[0m begin transaction
|
981
|
-
[1m[36m (0.
|
989
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
982
990
|
Redirected to http://www.example-client.com/restricted
|
983
|
-
Completed 302 Found in
|
984
|
-
Started GET "/restricted" for 127.0.0.1 at 2017-12-
|
991
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.5ms)
|
992
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-11 18:11:39 +0000
|
985
993
|
Processing by ExampleController#restricted as HTML
|
986
994
|
[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
995
|
Rendered text template (0.0ms)
|
988
996
|
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
989
|
-
Started GET "/restricted" for 127.0.0.1 at 2017-12-
|
997
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-12 14:16:39 +0000
|
990
998
|
Processing by ExampleController#restricted as HTML
|
991
999
|
Authenticating with gds_sso strategy
|
992
1000
|
Completed in 1ms (ActiveRecord: 0.0ms)
|
993
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-
|
994
|
-
Started GET "/restricted" for 127.0.0.1 at 2017-12-
|
1001
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-12 14:16:39 +0000
|
1002
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-11 18:11:39 +0000
|
995
1003
|
Processing by ExampleController#restricted as JSON
|
996
|
-
|
997
|
-
Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:17:06 +0000
|
998
|
-
Processing by ExampleController#restricted as JSON
|
999
|
-
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
1004
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
1000
1005
|
[1m[35m (0.1ms)[0m begin transaction
|
1001
|
-
[1m[36mSQL (0.
|
1002
|
-
[1m[35m (5.
|
1006
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "users" SET "disabled" = ? WHERE "users"."id" = ?[0m [["disabled", nil], ["id", 2]]
|
1007
|
+
[1m[35m (5.2ms)[0m commit transaction
|
1003
1008
|
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
1004
1009
|
[1m[35m (0.0ms)[0m begin transaction
|
1005
1010
|
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
@@ -1012,459 +1017,454 @@ Processing by ExampleController#restricted as JSON
|
|
1012
1017
|
[1m[35m (0.0ms)[0m begin transaction
|
1013
1018
|
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1014
1019
|
Rendered text template (0.0ms)
|
1015
|
-
Completed 200 OK in
|
1016
|
-
Started GET "/restricted" for 127.0.0.1 at 2017-12-
|
1020
|
+
Completed 200 OK in 73ms (Views: 0.3ms | ActiveRecord: 6.2ms)
|
1021
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-11 18:11:39 +0000
|
1017
1022
|
Processing by ExampleController#restricted as JSON
|
1018
|
-
Completed in
|
1019
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2017-12-
|
1023
|
+
Completed in 12ms (ActiveRecord: 0.0ms)
|
1024
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2017-12-11 18:11:39 +0000
|
1020
1025
|
Processing by ExampleController#this_requires_signin_permission as JSON
|
1021
1026
|
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
1022
1027
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1023
|
-
[1m[35m (0.
|
1028
|
+
[1m[35m (0.0ms)[0m commit transaction
|
1024
1029
|
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
1025
1030
|
[1m[35m (0.0ms)[0m begin transaction
|
1026
1031
|
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1027
1032
|
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
1028
|
-
[1m[36m (0.
|
1033
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1029
1034
|
[1m[35m (0.0ms)[0m commit transaction
|
1030
1035
|
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
1031
1036
|
[1m[35m (0.0ms)[0m begin transaction
|
1032
1037
|
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1033
|
-
[1m[35m (0.1ms)[0m begin transaction
|
1034
|
-
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1035
|
-
Rendered text template (0.0ms)
|
1036
|
-
Completed 200 OK in 63ms (Views: 0.3ms | ActiveRecord: 0.7ms)
|
1037
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "asd"]]
|
1038
|
-
[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"]]
|
1039
|
-
[1m[35m (0.1ms)[0m begin transaction
|
1040
|
-
[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]]
|
1041
|
-
[1m[35m (4.3ms)[0m commit transaction
|
1042
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "asd"]]
|
1043
1038
|
[1m[35m (0.0ms)[0m begin transaction
|
1044
1039
|
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1040
|
+
Rendered text template (0.0ms)
|
1041
|
+
Completed 200 OK in 63ms (Views: 0.3ms | ActiveRecord: 0.6ms)
|
1042
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-11 18:11:39 +0000
|
1043
|
+
Processing by ExampleController#restricted as JSON
|
1044
|
+
Completed in 22ms (ActiveRecord: 0.0ms)
|
1045
1045
|
[1m[35m (0.1ms)[0m begin transaction
|
1046
|
-
[1m[36mSQL (0.
|
1047
|
-
[1m[35m (4.
|
1046
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["uid", "a1s2d39515"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
|
1047
|
+
[1m[35m (4.4ms)[0m commit transaction
|
1048
1048
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1049
|
-
[1m[35mSQL (0.
|
1049
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d39732"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
1050
1050
|
[1m[36m (5.2ms)[0m [1mcommit transaction[0m
|
1051
1051
|
Processing by Api::UserController#reauth as HTML
|
1052
|
-
Parameters: {"uid"=>"
|
1053
|
-
|
1054
|
-
Completed 403 Forbidden in 7ms (Views: 6.6ms | ActiveRecord: 0.0ms)
|
1055
|
-
[1m[35m (0.1ms)[0m begin transaction
|
1056
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["uid", "a1s2d36988"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
|
1057
|
-
[1m[35m (4.0ms)[0m commit transaction
|
1058
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1059
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d33638"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
1060
|
-
[1m[36m (3.7ms)[0m [1mcommit transaction[0m
|
1061
|
-
Processing by Api::UserController#reauth as HTML
|
1062
|
-
Parameters: {"uid"=>"a1s2d36988"}
|
1063
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "a1s2d36988"]]
|
1052
|
+
Parameters: {"uid"=>"a1s2d39515"}
|
1053
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "a1s2d39515"]]
|
1064
1054
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1065
|
-
[1m[35mSQL (0.1ms)[0m UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", "t"], ["id",
|
1066
|
-
[1m[36m (
|
1067
|
-
Completed 200 OK in
|
1068
|
-
[1m[35mUser Load (0.
|
1069
|
-
[1m[36m (0.
|
1070
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "
|
1071
|
-
[1m[36m (
|
1055
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", "t"], ["id", 3]]
|
1056
|
+
[1m[36m (5.3ms)[0m [1mcommit transaction[0m
|
1057
|
+
Completed 200 OK in 8ms (ActiveRecord: 5.5ms)
|
1058
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]
|
1059
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1060
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d3385"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
|
1061
|
+
[1m[36m (5.3ms)[0m [1mcommit transaction[0m
|
1072
1062
|
[1m[35m (0.0ms)[0m begin transaction
|
1073
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["uid", "
|
1074
|
-
[1m[35m (
|
1063
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["uid", "a1s2d37194"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
1064
|
+
[1m[35m (5.1ms)[0m commit transaction
|
1075
1065
|
Processing by Api::UserController#reauth as HTML
|
1076
1066
|
Parameters: {"uid"=>"nonexistent-user"}
|
1077
1067
|
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "nonexistent-user"]]
|
1078
1068
|
Completed 200 OK in 1ms (ActiveRecord: 0.1ms)
|
1079
|
-
[1m[35m (0.
|
1080
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["uid", "
|
1069
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1070
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["uid", "a1s2d38153"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
|
1071
|
+
[1m[35m (4.0ms)[0m commit transaction
|
1072
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1073
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d33490"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
1074
|
+
[1m[36m (5.0ms)[0m [1mcommit transaction[0m
|
1075
|
+
Processing by Api::UserController#reauth as HTML
|
1076
|
+
Parameters: {"uid"=>"a1s2d38153"}
|
1077
|
+
Rendered /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.2ms)
|
1078
|
+
Completed 403 Forbidden in 7ms (Views: 6.3ms | ActiveRecord: 0.0ms)
|
1079
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1080
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["uid", "a1s2d32399"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
|
1081
1081
|
[1m[35m (5.0ms)[0m commit transaction
|
1082
1082
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1083
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "
|
1083
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d32495"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
1084
1084
|
[1m[36m (4.0ms)[0m [1mcommit transaction[0m
|
1085
1085
|
Processing by Api::UserController#update as HTML
|
1086
|
-
Parameters: {"uid"=>"
|
1087
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "
|
1088
|
-
[1m[36m (0.
|
1086
|
+
Parameters: {"uid"=>"a1s2d32399"}
|
1087
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "a1s2d32399"]]
|
1088
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1089
1089
|
[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", 9]]
|
1090
1090
|
[1m[36m (4.2ms)[0m [1mcommit transaction[0m
|
1091
|
-
Completed 200 OK in
|
1091
|
+
Completed 200 OK in 8ms (ActiveRecord: 4.5ms)
|
1092
1092
|
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 9]]
|
1093
1093
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1094
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "
|
1095
|
-
[1m[36m (4.
|
1096
|
-
[1m[35m (0.
|
1097
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["uid", "
|
1098
|
-
[1m[35m (5.
|
1094
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d33956"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
|
1095
|
+
[1m[36m (4.0ms)[0m [1mcommit transaction[0m
|
1096
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1097
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["uid", "a1s2d31873"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
1098
|
+
[1m[35m (5.1ms)[0m commit transaction
|
1099
1099
|
Processing by Api::UserController#update as HTML
|
1100
|
-
Parameters: {"uid"=>"
|
1101
|
-
Rendered /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.
|
1102
|
-
Completed 403 Forbidden in 1ms (Views: 0.
|
1103
|
-
[1m[35m (
|
1104
|
-
[1m[35m (4.
|
1100
|
+
Parameters: {"uid"=>"a1s2d33956"}
|
1101
|
+
Rendered /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.3ms)
|
1102
|
+
Completed 403 Forbidden in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)
|
1103
|
+
[1m[35m (5.0ms)[0m [1m[35mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar NOT NULL, "uid" varchar NOT NULL, "email" varchar NOT NULL, "remotely_signed_out" boolean, "permissions" text, "organisation_slug" varchar, "organisation_content_id" varchar, "disabled" boolean DEFAULT 'f')[0m
|
1104
|
+
[1m[35m (4.9ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
1105
1105
|
[1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", :environment], ["LIMIT", 1]]
|
1106
|
-
[1m[35m (0.
|
1107
|
-
[1m[35mSQL (0.
|
1108
|
-
[1m[35m (5.
|
1109
|
-
[1m[35m (5.
|
1106
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1107
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "environment"], ["value", "test"], ["created_at", 2017-12-11 18:11:45 UTC], ["updated_at", 2017-12-11 18:11:45 UTC]]
|
1108
|
+
[1m[35m (5.1ms)[0m [1m[36mcommit transaction[0m
|
1109
|
+
[1m[35m (5.3ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
|
1110
1110
|
[1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", :environment], ["LIMIT", 1]]
|
1111
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1112
|
+
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
1111
1113
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1112
|
-
[1m[
|
1113
|
-
|
1114
|
-
|
1114
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d34859"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
1115
|
+
[1m[35m (11.4ms)[0m [1m[36mcommit transaction[0m
|
1116
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1117
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d35109"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
1118
|
+
[1m[35m (8.4ms)[0m [1m[36mcommit transaction[0m
|
1119
|
+
Processing by Api::UserController#update as HTML
|
1120
|
+
Parameters: {"uid"=>"a1s2d34859"}
|
1121
|
+
Rendering /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
|
1122
|
+
Rendered /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.2ms)
|
1123
|
+
Completed 403 Forbidden in 12ms (Views: 11.5ms | ActiveRecord: 0.0ms)
|
1124
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1125
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d33226"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
1126
|
+
[1m[35m (3.8ms)[0m [1m[36mcommit transaction[0m
|
1127
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1128
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d39694"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
1129
|
+
[1m[35m (3.7ms)[0m [1m[36mcommit transaction[0m
|
1130
|
+
Processing by Api::UserController#update as HTML
|
1131
|
+
Parameters: {"uid"=>"a1s2d33226"}
|
1132
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "a1s2d33226"], ["LIMIT", 1]]
|
1133
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1134
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "users" SET "email" = ?, "name" = ?, "permissions" = ?, "organisation_slug" = ?, "organisation_content_id" = ? WHERE "users"."id" = ?[0m [["email", "user@domain.com"], ["name", "Joshua Marshall"], ["permissions", "---\n- signin\n- new permission\n"], ["organisation_slug", "justice-league"], ["organisation_content_id", "aae1319e-5788-4677-998c-f1a53af528d0"], ["id", 3]]
|
1135
|
+
[1m[35m (4.7ms)[0m [1m[36mcommit transaction[0m
|
1136
|
+
Completed 200 OK in 9ms (ActiveRecord: 5.0ms)
|
1137
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 3], ["LIMIT", 1]]
|
1138
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1139
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d3551"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
1140
|
+
[1m[35m (3.7ms)[0m [1m[36mcommit transaction[0m
|
1141
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1142
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d32467"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
1143
|
+
[1m[35m (4.7ms)[0m [1m[36mcommit transaction[0m
|
1144
|
+
Processing by Api::UserController#reauth as HTML
|
1145
|
+
Parameters: {"uid"=>"a1s2d3551"}
|
1146
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "a1s2d3551"], ["LIMIT", 1]]
|
1147
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1148
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", true], ["id", 5]]
|
1149
|
+
[1m[35m (4.7ms)[0m [1m[36mcommit transaction[0m
|
1150
|
+
Completed 200 OK in 7ms (ActiveRecord: 5.0ms)
|
1151
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 5], ["LIMIT", 1]]
|
1152
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1153
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d34477"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
1154
|
+
[1m[35m (3.9ms)[0m [1m[36mcommit transaction[0m
|
1155
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1156
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d36517"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
1157
|
+
[1m[35m (4.5ms)[0m [1m[36mcommit transaction[0m
|
1158
|
+
Processing by Api::UserController#reauth as HTML
|
1159
|
+
Parameters: {"uid"=>"nonexistent-user"}
|
1160
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "nonexistent-user"], ["LIMIT", 1]]
|
1161
|
+
Completed 200 OK in 1ms (ActiveRecord: 0.1ms)
|
1162
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1163
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d36242"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
1164
|
+
[1m[35m (4.1ms)[0m [1m[36mcommit transaction[0m
|
1165
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1166
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d31608"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
1167
|
+
[1m[35m (6.8ms)[0m [1m[36mcommit transaction[0m
|
1168
|
+
Processing by Api::UserController#reauth as HTML
|
1169
|
+
Parameters: {"uid"=>"a1s2d36242"}
|
1170
|
+
Rendering /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
|
1171
|
+
Rendered /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.0ms)
|
1172
|
+
Completed 403 Forbidden in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
|
1173
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "asd"], ["LIMIT", 1]]
|
1174
|
+
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["email", "user@example.com"], ["LIMIT", 1]]
|
1175
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1176
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions", "organisation_slug", "organisation_content_id", "disabled") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["name", "A Name"], ["uid", "asd"], ["email", "user@example.com"], ["permissions", "---\n- signin\n"], ["organisation_slug", "hmrc"], ["organisation_content_id", "67a2b78d-eee3-45b3-80e2-792e7f71cecc"], ["disabled", nil]]
|
1177
|
+
[1m[35m (5.7ms)[0m [1m[36mcommit transaction[0m
|
1178
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "asd"], ["LIMIT", 1]]
|
1179
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1180
|
+
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
1181
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-11 18:11:45 +0000
|
1182
|
+
Processing by ExampleController#restricted as JSON
|
1115
1183
|
[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]]
|
1116
1184
|
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["email", "test@example-client.com"], ["LIMIT", 1]]
|
1117
|
-
[1m[35m (0.
|
1185
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1118
1186
|
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions", "disabled") VALUES (?, ?, ?, ?, ?)[0m [["name", "Test User"], ["uid", "integration-uid"], ["email", "test@example-client.com"], ["permissions", "---\n- signin\n"], ["disabled", nil]]
|
1119
|
-
[1m[35m (
|
1187
|
+
[1m[35m (5.4ms)[0m [1m[36mcommit transaction[0m
|
1120
1188
|
[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]]
|
1121
|
-
[1m[35m (0.
|
1189
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1122
1190
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1123
1191
|
[1m[36mCACHE (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
1124
|
-
[1m[35m (0.
|
1192
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1125
1193
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1126
1194
|
[1m[36mCACHE (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
1127
|
-
[1m[35m (0.
|
1128
|
-
[1m[35m (0.
|
1129
|
-
[1m[35m (0.
|
1130
|
-
[1m[35mSQL (0.
|
1131
|
-
[1m[35m (
|
1195
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1196
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1197
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1198
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", false], ["id", 12]]
|
1199
|
+
[1m[35m (5.0ms)[0m [1m[36mcommit transaction[0m
|
1132
1200
|
Rendering text template
|
1133
1201
|
Rendered text template (0.0ms)
|
1134
|
-
Completed 200 OK in
|
1135
|
-
Started GET "/
|
1136
|
-
Processing by ExampleController#
|
1137
|
-
Completed in 26ms (ActiveRecord: 0.0ms)
|
1138
|
-
Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:17:18 +0000
|
1139
|
-
Processing by ExampleController#restricted as JSON
|
1140
|
-
Completed in 14ms (ActiveRecord: 0.0ms)
|
1141
|
-
Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:17:18 +0000
|
1142
|
-
Processing by ExampleController#restricted as JSON
|
1202
|
+
Completed 200 OK in 88ms (Views: 1.5ms | ActiveRecord: 11.5ms)
|
1203
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2017-12-11 18:11:45 +0000
|
1204
|
+
Processing by ExampleController#this_requires_signin_permission as JSON
|
1143
1205
|
[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]]
|
1144
1206
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1145
1207
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1146
1208
|
[1m[36mCACHE (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
1147
|
-
[1m[35m (0.
|
1209
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1148
1210
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1149
1211
|
[1m[36mCACHE (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
1150
|
-
[1m[35m (0.
|
1212
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1151
1213
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1152
1214
|
[1m[36mCACHE (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
1153
1215
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1154
1216
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1155
1217
|
Rendering text template
|
1156
1218
|
Rendered text template (0.0ms)
|
1157
|
-
Completed 200 OK in
|
1158
|
-
Started GET "/
|
1219
|
+
Completed 200 OK in 61ms (Views: 0.3ms | ActiveRecord: 0.6ms)
|
1220
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-11 18:11:46 +0000
|
1221
|
+
Processing by ExampleController#restricted as JSON
|
1222
|
+
Completed in 14ms (ActiveRecord: 0.0ms)
|
1223
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-11 18:11:46 +0000
|
1224
|
+
Processing by ExampleController#restricted as JSON
|
1225
|
+
Completed in 21ms (ActiveRecord: 0.0ms)
|
1226
|
+
Started GET "/" for 127.0.0.1 at 2017-12-11 18:11:46 +0000
|
1227
|
+
Processing by ExampleController#index as HTML
|
1228
|
+
Rendering text template
|
1229
|
+
Rendered text template (0.0ms)
|
1230
|
+
Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
1231
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2017-12-11 18:11:46 +0000
|
1159
1232
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
1160
1233
|
Authenticating with gds_sso strategy
|
1161
1234
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
1162
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-
|
1163
|
-
Started GET "/auth/gds/callback?code=
|
1235
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-11 18:11:46 +0000
|
1236
|
+
Started GET "/auth/gds/callback?code=4dca828cc8497e2d264720d41d20e447d7c0eaeadaa96c6ca4cb128dba66c84f&state=f19954903ebcfc8afe57a2af145d9f5c4104c06ff8ab3c2f" for 127.0.0.1 at 2017-12-11 18:11:46 +0000
|
1164
1237
|
Processing by AuthenticationsController#callback as HTML
|
1165
|
-
Parameters: {"code"=>"
|
1238
|
+
Parameters: {"code"=>"4dca828cc8497e2d264720d41d20e447d7c0eaeadaa96c6ca4cb128dba66c84f", "state"=>"f19954903ebcfc8afe57a2af145d9f5c4104c06ff8ab3c2f"}
|
1166
1239
|
Authenticating with gds_sso strategy
|
1167
1240
|
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
1168
|
-
[1m[35m (0.
|
1169
|
-
[1m[35mSQL (0.2ms)[0m [1m[33mUPDATE "users" SET "disabled" = ? WHERE "users"."id" = ?[0m [["disabled", false], ["id",
|
1170
|
-
[1m[35m (
|
1241
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1242
|
+
[1m[35mSQL (0.2ms)[0m [1m[33mUPDATE "users" SET "disabled" = ? WHERE "users"."id" = ?[0m [["disabled", false], ["id", 12]]
|
1243
|
+
[1m[35m (4.4ms)[0m [1m[36mcommit transaction[0m
|
1171
1244
|
Redirected to http://www.example-client.com/this_requires_signin_permission
|
1172
|
-
Completed 302 Found in
|
1173
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2017-12-
|
1245
|
+
Completed 302 Found in 8ms (ActiveRecord: 4.8ms)
|
1246
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2017-12-11 18:11:46 +0000
|
1174
1247
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
1175
|
-
[1m[36mUser Load (0.
|
1248
|
+
[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", false], ["LIMIT", 1]]
|
1176
1249
|
Rendering text template
|
1177
1250
|
Rendered text template (0.0ms)
|
1178
|
-
Completed 200 OK in
|
1179
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2017-12-
|
1251
|
+
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
1252
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2017-12-11 18:11:46 +0000
|
1180
1253
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
1181
1254
|
Authenticating with gds_sso strategy
|
1182
1255
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
1183
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-
|
1184
|
-
Started GET "/auth/gds/callback?code=
|
1256
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-11 18:11:46 +0000
|
1257
|
+
Started GET "/auth/gds/callback?code=fee9d4da803dea1818a4cba172ad59888e23c643e6e73325ece459b38889be3d&state=a81312773655f0c6bc4c07fe7c996ac0d393cef049efef0b" for 127.0.0.1 at 2017-12-11 18:11:46 +0000
|
1185
1258
|
Processing by AuthenticationsController#callback as HTML
|
1186
|
-
Parameters: {"code"=>"
|
1259
|
+
Parameters: {"code"=>"fee9d4da803dea1818a4cba172ad59888e23c643e6e73325ece459b38889be3d", "state"=>"a81312773655f0c6bc4c07fe7c996ac0d393cef049efef0b"}
|
1187
1260
|
Authenticating with gds_sso strategy
|
1188
1261
|
[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]]
|
1189
|
-
[1m[35m (0.
|
1190
|
-
[1m[35m (0.
|
1262
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1263
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1191
1264
|
Redirected to http://www.example-client.com/this_requires_signin_permission
|
1192
1265
|
Completed 302 Found in 3ms (ActiveRecord: 0.3ms)
|
1193
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2017-12-
|
1266
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2017-12-11 18:11:46 +0000
|
1194
1267
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
1195
1268
|
[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", false], ["LIMIT", 1]]
|
1196
1269
|
Rendering text template
|
1197
1270
|
Rendered text template (0.0ms)
|
1198
1271
|
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
1199
|
-
Started GET "/restricted" for 127.0.0.1 at 2017-12-
|
1272
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-11 18:11:46 +0000
|
1200
1273
|
Processing by ExampleController#restricted as HTML
|
1201
1274
|
Authenticating with gds_sso strategy
|
1202
1275
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
1203
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-
|
1204
|
-
Started GET "/auth/gds/callback?code=
|
1276
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-11 18:11:46 +0000
|
1277
|
+
Started GET "/auth/gds/callback?code=5face0d186b6d158ba605e7f768962aadb4284d01368a0c08631e9c5e64bdb52&state=a64a21a6bf9b6c62bff33711337ebc51ab1237b905900682" for 127.0.0.1 at 2017-12-11 18:11:46 +0000
|
1205
1278
|
Processing by AuthenticationsController#callback as HTML
|
1206
|
-
Parameters: {"code"=>"
|
1279
|
+
Parameters: {"code"=>"5face0d186b6d158ba605e7f768962aadb4284d01368a0c08631e9c5e64bdb52", "state"=>"a64a21a6bf9b6c62bff33711337ebc51ab1237b905900682"}
|
1207
1280
|
Authenticating with gds_sso strategy
|
1208
1281
|
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
1209
1282
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1210
1283
|
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
1211
1284
|
Redirected to http://www.example-client.com/restricted
|
1212
1285
|
Completed 302 Found in 3ms (ActiveRecord: 0.3ms)
|
1213
|
-
Started GET "/restricted" for 127.0.0.1 at 2017-12-
|
1286
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-11 18:11:46 +0000
|
1214
1287
|
Processing by ExampleController#restricted as HTML
|
1215
1288
|
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", false], ["LIMIT", 1]]
|
1216
1289
|
Rendering text template
|
1217
|
-
Rendered text template (0.
|
1290
|
+
Rendered text template (0.2ms)
|
1218
1291
|
Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.2ms)
|
1219
|
-
Started GET "/restricted" for 127.0.0.1 at 2017-12-
|
1292
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-11 18:11:46 +0000
|
1220
1293
|
Processing by ExampleController#restricted as HTML
|
1221
1294
|
Authenticating with gds_sso strategy
|
1222
1295
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
1223
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-
|
1224
|
-
Started GET "/auth/gds/callback?code=
|
1296
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-11 18:11:46 +0000
|
1297
|
+
Started GET "/auth/gds/callback?code=0704edee38b33462fb9f2fb4b8a23bf23559d1d62e85fc348022a8ea4f9e3074&state=fd40e5641e3fa51da2f98a19a1063f116a86bb13ebc46ec7" for 127.0.0.1 at 2017-12-11 18:11:46 +0000
|
1225
1298
|
Processing by AuthenticationsController#callback as HTML
|
1226
|
-
Parameters: {"code"=>"
|
1299
|
+
Parameters: {"code"=>"0704edee38b33462fb9f2fb4b8a23bf23559d1d62e85fc348022a8ea4f9e3074", "state"=>"fd40e5641e3fa51da2f98a19a1063f116a86bb13ebc46ec7"}
|
1227
1300
|
Authenticating with gds_sso strategy
|
1228
1301
|
[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]]
|
1229
1302
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1230
1303
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1231
1304
|
Redirected to http://www.example-client.com/restricted
|
1232
1305
|
Completed 302 Found in 3ms (ActiveRecord: 0.3ms)
|
1233
|
-
Started GET "/restricted" for 127.0.0.1 at 2017-12-
|
1306
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-11 18:11:46 +0000
|
1234
1307
|
Processing by ExampleController#restricted as HTML
|
1235
1308
|
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", false], ["LIMIT", 1]]
|
1236
1309
|
Rendering text template
|
1237
|
-
Rendered text template (0.
|
1238
|
-
Completed 200 OK in
|
1239
|
-
Started GET "/" for 127.0.0.1 at 2017-12-
|
1240
|
-
Processing by ExampleController#index as HTML
|
1241
|
-
Rendering text template
|
1242
|
-
Rendered text template (0.0ms)
|
1243
|
-
Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
1244
|
-
Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:17:19 +0000
|
1310
|
+
Rendered text template (0.1ms)
|
1311
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.2ms)
|
1312
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-11 18:11:46 +0000
|
1245
1313
|
Processing by ExampleController#restricted as HTML
|
1246
1314
|
Authenticating with gds_sso strategy
|
1247
1315
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
1248
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-
|
1249
|
-
Started GET "/auth/gds/callback?code=
|
1316
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-11 18:11:46 +0000
|
1317
|
+
Started GET "/auth/gds/callback?code=f1d50a1344511cd3480ebd6b094750fb81bea076cb3c1d3c8d30899a2506819e&state=e2ac30d920c8b0cb776d0ba3187811a220f250afe4d5a6ca" for 127.0.0.1 at 2017-12-11 18:11:47 +0000
|
1250
1318
|
Processing by AuthenticationsController#callback as HTML
|
1251
|
-
Parameters: {"code"=>"
|
1319
|
+
Parameters: {"code"=>"f1d50a1344511cd3480ebd6b094750fb81bea076cb3c1d3c8d30899a2506819e", "state"=>"e2ac30d920c8b0cb776d0ba3187811a220f250afe4d5a6ca"}
|
1252
1320
|
Authenticating with gds_sso strategy
|
1253
1321
|
[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]]
|
1254
1322
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1255
1323
|
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
1256
1324
|
Redirected to http://www.example-client.com/restricted
|
1257
1325
|
Completed 302 Found in 3ms (ActiveRecord: 0.4ms)
|
1258
|
-
Started GET "/restricted" for 127.0.0.1 at 2017-12-
|
1326
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-11 18:11:47 +0000
|
1259
1327
|
Processing by ExampleController#restricted as HTML
|
1260
1328
|
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", false], ["LIMIT", 1]]
|
1261
1329
|
Rendering text template
|
1262
1330
|
Rendered text template (0.0ms)
|
1263
1331
|
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.2ms)
|
1264
|
-
Started GET "/restricted" for 127.0.0.1 at 2017-12-
|
1332
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-11 18:11:47 +0000
|
1265
1333
|
Processing by ExampleController#restricted as HTML
|
1266
1334
|
Authenticating with gds_sso strategy
|
1267
1335
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
1268
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-
|
1269
|
-
Started GET "/auth/gds/callback?code=
|
1336
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-11 18:11:47 +0000
|
1337
|
+
Started GET "/auth/gds/callback?code=cc1a662f6e8fa952c5255bf3f2f3b5ac682fe4018b8786eaaadd954a0d70cdbb&state=eb40effa597b1613045fe33220543ba4925de0b3878d69a5" for 127.0.0.1 at 2017-12-11 18:11:47 +0000
|
1270
1338
|
Processing by AuthenticationsController#callback as HTML
|
1271
|
-
Parameters: {"code"=>"
|
1339
|
+
Parameters: {"code"=>"cc1a662f6e8fa952c5255bf3f2f3b5ac682fe4018b8786eaaadd954a0d70cdbb", "state"=>"eb40effa597b1613045fe33220543ba4925de0b3878d69a5"}
|
1272
1340
|
Authenticating with gds_sso strategy
|
1273
|
-
[1m[36mUser Load (0.
|
1341
|
+
[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]]
|
1274
1342
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1275
1343
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1276
1344
|
Redirected to http://www.example-client.com/restricted
|
1277
|
-
Completed 302 Found in
|
1278
|
-
Started GET "/restricted" for 127.0.0.1 at 2017-12-
|
1345
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.3ms)
|
1346
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-11 18:11:47 +0000
|
1279
1347
|
Processing by ExampleController#restricted as HTML
|
1280
1348
|
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", false], ["LIMIT", 1]]
|
1281
1349
|
Rendering text template
|
1282
1350
|
Rendered text template (0.0ms)
|
1283
1351
|
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.2ms)
|
1284
|
-
|
1285
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1286
|
-
[1m[35mSQL (0.2ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", true], ["id", 1]]
|
1287
|
-
[1m[35m (5.6ms)[0m [1m[36mcommit transaction[0m
|
1288
|
-
Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:17:19 +0000
|
1352
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-12 14:06:47 +0000
|
1289
1353
|
Processing by ExampleController#restricted as HTML
|
1290
1354
|
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", false], ["LIMIT", 1]]
|
1355
|
+
Rendering text template
|
1356
|
+
Rendered text template (0.0ms)
|
1357
|
+
Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.2ms)
|
1358
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-11 18:11:47 +0000
|
1359
|
+
Processing by ExampleController#restricted as HTML
|
1291
1360
|
Authenticating with gds_sso strategy
|
1292
|
-
Completed in
|
1293
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-
|
1294
|
-
Started GET "/auth/gds/callback?code=
|
1361
|
+
Completed in 0ms (ActiveRecord: 0.0ms)
|
1362
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-11 18:11:47 +0000
|
1363
|
+
Started GET "/auth/gds/callback?code=3cc841f99bd9671ac4c438e180fc75d673d03ec4ec2cc8530a57dc0808a85636&state=73e1d6169f3c0306576790af575565e609ec82ed21b29afb" for 127.0.0.1 at 2017-12-11 18:11:47 +0000
|
1295
1364
|
Processing by AuthenticationsController#callback as HTML
|
1296
|
-
Parameters: {"code"=>"
|
1365
|
+
Parameters: {"code"=>"3cc841f99bd9671ac4c438e180fc75d673d03ec4ec2cc8530a57dc0808a85636", "state"=>"73e1d6169f3c0306576790af575565e609ec82ed21b29afb"}
|
1297
1366
|
Authenticating with gds_sso strategy
|
1298
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]]
|
1299
|
-
[1m[35m (0.
|
1300
|
-
[1m[35m (0.
|
1301
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1302
|
-
[1m[35mSQL (0.2ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", false], ["id", 1]]
|
1303
|
-
[1m[35m (6.2ms)[0m [1m[36mcommit transaction[0m
|
1368
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1369
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1304
1370
|
Redirected to http://www.example-client.com/restricted
|
1305
|
-
Completed 302 Found in
|
1306
|
-
Started GET "/restricted" for 127.0.0.1 at 2017-12-
|
1371
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
|
1372
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-11 18:11:47 +0000
|
1307
1373
|
Processing by ExampleController#restricted as HTML
|
1308
1374
|
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", false], ["LIMIT", 1]]
|
1309
1375
|
Rendering text template
|
1310
1376
|
Rendered text template (0.0ms)
|
1311
|
-
Completed 200 OK in
|
1312
|
-
Started GET "/restricted" for 127.0.0.1 at 2017-12-
|
1377
|
+
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.2ms)
|
1378
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-12 14:16:47 +0000
|
1379
|
+
Processing by ExampleController#restricted as HTML
|
1380
|
+
Authenticating with gds_sso strategy
|
1381
|
+
Completed in 0ms (ActiveRecord: 0.0ms)
|
1382
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-12 14:16:47 +0000
|
1383
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-11 18:11:47 +0000
|
1313
1384
|
Processing by ExampleController#restricted as HTML
|
1314
1385
|
Authenticating with gds_sso strategy
|
1315
1386
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
1316
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-
|
1317
|
-
Started GET "/auth/gds/callback?code=
|
1387
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-11 18:11:47 +0000
|
1388
|
+
Started GET "/auth/gds/callback?code=1709a44002caba24e98cefb94073ac312d1e9b463fe95da71dbe4c321fb09775&state=94bbe288e7277ffc065829a9d43c29fac33d58274556d9e3" for 127.0.0.1 at 2017-12-11 18:11:47 +0000
|
1318
1389
|
Processing by AuthenticationsController#callback as HTML
|
1319
|
-
Parameters: {"code"=>"
|
1390
|
+
Parameters: {"code"=>"1709a44002caba24e98cefb94073ac312d1e9b463fe95da71dbe4c321fb09775", "state"=>"94bbe288e7277ffc065829a9d43c29fac33d58274556d9e3"}
|
1320
1391
|
Authenticating with gds_sso strategy
|
1321
|
-
[1m[36mUser Load (0.
|
1392
|
+
[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]]
|
1322
1393
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1323
1394
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1324
1395
|
Redirected to http://www.example-client.com/restricted
|
1325
|
-
Completed 302 Found in 3ms (ActiveRecord: 0.
|
1326
|
-
Started GET "/restricted" for 127.0.0.1 at 2017-12-
|
1396
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.3ms)
|
1397
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-11 18:11:47 +0000
|
1327
1398
|
Processing by ExampleController#restricted as HTML
|
1328
1399
|
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", false], ["LIMIT", 1]]
|
1329
1400
|
Rendering text template
|
1330
1401
|
Rendered text template (0.0ms)
|
1331
|
-
Completed 200 OK in 2ms (Views: 0.
|
1332
|
-
Started GET "/restricted" for 127.0.0.1 at 2017-12-
|
1402
|
+
Completed 200 OK in 2ms (Views: 0.5ms | ActiveRecord: 0.2ms)
|
1403
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-12 14:16:47 +0000
|
1333
1404
|
Processing by ExampleController#restricted as HTML
|
1334
1405
|
Authenticating with gds_sso strategy
|
1335
1406
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
1336
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-
|
1337
|
-
Started GET "/auth/gds/callback?code=
|
1407
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-12 14:16:47 +0000
|
1408
|
+
Started GET "/auth/gds/callback?code=0d06776b6f2e79773057046e66d6cbe4c283f3b0bfe3554f100b9c8a396265bd&state=911257c9e8dfddbc886f074faf5bcb3619c1f8dbb90cacd5" for 127.0.0.1 at 2017-12-12 14:16:48 +0000
|
1338
1409
|
Processing by AuthenticationsController#callback as HTML
|
1339
|
-
Parameters: {"code"=>"
|
1410
|
+
Parameters: {"code"=>"0d06776b6f2e79773057046e66d6cbe4c283f3b0bfe3554f100b9c8a396265bd", "state"=>"911257c9e8dfddbc886f074faf5bcb3619c1f8dbb90cacd5"}
|
1340
1411
|
Authenticating with gds_sso strategy
|
1341
1412
|
[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]]
|
1342
1413
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1343
1414
|
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
1344
1415
|
Redirected to http://www.example-client.com/restricted
|
1345
|
-
Completed 302 Found in
|
1346
|
-
Started GET "/restricted" for 127.0.0.1 at 2017-12-
|
1416
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
|
1417
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-12 14:16:48 +0000
|
1347
1418
|
Processing by ExampleController#restricted as HTML
|
1348
1419
|
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", false], ["LIMIT", 1]]
|
1349
1420
|
Rendering text template
|
1350
1421
|
Rendered text template (0.0ms)
|
1351
|
-
Completed 200 OK in 2ms (Views: 0.
|
1352
|
-
Started GET "/restricted" for 127.0.0.1 at 2017-12-
|
1422
|
+
Completed 200 OK in 2ms (Views: 0.5ms | ActiveRecord: 0.2ms)
|
1423
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-11 18:11:48 +0000
|
1353
1424
|
Processing by ExampleController#restricted as HTML
|
1354
1425
|
Authenticating with gds_sso strategy
|
1355
1426
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
1356
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-
|
1357
|
-
Started GET "/auth/gds/callback?code=
|
1427
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-11 18:11:48 +0000
|
1428
|
+
Started GET "/auth/gds/callback?code=73b8b1d09e2cacf554292f82e4cd29ca4a82ddfc88963ed02a83816af38e5f51&state=53ef06cd013ccf779d19cab42c99e15631703d6c3e40e74d" for 127.0.0.1 at 2017-12-11 18:11:48 +0000
|
1358
1429
|
Processing by AuthenticationsController#callback as HTML
|
1359
|
-
Parameters: {"code"=>"
|
1430
|
+
Parameters: {"code"=>"73b8b1d09e2cacf554292f82e4cd29ca4a82ddfc88963ed02a83816af38e5f51", "state"=>"53ef06cd013ccf779d19cab42c99e15631703d6c3e40e74d"}
|
1360
1431
|
Authenticating with gds_sso strategy
|
1361
1432
|
[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]]
|
1362
|
-
[1m[35m (0.
|
1363
|
-
[1m[35m (0.
|
1433
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1434
|
+
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
1364
1435
|
Redirected to http://www.example-client.com/restricted
|
1365
1436
|
Completed 302 Found in 4ms (ActiveRecord: 0.3ms)
|
1366
|
-
Started GET "/restricted" for 127.0.0.1 at 2017-12-
|
1437
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-11 18:11:48 +0000
|
1367
1438
|
Processing by ExampleController#restricted as HTML
|
1368
1439
|
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", false], ["LIMIT", 1]]
|
1369
1440
|
Rendering text template
|
1370
1441
|
Rendered text template (0.0ms)
|
1371
1442
|
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.2ms)
|
1372
|
-
|
1373
|
-
|
1374
|
-
|
1375
|
-
|
1376
|
-
Started GET "/
|
1377
|
-
Started GET "/restricted" for 127.0.0.1 at 2017-12-08 09:17:20 +0000
|
1443
|
+
[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]]
|
1444
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1445
|
+
[1m[35mSQL (0.2ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", true], ["id", 12]]
|
1446
|
+
[1m[35m (5.6ms)[0m [1m[36mcommit transaction[0m
|
1447
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-11 18:11:48 +0000
|
1378
1448
|
Processing by ExampleController#restricted as HTML
|
1449
|
+
[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", false], ["LIMIT", 1]]
|
1379
1450
|
Authenticating with gds_sso strategy
|
1380
|
-
Completed in
|
1381
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-
|
1382
|
-
Started GET "/auth/gds/callback?code=
|
1451
|
+
Completed in 1ms (ActiveRecord: 0.1ms)
|
1452
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-11 18:11:48 +0000
|
1453
|
+
Started GET "/auth/gds/callback?code=42c26fd0aef0bf0ade1e701e9fdd5bbb31f98b8f05e86abba8279d6dfc5cc243&state=b568d95a82bfe8323baf2ac2320a6296a4983cc2b2e3b8d1" for 127.0.0.1 at 2017-12-11 18:11:48 +0000
|
1383
1454
|
Processing by AuthenticationsController#callback as HTML
|
1384
|
-
Parameters: {"code"=>"
|
1455
|
+
Parameters: {"code"=>"42c26fd0aef0bf0ade1e701e9fdd5bbb31f98b8f05e86abba8279d6dfc5cc243", "state"=>"b568d95a82bfe8323baf2ac2320a6296a4983cc2b2e3b8d1"}
|
1385
1456
|
Authenticating with gds_sso strategy
|
1386
1457
|
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
1387
1458
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1388
1459
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1460
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1461
|
+
[1m[35mSQL (0.2ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", false], ["id", 12]]
|
1462
|
+
[1m[35m (5.2ms)[0m [1m[36mcommit transaction[0m
|
1389
1463
|
Redirected to http://www.example-client.com/restricted
|
1390
|
-
Completed 302 Found in
|
1391
|
-
Started GET "/restricted" for 127.0.0.1 at 2017-12-
|
1392
|
-
Processing by ExampleController#restricted as HTML
|
1393
|
-
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", false], ["LIMIT", 1]]
|
1394
|
-
Rendering text template
|
1395
|
-
Rendered text template (0.0ms)
|
1396
|
-
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.3ms)
|
1397
|
-
Started GET "/restricted" for 127.0.0.1 at 2017-12-09 05:12:20 +0000
|
1464
|
+
Completed 302 Found in 10ms (ActiveRecord: 5.7ms)
|
1465
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-11 18:11:48 +0000
|
1398
1466
|
Processing by ExampleController#restricted as HTML
|
1399
1467
|
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", false], ["LIMIT", 1]]
|
1400
1468
|
Rendering text template
|
1401
1469
|
Rendered text template (0.0ms)
|
1402
|
-
Completed 200 OK in 2ms (Views: 0.
|
1403
|
-
[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]]
|
1404
|
-
[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]]
|
1405
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1406
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions", "organisation_slug", "organisation_content_id", "disabled") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["name", "A Name"], ["uid", "asd"], ["email", "user@example.com"], ["permissions", "---\n- signin\n"], ["organisation_slug", "hmrc"], ["organisation_content_id", "67a2b78d-eee3-45b3-80e2-792e7f71cecc"], ["disabled", nil]]
|
1407
|
-
[1m[35m (6.5ms)[0m [1m[36mcommit transaction[0m
|
1408
|
-
[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]]
|
1409
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1410
|
-
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
1411
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1412
|
-
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d34992"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
1413
|
-
[1m[35m (5.2ms)[0m [1m[36mcommit transaction[0m
|
1414
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1415
|
-
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d34920"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
1416
|
-
[1m[35m (4.8ms)[0m [1m[36mcommit transaction[0m
|
1417
|
-
Processing by Api::UserController#update as HTML
|
1418
|
-
Parameters: {"uid"=>"a1s2d34992"}
|
1419
|
-
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "a1s2d34992"], ["LIMIT", 1]]
|
1420
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1421
|
-
[1m[35mSQL (0.2ms)[0m [1m[33mUPDATE "users" SET "email" = ?, "name" = ?, "permissions" = ?, "organisation_slug" = ?, "organisation_content_id" = ? WHERE "users"."id" = ?[0m [["email", "user@domain.com"], ["name", "Joshua Marshall"], ["permissions", "---\n- signin\n- new permission\n"], ["organisation_slug", "justice-league"], ["organisation_content_id", "aae1319e-5788-4677-998c-f1a53af528d0"], ["id", 3]]
|
1422
|
-
[1m[35m (5.3ms)[0m [1m[36mcommit transaction[0m
|
1423
|
-
Completed 200 OK in 9ms (ActiveRecord: 5.6ms)
|
1424
|
-
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 3], ["LIMIT", 1]]
|
1425
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1426
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d36717"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
1427
|
-
[1m[35m (5.2ms)[0m [1m[36mcommit transaction[0m
|
1428
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1429
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d34089"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
1430
|
-
[1m[35m (4.9ms)[0m [1m[36mcommit transaction[0m
|
1431
|
-
Processing by Api::UserController#update as HTML
|
1432
|
-
Parameters: {"uid"=>"a1s2d36717"}
|
1433
|
-
Rendering /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
|
1434
|
-
Rendered /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.2ms)
|
1435
|
-
Completed 403 Forbidden in 8ms (Views: 7.9ms | ActiveRecord: 0.0ms)
|
1436
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1437
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d35029"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
1438
|
-
[1m[35m (5.3ms)[0m [1m[36mcommit transaction[0m
|
1439
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1440
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d33609"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
1441
|
-
[1m[35m (4.9ms)[0m [1m[36mcommit transaction[0m
|
1442
|
-
Processing by Api::UserController#reauth as HTML
|
1443
|
-
Parameters: {"uid"=>"nonexistent-user"}
|
1444
|
-
[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]]
|
1445
|
-
Completed 200 OK in 1ms (ActiveRecord: 0.1ms)
|
1446
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1447
|
-
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d38184"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
1448
|
-
[1m[35m (5.3ms)[0m [1m[36mcommit transaction[0m
|
1449
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1450
|
-
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d38755"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
1451
|
-
[1m[35m (4.9ms)[0m [1m[36mcommit transaction[0m
|
1452
|
-
Processing by Api::UserController#reauth as HTML
|
1453
|
-
Parameters: {"uid"=>"a1s2d38184"}
|
1454
|
-
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "a1s2d38184"], ["LIMIT", 1]]
|
1455
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1456
|
-
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", true], ["id", 9]]
|
1457
|
-
[1m[35m (5.2ms)[0m [1m[36mcommit transaction[0m
|
1458
|
-
Completed 200 OK in 8ms (ActiveRecord: 5.5ms)
|
1459
|
-
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 9], ["LIMIT", 1]]
|
1460
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1461
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d31951"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
1462
|
-
[1m[35m (5.8ms)[0m [1m[36mcommit transaction[0m
|
1463
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1464
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d32948"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
1465
|
-
[1m[35m (5.2ms)[0m [1m[36mcommit transaction[0m
|
1466
|
-
Processing by Api::UserController#reauth as HTML
|
1467
|
-
Parameters: {"uid"=>"a1s2d31951"}
|
1468
|
-
Rendering /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
|
1469
|
-
Rendered /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.0ms)
|
1470
|
-
Completed 403 Forbidden in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
|
1470
|
+
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.2ms)
|