gds-sso 13.2.0 → 13.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +4 -14
- data/lib/gds-sso/controller_methods.rb +1 -0
- data/lib/gds-sso/version.rb +1 -1
- data/spec/internal/db/combustion_test.sqlite +0 -0
- data/spec/internal/log/test.log +978 -978
- metadata +16 -16
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5da35aaab11a9683c68e38b305cce7d7be84814f
|
4
|
+
data.tar.gz: 25e84eec7c5c18e630befd17931b818b2987fab5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3de7a1fe79a2623c32b3932de0a995a1bb63bf98e028a35903db1f6c25c126cfb80a214fcd35f47677b887584201e92d5358fdf915767a85fd16afc865ad3eda
|
7
|
+
data.tar.gz: a7082ec4386e31557d379a729191d5d5a88c7d86713efd39a7ae9c92f75cc8096bbd6b2c3a32b22a090090dfd324a0bfd4205af4c533e507d47057c68e5ced5e
|
data/README.md
CHANGED
@@ -1,14 +1,12 @@
|
|
1
1
|
# GDS-SSO
|
2
2
|
|
3
|
-
This gem provides everything needed to integrate an application with [Signon]
|
4
|
-
(https://github.com/alphagov/signonotron2). It's a wrapper around [OmniAuth](https://github.com/intridea/omniauth) that adds a 'strategy' for oAuth2 integration against Signon,
|
3
|
+
This gem provides everything needed to integrate an application with [Signon](https://github.com/alphagov/signon). It's a wrapper around [OmniAuth](https://github.com/intridea/omniauth) that adds a 'strategy' for oAuth2 integration against Signon,
|
5
4
|
and the necessary controller to support that request flow.
|
6
5
|
|
7
6
|
Some of the applications that use this gem:
|
8
7
|
|
9
8
|
- [content-tagger](https://github.com/alphagov/content-tagger)
|
10
9
|
- [publishing-api](https://github.com/alphagov/publishing-api)
|
11
|
-
- [panopticon](https://github.com/alphagov/panopticon)
|
12
10
|
- [publisher](https://github.com/alphagov/publisher)
|
13
11
|
- [search-admin](https://github.com/alphagov/search-admin)
|
14
12
|
|
@@ -70,17 +68,7 @@ serialize :permissions, Array
|
|
70
68
|
|
71
69
|
[GDS::SSO::ControllerMethods](/lib/gds-sso/controller_methods.rb) provides some useful methods for your application controllers.
|
72
70
|
|
73
|
-
To
|
74
|
-
|
75
|
-
```ruby
|
76
|
-
class ApplicationController < ActionController::Base
|
77
|
-
include GDS::SSO::ControllerMethods
|
78
|
-
before_action :require_signin_permission!
|
79
|
-
# ...
|
80
|
-
end
|
81
|
-
```
|
82
|
-
|
83
|
-
If you want to allow access to everyone with an active Signon account, use `authenticate_user!`.
|
71
|
+
To make sure that only people with a signon account and permission to use your app are allowed in use `authenticate_user!`.
|
84
72
|
|
85
73
|
```ruby
|
86
74
|
class ApplicationController < ActionController::Base
|
@@ -114,6 +102,8 @@ authorise_user!(any_of: %w(edit create))
|
|
114
102
|
authorise_user!(all_of: %w(edit create))
|
115
103
|
```
|
116
104
|
|
105
|
+
The signon application makes sure that only users who have been granted access to the application can access it (e.g. they have the `signin` permission for your app). This used to be left up to the applications themselves to check with the `require_signin_permission!` method. This is now deprecated and can be removed from your controllers. You should replace it with a call to `authenticate_user!` if you aren't already using that method, otherwise no signon authentication will be performed.
|
106
|
+
|
117
107
|
### Authorisation for API Users
|
118
108
|
|
119
109
|
In addition to the single-sign-on strategy, this gem also allows authorisation
|
@@ -37,6 +37,7 @@ module GDS
|
|
37
37
|
end
|
38
38
|
|
39
39
|
def require_signin_permission!
|
40
|
+
ActiveSupport::Deprecation.warn("require_signin_permission! is deprecated and will be removed in a future version. The signon application checks for signin permission during oauth and it is no longer optional.", caller)
|
40
41
|
authorise_user!('signin')
|
41
42
|
rescue PermissionDeniedException
|
42
43
|
render "authorisations/cant_signin", layout: "unauthorised", status: :forbidden
|
data/lib/gds-sso/version.rb
CHANGED
Binary file
|
data/spec/internal/log/test.log
CHANGED
@@ -1,1470 +1,1470 @@
|
|
1
|
-
[1m[36m (
|
2
|
-
[1m[35m (
|
1
|
+
[1m[36m (7.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
|
2
|
+
[1m[35m (7.0ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
3
3
|
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
4
|
-
[1m[35m (
|
5
|
-
|
6
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d36712"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
|
7
|
-
[1m[36m (25.7ms)[0m [1mcommit transaction[0m
|
8
|
-
[1m[35m (0.1ms)[0m begin transaction
|
9
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["uid", "a1s2d36205"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
10
|
-
[1m[35m (13.2ms)[0m commit transaction
|
11
|
-
Processing by Api::UserController#reauth as HTML
|
12
|
-
Parameters: {"uid"=>"nonexistent-user"}
|
13
|
-
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "nonexistent-user"]]
|
14
|
-
Completed 200 OK in 6ms (ActiveRecord: 0.2ms)
|
15
|
-
[1m[35m (0.1ms)[0m begin transaction
|
16
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["uid", "a1s2d35653"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
|
17
|
-
[1m[35m (35.2ms)[0m commit transaction
|
18
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
19
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d39384"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
20
|
-
[1m[36m (18.1ms)[0m [1mcommit transaction[0m
|
21
|
-
Processing by Api::UserController#reauth as HTML
|
22
|
-
Parameters: {"uid"=>"a1s2d35653"}
|
23
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "a1s2d35653"]]
|
24
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
25
|
-
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", "t"], ["id", 3]]
|
26
|
-
[1m[36m (16.7ms)[0m [1mcommit transaction[0m
|
27
|
-
Completed 200 OK in 21ms (ActiveRecord: 17.1ms)
|
28
|
-
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]
|
29
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
30
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d39946"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
|
31
|
-
[1m[36m (9.6ms)[0m [1mcommit transaction[0m
|
32
|
-
[1m[35m (0.1ms)[0m begin transaction
|
33
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["uid", "a1s2d34132"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
34
|
-
[1m[35m (13.1ms)[0m commit transaction
|
35
|
-
Processing by Api::UserController#reauth as HTML
|
36
|
-
Parameters: {"uid"=>"a1s2d39946"}
|
37
|
-
Rendered /home/jenkins/workspace/govuk_gds_sso/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.3ms)
|
38
|
-
Completed 403 Forbidden in 9ms (Views: 8.7ms | ActiveRecord: 0.0ms)
|
39
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
40
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d39843"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
|
41
|
-
[1m[36m (18.1ms)[0m [1mcommit transaction[0m
|
42
|
-
[1m[35m (0.1ms)[0m begin transaction
|
43
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["uid", "a1s2d34615"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
44
|
-
[1m[35m (15.5ms)[0m commit transaction
|
45
|
-
Processing by Api::UserController#update as HTML
|
46
|
-
Parameters: {"uid"=>"a1s2d39843"}
|
47
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "a1s2d39843"]]
|
48
|
-
[1m[35m (0.1ms)[0m begin transaction
|
49
|
-
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "email" = ?, "name" = ?, "permissions" = ?, "organisation_slug" = ?, "organisation_content_id" = ? WHERE "users"."id" = ?[0m [["email", "user@domain.com"], ["name", "Joshua Marshall"], ["permissions", "---\n- signin\n- new permission\n"], ["organisation_slug", "justice-league"], ["organisation_content_id", "aae1319e-5788-4677-998c-f1a53af528d0"], ["id", 7]]
|
50
|
-
[1m[35m (18.3ms)[0m commit transaction
|
51
|
-
Completed 200 OK in 23ms (ActiveRecord: 18.7ms)
|
52
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 7]]
|
53
|
-
[1m[35m (0.1ms)[0m begin transaction
|
54
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["uid", "a1s2d3479"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
|
55
|
-
[1m[35m (10.7ms)[0m commit transaction
|
56
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
57
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d36505"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
58
|
-
[1m[36m (9.8ms)[0m [1mcommit transaction[0m
|
59
|
-
Processing by Api::UserController#update as HTML
|
60
|
-
Parameters: {"uid"=>"a1s2d3479"}
|
61
|
-
Rendered /home/jenkins/workspace/govuk_gds_sso/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.1ms)
|
62
|
-
Completed 403 Forbidden in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
|
63
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "asd"]]
|
64
|
-
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["email", "user@example.com"]]
|
65
|
-
[1m[35m (0.1ms)[0m begin transaction
|
66
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions", "organisation_slug", "organisation_content_id", "disabled") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["uid", "asd"], ["email", "user@example.com"], ["name", "A Name"], ["permissions", "---\n- signin\n"], ["organisation_slug", "hmrc"], ["organisation_content_id", "67a2b78d-eee3-45b3-80e2-792e7f71cecc"], ["disabled", nil]]
|
67
|
-
[1m[35m (13.5ms)[0m commit transaction
|
68
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "asd"]]
|
69
|
-
[1m[35m (0.1ms)[0m begin transaction
|
70
|
-
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
71
|
-
Started GET "/restricted" for 127.0.0.1 at 2016-12-20 12:13:26 +0000
|
72
|
-
Processing by ExampleController#restricted as JSON
|
73
|
-
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
74
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["email", "test@example-client.com"]]
|
75
|
-
[1m[35m (0.1ms)[0m begin transaction
|
76
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions", "disabled") VALUES (?, ?, ?, ?, ?)[0m [["uid", "integration-uid"], ["email", "test@example-client.com"], ["name", "Test User"], ["permissions", "---\n- signin\n"], ["disabled", nil]]
|
77
|
-
[1m[35m (52.1ms)[0m commit transaction
|
78
|
-
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
79
|
-
[1m[35m (0.1ms)[0m begin transaction
|
80
|
-
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
81
|
-
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
82
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
83
|
-
[1m[35m (0.1ms)[0m commit transaction
|
84
|
-
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
85
|
-
[1m[35m (0.1ms)[0m begin transaction
|
86
|
-
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
87
|
-
[1m[35m (0.1ms)[0m begin transaction
|
88
|
-
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "f"], ["id", 12]]
|
89
|
-
[1m[35m (9.7ms)[0m commit transaction
|
90
|
-
Rendered text template (0.0ms)
|
91
|
-
Completed 200 OK in 386ms (Views: 1.4ms | ActiveRecord: 63.5ms)
|
92
|
-
Started GET "/restricted" for 127.0.0.1 at 2016-12-20 12:13:26 +0000
|
93
|
-
Processing by ExampleController#restricted as JSON
|
94
|
-
Completed in 17ms (ActiveRecord: 0.0ms)
|
95
|
-
Started GET "/restricted" for 127.0.0.1 at 2016-12-20 12:13:26 +0000
|
96
|
-
Processing by ExampleController#restricted as JSON
|
97
|
-
Completed in 29ms (ActiveRecord: 0.0ms)
|
98
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2016-12-20 12:13:26 +0000
|
99
|
-
Processing by ExampleController#this_requires_signin_permission as JSON
|
100
|
-
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
101
|
-
[1m[35m (0.1ms)[0m begin transaction
|
102
|
-
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
103
|
-
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
104
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
105
|
-
[1m[35m (0.1ms)[0m commit transaction
|
106
|
-
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
107
|
-
[1m[35m (0.1ms)[0m begin transaction
|
108
|
-
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
109
|
-
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
110
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
111
|
-
[1m[35m (0.1ms)[0m commit transaction
|
112
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
113
|
-
[1m[35m (0.1ms)[0m commit transaction
|
114
|
-
Rendered text template (0.0ms)
|
115
|
-
Completed 200 OK in 73ms (Views: 0.3ms | ActiveRecord: 1.0ms)
|
116
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2016-12-20 12:13:26 +0000
|
4
|
+
[1m[35m (4.6ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
5
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2017-12-06 08:53:58 +0000
|
117
6
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
118
7
|
Authenticating with gds_sso strategy
|
119
|
-
Completed in
|
120
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
121
|
-
Started GET "/auth/gds/callback?code=
|
8
|
+
Completed in 7ms (ActiveRecord: 0.0ms)
|
9
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-06 08:53:58 +0000
|
10
|
+
Started GET "/auth/gds/callback?code=721756f3f38c8e7498458de57756d5325b49b0cce80193d6d826e77584ac26d7&state=264150b26af237a707ad2deaf3e795ace5f3fd22bf790aac" for 127.0.0.1 at 2017-12-06 08:54:09 +0000
|
122
11
|
Processing by AuthenticationsController#callback as HTML
|
123
|
-
Parameters: {"code"=>"
|
12
|
+
Parameters: {"code"=>"721756f3f38c8e7498458de57756d5325b49b0cce80193d6d826e77584ac26d7", "state"=>"264150b26af237a707ad2deaf3e795ace5f3fd22bf790aac"}
|
124
13
|
Authenticating with gds_sso strategy
|
125
|
-
[1m[36mUser Load (0.
|
126
|
-
[1m[
|
127
|
-
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "disabled" = ? WHERE "users"."id" = ?[0m [["disabled", "f"], ["id", 12]]
|
128
|
-
[1m[35m (81.7ms)[0m commit transaction
|
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"]]
|
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"]]
|
129
16
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
130
|
-
[1m[
|
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 (8.7ms)[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 (4.1ms)[0m commit transaction
|
131
22
|
Redirected to http://www.example-client.com/this_requires_signin_permission
|
132
|
-
Completed 302 Found in
|
133
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at
|
23
|
+
Completed 302 Found in 35ms (ActiveRecord: 14.0ms)
|
24
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2017-12-06 08:54:10 +0000
|
134
25
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
135
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"]]
|
136
27
|
Rendered text template (0.0ms)
|
137
|
-
Completed 200 OK in
|
138
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at
|
28
|
+
Completed 200 OK in 7ms (Views: 3.9ms | ActiveRecord: 0.2ms)
|
29
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2017-12-06 08:54:10 +0000
|
139
30
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
140
31
|
Authenticating with gds_sso strategy
|
141
32
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
142
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
143
|
-
Started GET "/auth/gds/callback?code=
|
33
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-06 08:54:10 +0000
|
34
|
+
Started GET "/auth/gds/callback?code=4a10bb215984b2245f5df8a06c762731df35b803f5ff632f948e32a9f7594803&state=49b42c5b01c7b7e1743b05d10989ac472a3b86deeadc99ed" for 127.0.0.1 at 2017-12-06 08:54:10 +0000
|
144
35
|
Processing by AuthenticationsController#callback as HTML
|
145
|
-
Parameters: {"code"=>"
|
36
|
+
Parameters: {"code"=>"4a10bb215984b2245f5df8a06c762731df35b803f5ff632f948e32a9f7594803", "state"=>"49b42c5b01c7b7e1743b05d10989ac472a3b86deeadc99ed"}
|
146
37
|
Authenticating with gds_sso strategy
|
147
|
-
[1m[35mUser Load (0.
|
148
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
149
|
-
[1m[35m (0.1ms)[0m commit transaction
|
38
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
150
39
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
151
40
|
[1m[35m (0.1ms)[0m commit transaction
|
41
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
42
|
+
[1m[35m (0.0ms)[0m commit transaction
|
152
43
|
Redirected to http://www.example-client.com/this_requires_signin_permission
|
153
|
-
Completed 302 Found in
|
154
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at
|
44
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.3ms)
|
45
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2017-12-06 08:54:10 +0000
|
155
46
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
156
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"]]
|
157
48
|
Rendered text template (0.0ms)
|
158
49
|
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
159
|
-
Started GET "/
|
50
|
+
Started GET "/" for 127.0.0.1 at 2017-12-06 08:54:10 +0000
|
51
|
+
Processing by ExampleController#index as HTML
|
52
|
+
Rendered text template (0.0ms)
|
53
|
+
Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
54
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-06 08:54:10 +0000
|
160
55
|
Processing by ExampleController#restricted as HTML
|
161
56
|
Authenticating with gds_sso strategy
|
162
57
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
163
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
164
|
-
Started GET "/auth/gds/callback?code=
|
58
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-06 08:54:10 +0000
|
59
|
+
Started GET "/auth/gds/callback?code=d8b2265fd7d9d8b4ba176829b0db0fae83abc55798718a04e2553050880b8c1f&state=510a4f2b61f3fd88e18f2349820200a2ab0e6be059e34615" for 127.0.0.1 at 2017-12-06 08:54:10 +0000
|
165
60
|
Processing by AuthenticationsController#callback as HTML
|
166
|
-
Parameters: {"code"=>"
|
61
|
+
Parameters: {"code"=>"d8b2265fd7d9d8b4ba176829b0db0fae83abc55798718a04e2553050880b8c1f", "state"=>"510a4f2b61f3fd88e18f2349820200a2ab0e6be059e34615"}
|
167
62
|
Authenticating with gds_sso strategy
|
168
63
|
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
169
64
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
170
65
|
[1m[35m (0.1ms)[0m commit transaction
|
171
66
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
172
|
-
[1m[35m (0.
|
67
|
+
[1m[35m (0.0ms)[0m commit transaction
|
173
68
|
Redirected to http://www.example-client.com/restricted
|
174
|
-
Completed 302 Found in
|
175
|
-
Started GET "/restricted" for 127.0.0.1 at
|
69
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
|
70
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-06 08:54:10 +0000
|
176
71
|
Processing by ExampleController#restricted as HTML
|
177
72
|
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
|
178
73
|
Rendered text template (0.0ms)
|
179
|
-
Completed 200 OK in
|
180
|
-
Started GET "/restricted" for 127.0.0.1 at
|
74
|
+
Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.1ms)
|
75
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-06 08:54:10 +0000
|
181
76
|
Processing by ExampleController#restricted as HTML
|
182
77
|
Authenticating with gds_sso strategy
|
183
78
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
184
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
185
|
-
Started GET "/auth/gds/callback?code=
|
79
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-06 08:54:10 +0000
|
80
|
+
Started GET "/auth/gds/callback?code=31358df0314fd6abe4c11b375f8dc8176ee048c609ad9ea8e39e781a2a5b1e53&state=f35d5e8dd98e9964e47537a221009ca613701504a098b7fa" for 127.0.0.1 at 2017-12-06 08:54:10 +0000
|
186
81
|
Processing by AuthenticationsController#callback as HTML
|
187
|
-
Parameters: {"code"=>"
|
82
|
+
Parameters: {"code"=>"31358df0314fd6abe4c11b375f8dc8176ee048c609ad9ea8e39e781a2a5b1e53", "state"=>"f35d5e8dd98e9964e47537a221009ca613701504a098b7fa"}
|
188
83
|
Authenticating with gds_sso strategy
|
189
|
-
[1m[35mUser Load (0.
|
190
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
191
|
-
[1m[35m (0.1ms)[0m commit transaction
|
84
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
192
85
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
86
|
+
[1m[35m (0.0ms)[0m commit transaction
|
87
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
193
88
|
[1m[35m (0.1ms)[0m commit transaction
|
194
89
|
Redirected to http://www.example-client.com/restricted
|
195
|
-
Completed 302 Found in
|
196
|
-
Started GET "/restricted" for 127.0.0.1 at
|
90
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
|
91
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-06 08:54:10 +0000
|
197
92
|
Processing by ExampleController#restricted as HTML
|
198
93
|
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
|
199
94
|
Rendered text template (0.0ms)
|
200
|
-
Completed 200 OK in
|
201
|
-
Started GET "/restricted" for 127.0.0.1 at
|
95
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
96
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-06 08:54:10 +0000
|
202
97
|
Processing by ExampleController#restricted as HTML
|
203
98
|
Authenticating with gds_sso strategy
|
204
99
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
205
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
206
|
-
Started GET "/auth/gds/callback?code=
|
100
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-06 08:54:10 +0000
|
101
|
+
Started GET "/auth/gds/callback?code=550067b00ffb9e1a6b9d911f284d3bdef88d77af4e251583ac77f7e8055df18f&state=ee40f08334263ea65f340a8212b664beb085756fe07fc1ca" for 127.0.0.1 at 2017-12-06 08:54:10 +0000
|
207
102
|
Processing by AuthenticationsController#callback as HTML
|
208
|
-
Parameters: {"code"=>"
|
103
|
+
Parameters: {"code"=>"550067b00ffb9e1a6b9d911f284d3bdef88d77af4e251583ac77f7e8055df18f", "state"=>"ee40f08334263ea65f340a8212b664beb085756fe07fc1ca"}
|
209
104
|
Authenticating with gds_sso strategy
|
210
105
|
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
211
106
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
212
|
-
[1m[35m (0.
|
107
|
+
[1m[35m (0.0ms)[0m commit transaction
|
213
108
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
214
|
-
[1m[35m (0.
|
109
|
+
[1m[35m (0.0ms)[0m commit transaction
|
215
110
|
Redirected to http://www.example-client.com/restricted
|
216
|
-
Completed 302 Found in
|
217
|
-
Started GET "/restricted" for 127.0.0.1 at
|
111
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.3ms)
|
112
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-06 08:54:10 +0000
|
218
113
|
Processing by ExampleController#restricted as HTML
|
219
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"]]
|
220
115
|
Rendered text template (0.0ms)
|
221
|
-
Completed 200 OK in
|
222
|
-
Started GET "/" for 127.0.0.1 at
|
223
|
-
Processing by ExampleController#index as HTML
|
224
|
-
Rendered text template (0.0ms)
|
225
|
-
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
226
|
-
Started GET "/restricted" for 127.0.0.1 at 2016-12-20 12:13:39 +0000
|
116
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
117
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-06 08:54:10 +0000
|
227
118
|
Processing by ExampleController#restricted as HTML
|
228
119
|
Authenticating with gds_sso strategy
|
229
120
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
230
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
231
|
-
Started GET "/auth/gds/callback?code=
|
121
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-06 08:54:10 +0000
|
122
|
+
Started GET "/auth/gds/callback?code=51cdc6a0ee6ed2f89835ab06e2b9f850183c82530df664ec7a7b8b85387c9911&state=684974f779b894f3b27636cc0b3179513163efcd7a7b7ad6" for 127.0.0.1 at 2017-12-06 08:54:11 +0000
|
232
123
|
Processing by AuthenticationsController#callback as HTML
|
233
|
-
Parameters: {"code"=>"
|
124
|
+
Parameters: {"code"=>"51cdc6a0ee6ed2f89835ab06e2b9f850183c82530df664ec7a7b8b85387c9911", "state"=>"684974f779b894f3b27636cc0b3179513163efcd7a7b7ad6"}
|
234
125
|
Authenticating with gds_sso strategy
|
235
|
-
[1m[35mUser Load (0.
|
236
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
237
|
-
[1m[35m (0.1ms)[0m commit transaction
|
126
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
238
127
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
239
|
-
[1m[35m (0.
|
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
|
240
131
|
Redirected to http://www.example-client.com/restricted
|
241
|
-
Completed 302 Found in
|
242
|
-
Started GET "/restricted" for 127.0.0.1 at
|
132
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.3ms)
|
133
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-06 08:54:11 +0000
|
243
134
|
Processing by ExampleController#restricted as HTML
|
244
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"]]
|
245
136
|
Rendered text template (0.0ms)
|
246
|
-
Completed 200 OK in
|
247
|
-
|
248
|
-
|
249
|
-
|
250
|
-
|
251
|
-
Started GET "/
|
252
|
-
Started GET "/restricted" for 127.0.0.1 at 2016-12-20 12:13:40 +0000
|
137
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
138
|
+
[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"]]
|
139
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
140
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", "t"], ["id", 1]]
|
141
|
+
[1m[36m (6.9ms)[0m [1mcommit transaction[0m
|
142
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-06 08:54:11 +0000
|
253
143
|
Processing by ExampleController#restricted as HTML
|
144
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
|
254
145
|
Authenticating with gds_sso strategy
|
255
|
-
Completed in
|
256
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
257
|
-
Started GET "/auth/gds/callback?code=
|
146
|
+
Completed in 1ms (ActiveRecord: 0.1ms)
|
147
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-06 08:54:11 +0000
|
148
|
+
Started GET "/auth/gds/callback?code=888d942c910e74448a72f7d3a9e2ae037e3dfe95766c351efcee909b566b257d&state=6e0395c6ae28179f9e0929a84edab7e5af3200f37b0a81c6" for 127.0.0.1 at 2017-12-06 08:54:11 +0000
|
258
149
|
Processing by AuthenticationsController#callback as HTML
|
259
|
-
Parameters: {"code"=>"
|
150
|
+
Parameters: {"code"=>"888d942c910e74448a72f7d3a9e2ae037e3dfe95766c351efcee909b566b257d", "state"=>"6e0395c6ae28179f9e0929a84edab7e5af3200f37b0a81c6"}
|
260
151
|
Authenticating with gds_sso strategy
|
261
|
-
[1m[
|
262
|
-
[1m[
|
263
|
-
[1m[
|
264
|
-
[1m[
|
265
|
-
[1m[
|
152
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
153
|
+
[1m[35m (0.1ms)[0m begin transaction
|
154
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
155
|
+
[1m[35m (0.1ms)[0m begin transaction
|
156
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "f"], ["id", 1]]
|
157
|
+
[1m[35m (5.8ms)[0m commit transaction
|
266
158
|
Redirected to http://www.example-client.com/restricted
|
267
|
-
Completed 302 Found in
|
268
|
-
Started GET "/restricted" for 127.0.0.1 at
|
159
|
+
Completed 302 Found in 12ms (ActiveRecord: 6.4ms)
|
160
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-06 08:54:11 +0000
|
269
161
|
Processing by ExampleController#restricted as HTML
|
270
|
-
[1m[36mUser Load (0.
|
162
|
+
[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
163
|
Rendered text template (0.0ms)
|
272
|
-
Completed 200 OK in
|
273
|
-
Started GET "/restricted" for 127.0.0.1 at
|
274
|
-
Processing by ExampleController#restricted as HTML
|
275
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
|
276
|
-
Rendered text template (0.0ms)
|
277
|
-
Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.1ms)
|
278
|
-
Started GET "/restricted" for 127.0.0.1 at 2016-12-20 12:13:40 +0000
|
164
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
165
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-06 08:54:11 +0000
|
279
166
|
Processing by ExampleController#restricted as HTML
|
280
167
|
Authenticating with gds_sso strategy
|
281
168
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
282
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
283
|
-
Started GET "/auth/gds/callback?code=
|
169
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-06 08:54:11 +0000
|
170
|
+
Started GET "/auth/gds/callback?code=2c54b8a7af9d95aea6a6551f7e95b3424a6d3ec30dfe74322ccc910943c2fcd2&state=90d77d7d99a79ef46b4d2cb36d44990abe571cf277492c1f" for 127.0.0.1 at 2017-12-06 08:54:11 +0000
|
284
171
|
Processing by AuthenticationsController#callback as HTML
|
285
|
-
Parameters: {"code"=>"
|
172
|
+
Parameters: {"code"=>"2c54b8a7af9d95aea6a6551f7e95b3424a6d3ec30dfe74322ccc910943c2fcd2", "state"=>"90d77d7d99a79ef46b4d2cb36d44990abe571cf277492c1f"}
|
286
173
|
Authenticating with gds_sso strategy
|
287
|
-
[1m[
|
288
|
-
[1m[
|
289
|
-
[1m[
|
290
|
-
[1m[
|
291
|
-
[1m[
|
174
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
175
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
176
|
+
[1m[35m (0.0ms)[0m commit transaction
|
177
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
178
|
+
[1m[35m (0.0ms)[0m commit transaction
|
292
179
|
Redirected to http://www.example-client.com/restricted
|
293
|
-
Completed 302 Found in
|
294
|
-
Started GET "/restricted" for 127.0.0.1 at
|
180
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.3ms)
|
181
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-06 08:54:11 +0000
|
295
182
|
Processing by ExampleController#restricted as HTML
|
296
|
-
[1m[
|
183
|
+
[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"]]
|
297
184
|
Rendered text template (0.0ms)
|
298
|
-
Completed 200 OK in
|
299
|
-
Started GET "/restricted" for 127.0.0.1 at
|
185
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
186
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-07 04:59:11 +0000
|
300
187
|
Processing by ExampleController#restricted as HTML
|
301
188
|
Authenticating with gds_sso strategy
|
302
189
|
Completed in 1ms (ActiveRecord: 0.0ms)
|
303
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
304
|
-
Started GET "/
|
190
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-07 04:59:11 +0000
|
191
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-06 08:54:11 +0000
|
192
|
+
Processing by ExampleController#restricted as HTML
|
193
|
+
Authenticating with gds_sso strategy
|
194
|
+
Completed in 0ms (ActiveRecord: 0.0ms)
|
195
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-06 08:54:11 +0000
|
196
|
+
Started GET "/auth/gds/callback?code=9521ee92403df39f9dd55ba3ef113eb5b604634d30a8dba2c04d2fbd673b03a7&state=7ab0d897f04eb98819888768b29808dc5b067fc4ad534d3e" for 127.0.0.1 at 2017-12-06 08:54:12 +0000
|
305
197
|
Processing by AuthenticationsController#callback as HTML
|
306
|
-
Parameters: {"code"=>"
|
198
|
+
Parameters: {"code"=>"9521ee92403df39f9dd55ba3ef113eb5b604634d30a8dba2c04d2fbd673b03a7", "state"=>"7ab0d897f04eb98819888768b29808dc5b067fc4ad534d3e"}
|
307
199
|
Authenticating with gds_sso strategy
|
308
|
-
[1m[
|
309
|
-
[1m[
|
310
|
-
[1m[
|
311
|
-
[1m[
|
312
|
-
[1m[
|
200
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
201
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
202
|
+
[1m[35m (0.1ms)[0m commit transaction
|
203
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
204
|
+
[1m[35m (0.1ms)[0m commit transaction
|
313
205
|
Redirected to http://www.example-client.com/restricted
|
314
|
-
Completed 302 Found in
|
315
|
-
Started GET "/restricted" for 127.0.0.1 at
|
206
|
+
Completed 302 Found in 6ms (ActiveRecord: 0.5ms)
|
207
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-06 08:54:12 +0000
|
316
208
|
Processing by ExampleController#restricted as HTML
|
317
|
-
[1m[
|
209
|
+
[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"]]
|
318
210
|
Rendered text template (0.0ms)
|
319
|
-
Completed 200 OK in
|
320
|
-
Started GET "/restricted" for 127.0.0.1 at
|
211
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
212
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-07 04:59:12 +0000
|
321
213
|
Processing by ExampleController#restricted as HTML
|
322
214
|
Authenticating with gds_sso strategy
|
323
215
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
324
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
325
|
-
Started GET "/auth/gds/callback?code=
|
216
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-07 04:59:12 +0000
|
217
|
+
Started GET "/auth/gds/callback?code=3b749a0b2bced98683dc2cfbe553085d4bd4c4f840883dba3dde80f414543009&state=08cb36caed6426f7238b42ecb773e7a246df92ba51e839d1" for 127.0.0.1 at 2017-12-07 04:59:12 +0000
|
326
218
|
Processing by AuthenticationsController#callback as HTML
|
327
|
-
Parameters: {"code"=>"
|
219
|
+
Parameters: {"code"=>"3b749a0b2bced98683dc2cfbe553085d4bd4c4f840883dba3dde80f414543009", "state"=>"08cb36caed6426f7238b42ecb773e7a246df92ba51e839d1"}
|
328
220
|
Authenticating with gds_sso strategy
|
329
|
-
[1m[
|
330
|
-
[1m[
|
331
|
-
[1m[
|
332
|
-
[1m[
|
333
|
-
[1m[
|
221
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
222
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
223
|
+
[1m[35m (0.1ms)[0m commit transaction
|
224
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
225
|
+
[1m[35m (0.1ms)[0m commit transaction
|
334
226
|
Redirected to http://www.example-client.com/restricted
|
335
|
-
Completed 302 Found in
|
336
|
-
Started GET "/restricted" for 127.0.0.1 at
|
227
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.3ms)
|
228
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-07 04:59:12 +0000
|
337
229
|
Processing by ExampleController#restricted as HTML
|
338
|
-
[1m[
|
230
|
+
[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"]]
|
339
231
|
Rendered text template (0.0ms)
|
340
|
-
Completed 200 OK in
|
341
|
-
|
342
|
-
[1m[35m (0.1ms)[0m begin transaction
|
343
|
-
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "t"], ["id", 12]]
|
344
|
-
[1m[35m (35.6ms)[0m commit transaction
|
345
|
-
Started GET "/restricted" for 127.0.0.1 at 2016-12-20 12:13:40 +0000
|
232
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
233
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-06 08:54:12 +0000
|
346
234
|
Processing by ExampleController#restricted as HTML
|
347
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
|
348
235
|
Authenticating with gds_sso strategy
|
349
|
-
Completed in
|
350
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
351
|
-
Started GET "/auth/gds/callback?code=
|
236
|
+
Completed in 0ms (ActiveRecord: 0.0ms)
|
237
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-06 08:54:12 +0000
|
238
|
+
Started GET "/auth/gds/callback?code=68054e9b6541d2e63aade0882bd0f348520a16771ee543a1f95085d271680717&state=75fd2036bf87bbef39fa6de085a0d407624fb5ab67a9ab2d" for 127.0.0.1 at 2017-12-06 08:54:12 +0000
|
352
239
|
Processing by AuthenticationsController#callback as HTML
|
353
|
-
Parameters: {"code"=>"
|
240
|
+
Parameters: {"code"=>"68054e9b6541d2e63aade0882bd0f348520a16771ee543a1f95085d271680717", "state"=>"75fd2036bf87bbef39fa6de085a0d407624fb5ab67a9ab2d"}
|
354
241
|
Authenticating with gds_sso strategy
|
355
242
|
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
356
243
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
244
|
+
[1m[35m (0.0ms)[0m commit transaction
|
245
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
357
246
|
[1m[35m (0.1ms)[0m commit transaction
|
358
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
359
|
-
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", "f"], ["id", 12]]
|
360
|
-
[1m[36m (9.6ms)[0m [1mcommit transaction[0m
|
361
247
|
Redirected to http://www.example-client.com/restricted
|
362
|
-
Completed 302 Found in
|
363
|
-
Started GET "/restricted" for 127.0.0.1 at
|
248
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.3ms)
|
249
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-06 08:54:12 +0000
|
250
|
+
Processing by ExampleController#restricted as HTML
|
251
|
+
[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"]]
|
252
|
+
Rendered text template (0.0ms)
|
253
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
254
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-07 04:49:12 +0000
|
364
255
|
Processing by ExampleController#restricted as HTML
|
365
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"]]
|
366
257
|
Rendered text template (0.0ms)
|
367
|
-
Completed 200 OK in
|
368
|
-
|
369
|
-
|
370
|
-
|
371
|
-
|
372
|
-
|
373
|
-
|
374
|
-
|
258
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
259
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-06 08:54:12 +0000
|
260
|
+
Processing by ExampleController#restricted as JSON
|
261
|
+
Completed in 24ms (ActiveRecord: 0.0ms)
|
262
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-06 08:54:12 +0000
|
263
|
+
Processing by ExampleController#restricted as JSON
|
264
|
+
Completed in 12ms (ActiveRecord: 0.0ms)
|
265
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-06 08:54:12 +0000
|
266
|
+
Processing by ExampleController#restricted as JSON
|
267
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
268
|
+
[1m[35m (0.1ms)[0m begin transaction
|
269
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "disabled" = ? WHERE "users"."id" = ?[0m [["disabled", nil], ["id", 1]]
|
270
|
+
[1m[35m (8.2ms)[0m commit transaction
|
271
|
+
[1m[36mUser Load (0.1ms)[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.0ms)[0m [1mcommit transaction[0m
|
274
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
275
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
276
|
+
[1m[35m (0.0ms)[0m commit transaction
|
277
|
+
[1m[36mCACHE (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
278
|
+
[1m[35m (0.0ms)[0m begin transaction
|
279
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
280
|
+
[1m[35m (0.0ms)[0m begin transaction
|
281
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
282
|
+
Rendered text template (0.0ms)
|
283
|
+
Completed 200 OK in 71ms (Views: 0.3ms | ActiveRecord: 9.2ms)
|
284
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2017-12-06 08:54:12 +0000
|
285
|
+
Processing by ExampleController#this_requires_signin_permission 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"]]
|
287
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
288
|
+
[1m[35m (0.0ms)[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.1ms)[0m begin transaction
|
291
|
+
[1m[36m (0.1ms)[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.1ms)[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"]]
|
296
|
+
[1m[35m (0.1ms)[0m begin transaction
|
297
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
298
|
+
[1m[35m (0.0ms)[0m begin transaction
|
299
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
300
|
+
Rendered text template (0.1ms)
|
301
|
+
Completed 200 OK in 65ms (Views: 0.3ms | ActiveRecord: 0.7ms)
|
302
|
+
[1m[35m (0.1ms)[0m begin transaction
|
303
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["uid", "a1s2d37823"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
|
304
|
+
[1m[35m (5.5ms)[0m commit transaction
|
305
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
306
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d32702"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
307
|
+
[1m[36m (5.8ms)[0m [1mcommit transaction[0m
|
308
|
+
Processing by Api::UserController#update as HTML
|
309
|
+
Parameters: {"uid"=>"a1s2d37823"}
|
310
|
+
Rendered /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.3ms)
|
311
|
+
Completed 403 Forbidden in 7ms (Views: 7.1ms | ActiveRecord: 0.0ms)
|
312
|
+
[1m[35m (0.1ms)[0m begin transaction
|
313
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["uid", "a1s2d39554"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
|
314
|
+
[1m[35m (5.9ms)[0m commit transaction
|
315
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
316
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d37713"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
317
|
+
[1m[36m (4.0ms)[0m [1mcommit transaction[0m
|
318
|
+
Processing by Api::UserController#update as HTML
|
319
|
+
Parameters: {"uid"=>"a1s2d39554"}
|
320
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "a1s2d39554"]]
|
321
|
+
[1m[36m (0.1ms)[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 (6.3ms)[0m [1mcommit transaction[0m
|
324
|
+
Completed 200 OK in 10ms (ActiveRecord: 6.6ms)
|
325
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]]
|
326
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
327
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d35037"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
|
328
|
+
[1m[36m (4.0ms)[0m [1mcommit transaction[0m
|
329
|
+
[1m[35m (0.0ms)[0m begin transaction
|
330
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["uid", "a1s2d35549"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
331
|
+
[1m[35m (5.1ms)[0m commit transaction
|
332
|
+
Processing by Api::UserController#reauth as HTML
|
333
|
+
Parameters: {"uid"=>"nonexistent-user"}
|
334
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "nonexistent-user"]]
|
335
|
+
Completed 200 OK in 1ms (ActiveRecord: 0.1ms)
|
336
|
+
[1m[35m (0.0ms)[0m begin transaction
|
337
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["uid", "a1s2d33797"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
|
338
|
+
[1m[35m (4.1ms)[0m commit transaction
|
339
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
340
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d31789"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
341
|
+
[1m[36m (5.0ms)[0m [1mcommit transaction[0m
|
342
|
+
Processing by Api::UserController#reauth as HTML
|
343
|
+
Parameters: {"uid"=>"a1s2d33797"}
|
344
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "a1s2d33797"]]
|
345
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
346
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", "t"], ["id", 8]]
|
347
|
+
[1m[36m (4.7ms)[0m [1mcommit transaction[0m
|
348
|
+
Completed 200 OK in 7ms (ActiveRecord: 4.9ms)
|
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.1ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d34996"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
|
352
|
+
[1m[36m (4.8ms)[0m [1mcommit transaction[0m
|
353
|
+
[1m[35m (0.1ms)[0m begin transaction
|
354
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["uid", "a1s2d38706"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
355
|
+
[1m[35m (3.8ms)[0m commit transaction
|
356
|
+
Processing by Api::UserController#reauth as HTML
|
357
|
+
Parameters: {"uid"=>"a1s2d34996"}
|
358
|
+
Rendered /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.0ms)
|
359
|
+
Completed 403 Forbidden in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
|
360
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "asd"]]
|
361
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "user@example.com"]]
|
362
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
363
|
+
[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]]
|
364
|
+
[1m[36m (4.9ms)[0m [1mcommit transaction[0m
|
365
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "asd"]]
|
366
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
367
|
+
[1m[35m (0.0ms)[0m commit transaction
|
368
|
+
[1m[35m (5.5ms)[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.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
|
375
370
|
[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]]
|
371
|
+
[1m[35m (0.0ms)[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-06 08:54:19 UTC], ["updated_at", 2017-12-06 08:54:19 UTC]]
|
373
|
+
[1m[35m (3.9ms)[0m [1m[36mcommit transaction[0m
|
374
|
+
[1m[35m (5.9ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
|
375
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", :environment], ["LIMIT", 1]]
|
376
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
377
|
+
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
378
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-06 08:54:20 +0000
|
379
|
+
Processing by ExampleController#restricted as JSON
|
380
|
+
Completed in 36ms (ActiveRecord: 0.0ms)
|
381
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2017-12-06 08:54:20 +0000
|
382
|
+
Processing by ExampleController#this_requires_signin_permission as JSON
|
383
|
+
[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]]
|
384
|
+
[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]]
|
376
385
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
386
|
+
[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]]
|
387
|
+
[1m[35m (4.7ms)[0m [1m[36mcommit transaction[0m
|
388
|
+
[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]]
|
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.0ms)[0m [1m[36mbegin transaction[0m
|
377
393
|
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
378
|
-
|
379
|
-
|
394
|
+
[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]]
|
395
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
396
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
397
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
398
|
+
[1m[35mSQL (0.2ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", false], ["id", 1]]
|
399
|
+
[1m[35m (4.9ms)[0m [1m[36mcommit transaction[0m
|
380
400
|
Rendering text template
|
381
401
|
Rendered text template (0.0ms)
|
382
|
-
Completed 200 OK in
|
383
|
-
Started GET "/restricted" for 127.0.0.1 at
|
384
|
-
Processing by ExampleController#restricted as
|
385
|
-
Authenticating with gds_sso strategy
|
386
|
-
Completed in 10ms (ActiveRecord: 0.0ms)
|
387
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2016-12-20 12:13:53 +0000
|
388
|
-
Started GET "/auth/gds/callback?code=b53a54e8b0b3cbdfabdc8a15b70ed0aa08fe90dd93f967f52093010b75deca87&state=75a80f5775406deb80c295cf799b777f47d1fa156a6eddfe" for 127.0.0.1 at 2016-12-20 12:13:53 +0000
|
389
|
-
Processing by AuthenticationsController#callback as HTML
|
390
|
-
Parameters: {"code"=>"b53a54e8b0b3cbdfabdc8a15b70ed0aa08fe90dd93f967f52093010b75deca87", "state"=>"75a80f5775406deb80c295cf799b777f47d1fa156a6eddfe"}
|
391
|
-
Authenticating with gds_sso strategy
|
402
|
+
Completed 200 OK in 92ms (Views: 3.2ms | ActiveRecord: 11.5ms)
|
403
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-06 08:54:20 +0000
|
404
|
+
Processing by ExampleController#restricted as JSON
|
392
405
|
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
393
|
-
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["email", "test@example-client.com"], ["LIMIT", 1]]
|
394
406
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
395
|
-
[1m[
|
396
|
-
[1m[
|
407
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
408
|
+
[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]]
|
397
409
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
398
|
-
[1m[
|
399
|
-
[1m[
|
400
|
-
|
401
|
-
|
402
|
-
|
403
|
-
|
404
|
-
[1m[
|
410
|
+
[1m[35m (0.1ms)[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]]
|
412
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
413
|
+
[1m[35m (0.1ms)[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]]
|
415
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
416
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
405
417
|
Rendering text template
|
406
418
|
Rendered text template (0.0ms)
|
407
|
-
Completed 200 OK in
|
408
|
-
Started GET "/
|
419
|
+
Completed 200 OK in 72ms (Views: 0.3ms | ActiveRecord: 0.7ms)
|
420
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-06 08:54:20 +0000
|
421
|
+
Processing by ExampleController#restricted as JSON
|
422
|
+
Completed in 13ms (ActiveRecord: 0.0ms)
|
423
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2017-12-06 08:54:20 +0000
|
409
424
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
410
425
|
Authenticating with gds_sso strategy
|
411
426
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
412
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
413
|
-
Started GET "/auth/gds/callback?code=
|
427
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-06 08:54:20 +0000
|
428
|
+
Started GET "/auth/gds/callback?code=26e80b1a0896bdff68ae48a526b7e0c82b7a7b301ce8fc240af2d83595a8b292&state=28743b98fa3b21e30f0debbe7d8e3ff55ad3bdbb88989151" for 127.0.0.1 at 2017-12-06 08:54:20 +0000
|
414
429
|
Processing by AuthenticationsController#callback as HTML
|
415
|
-
Parameters: {"code"=>"
|
430
|
+
Parameters: {"code"=>"26e80b1a0896bdff68ae48a526b7e0c82b7a7b301ce8fc240af2d83595a8b292", "state"=>"28743b98fa3b21e30f0debbe7d8e3ff55ad3bdbb88989151"}
|
416
431
|
Authenticating with gds_sso strategy
|
417
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]]
|
418
433
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
419
|
-
[1m[
|
434
|
+
[1m[35mSQL (0.2ms)[0m [1m[33mUPDATE "users" SET "disabled" = ? WHERE "users"."id" = ?[0m [["disabled", false], ["id", 1]]
|
435
|
+
[1m[35m (4.5ms)[0m [1m[36mcommit transaction[0m
|
420
436
|
Redirected to http://www.example-client.com/this_requires_signin_permission
|
421
|
-
Completed 302 Found in
|
422
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at
|
437
|
+
Completed 302 Found in 10ms (ActiveRecord: 5.1ms)
|
438
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2017-12-06 08:54:20 +0000
|
423
439
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
424
|
-
[1m[36mUser Load (0.
|
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]]
|
425
441
|
Rendering text template
|
426
442
|
Rendered text template (0.0ms)
|
427
|
-
Completed 200 OK in 2ms (Views: 0.
|
428
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at
|
443
|
+
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.2ms)
|
444
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2017-12-06 08:54:20 +0000
|
429
445
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
430
446
|
Authenticating with gds_sso strategy
|
431
447
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
432
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
433
|
-
Started GET "/auth/gds/callback?code=
|
448
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-06 08:54:20 +0000
|
449
|
+
Started GET "/auth/gds/callback?code=3a05bd6916381ba7eadeac5908ef718f3a08fa3d64d1294c5d99528652335b53&state=3ea8bbad69f524bfa168334d84063e1a668786b3fc2155d7" for 127.0.0.1 at 2017-12-06 08:54:20 +0000
|
434
450
|
Processing by AuthenticationsController#callback as HTML
|
435
|
-
Parameters: {"code"=>"
|
451
|
+
Parameters: {"code"=>"3a05bd6916381ba7eadeac5908ef718f3a08fa3d64d1294c5d99528652335b53", "state"=>"3ea8bbad69f524bfa168334d84063e1a668786b3fc2155d7"}
|
436
452
|
Authenticating with gds_sso strategy
|
437
|
-
[1m[36mUser Load (0.
|
438
|
-
[1m[35m (0.
|
439
|
-
[1m[35m (0.
|
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]]
|
454
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
455
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
440
456
|
Redirected to http://www.example-client.com/this_requires_signin_permission
|
441
|
-
Completed 302 Found in
|
442
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at
|
457
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.3ms)
|
458
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2017-12-06 08:54:20 +0000
|
443
459
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
444
|
-
[1m[36mUser Load (0.
|
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]]
|
461
|
+
Rendering text template
|
462
|
+
Rendered text template (0.0ms)
|
463
|
+
Completed 200 OK in 3ms (Views: 1.3ms | ActiveRecord: 0.2ms)
|
464
|
+
Started GET "/" for 127.0.0.1 at 2017-12-06 08:54:20 +0000
|
465
|
+
Processing by ExampleController#index as HTML
|
445
466
|
Rendering text template
|
446
467
|
Rendered text template (0.0ms)
|
447
|
-
Completed 200 OK in
|
448
|
-
Started GET "/restricted" for 127.0.0.1 at
|
468
|
+
Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
469
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-06 08:54:21 +0000
|
449
470
|
Processing by ExampleController#restricted as HTML
|
450
471
|
Authenticating with gds_sso strategy
|
451
|
-
Completed in
|
452
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
453
|
-
Started GET "/auth/gds/callback?code=
|
472
|
+
Completed in 0ms (ActiveRecord: 0.0ms)
|
473
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-06 08:54:21 +0000
|
474
|
+
Started GET "/auth/gds/callback?code=464df3a0b9b32d5f8be009826c868aa3d125728bbf4668a58918cfdd86198de3&state=677173d0259063e1cc52bf55d016dd6d2644481bcb710c35" for 127.0.0.1 at 2017-12-06 08:54:21 +0000
|
454
475
|
Processing by AuthenticationsController#callback as HTML
|
455
|
-
Parameters: {"code"=>"
|
476
|
+
Parameters: {"code"=>"464df3a0b9b32d5f8be009826c868aa3d125728bbf4668a58918cfdd86198de3", "state"=>"677173d0259063e1cc52bf55d016dd6d2644481bcb710c35"}
|
456
477
|
Authenticating with gds_sso strategy
|
457
|
-
[1m[36mUser Load (0.
|
458
|
-
[1m[35m (0.
|
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]]
|
479
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
459
480
|
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
460
481
|
Redirected to http://www.example-client.com/restricted
|
461
|
-
Completed 302 Found in
|
462
|
-
Started GET "/restricted" for 127.0.0.1 at
|
482
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.3ms)
|
483
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-06 08:54:21 +0000
|
463
484
|
Processing by ExampleController#restricted as HTML
|
464
|
-
[1m[36mUser Load (0.
|
485
|
+
[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]]
|
465
486
|
Rendering text template
|
466
487
|
Rendered text template (0.0ms)
|
467
|
-
Completed 200 OK in
|
468
|
-
Started GET "/restricted" for 127.0.0.1 at
|
488
|
+
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
489
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-06 08:54:21 +0000
|
469
490
|
Processing by ExampleController#restricted as HTML
|
470
491
|
Authenticating with gds_sso strategy
|
471
492
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
472
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
473
|
-
Started GET "/auth/gds/callback?code=
|
493
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-06 08:54:21 +0000
|
494
|
+
Started GET "/auth/gds/callback?code=612077a1edcd8ef49a88025f95f6b9be247ef89fc0f21803ebdd304a3414fad9&state=2b8f5572cb52756340f55af619e856d82bd8adbc0c08f91a" for 127.0.0.1 at 2017-12-06 08:54:21 +0000
|
474
495
|
Processing by AuthenticationsController#callback as HTML
|
475
|
-
Parameters: {"code"=>"
|
496
|
+
Parameters: {"code"=>"612077a1edcd8ef49a88025f95f6b9be247ef89fc0f21803ebdd304a3414fad9", "state"=>"2b8f5572cb52756340f55af619e856d82bd8adbc0c08f91a"}
|
476
497
|
Authenticating with gds_sso strategy
|
477
|
-
[1m[36mUser Load (0.
|
498
|
+
[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]]
|
478
499
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
479
|
-
[1m[35m (0.
|
500
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
480
501
|
Redirected to http://www.example-client.com/restricted
|
481
|
-
Completed 302 Found in
|
482
|
-
Started GET "/restricted" for 127.0.0.1 at
|
502
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.4ms)
|
503
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-06 08:54:21 +0000
|
483
504
|
Processing by ExampleController#restricted as HTML
|
484
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]]
|
485
506
|
Rendering text template
|
486
507
|
Rendered text template (0.0ms)
|
487
508
|
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.2ms)
|
488
|
-
Started GET "/restricted" for 127.0.0.1 at
|
509
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-06 08:54:21 +0000
|
489
510
|
Processing by ExampleController#restricted as HTML
|
490
511
|
Authenticating with gds_sso strategy
|
491
512
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
492
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
493
|
-
Started GET "/auth/gds/callback?code=
|
513
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-06 08:54:21 +0000
|
514
|
+
Started GET "/auth/gds/callback?code=35e7f99f7665a07e1bf14d51bec0e8556ea7112c7a181f9c2e7099862be53b7e&state=d5037e030d6e27d744a023591cb36a80d3178f2201f0509b" for 127.0.0.1 at 2017-12-06 08:54:21 +0000
|
494
515
|
Processing by AuthenticationsController#callback as HTML
|
495
|
-
Parameters: {"code"=>"
|
516
|
+
Parameters: {"code"=>"35e7f99f7665a07e1bf14d51bec0e8556ea7112c7a181f9c2e7099862be53b7e", "state"=>"d5037e030d6e27d744a023591cb36a80d3178f2201f0509b"}
|
496
517
|
Authenticating with gds_sso strategy
|
497
|
-
[1m[36mUser Load (0.
|
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]]
|
498
519
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
499
|
-
[1m[35m (0.
|
520
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
500
521
|
Redirected to http://www.example-client.com/restricted
|
501
|
-
Completed 302 Found in
|
502
|
-
Started GET "/restricted" for 127.0.0.1 at
|
522
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
|
523
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-06 08:54:21 +0000
|
503
524
|
Processing by ExampleController#restricted as HTML
|
504
|
-
[1m[36mUser Load (0.
|
525
|
+
[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]]
|
505
526
|
Rendering text template
|
506
527
|
Rendered text template (0.0ms)
|
507
|
-
Completed 200 OK in
|
508
|
-
|
509
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
510
|
-
[1m[35mSQL (0.2ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", true], ["id", 1]]
|
511
|
-
[1m[35m (10.8ms)[0m [1m[36mcommit transaction[0m
|
512
|
-
Started GET "/restricted" for 127.0.0.1 at 2016-12-20 12:13:55 +0000
|
528
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
529
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-06 08:54:21 +0000
|
513
530
|
Processing by ExampleController#restricted as HTML
|
514
|
-
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", false], ["LIMIT", 1]]
|
515
531
|
Authenticating with gds_sso strategy
|
516
|
-
Completed in
|
517
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
518
|
-
Started GET "/auth/gds/callback?code=
|
532
|
+
Completed in 0ms (ActiveRecord: 0.0ms)
|
533
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-06 08:54:21 +0000
|
534
|
+
Started GET "/auth/gds/callback?code=9b1c3cceefc1ee6ea0ef9ab2b2de90e83d0477c963147a78caf4c5129ae059f3&state=ca430790792936791822def1a6eb0857a43451ec9e74333e" for 127.0.0.1 at 2017-12-06 08:54:21 +0000
|
519
535
|
Processing by AuthenticationsController#callback as HTML
|
520
|
-
Parameters: {"code"=>"
|
536
|
+
Parameters: {"code"=>"9b1c3cceefc1ee6ea0ef9ab2b2de90e83d0477c963147a78caf4c5129ae059f3", "state"=>"ca430790792936791822def1a6eb0857a43451ec9e74333e"}
|
521
537
|
Authenticating with gds_sso strategy
|
522
|
-
[1m[36mUser Load (0.
|
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]]
|
523
539
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
524
540
|
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
525
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
526
|
-
[1m[35mSQL (0.3ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", false], ["id", 1]]
|
527
|
-
[1m[35m (12.7ms)[0m [1m[36mcommit transaction[0m
|
528
541
|
Redirected to http://www.example-client.com/restricted
|
529
|
-
Completed 302 Found in
|
530
|
-
Started GET "/restricted" for 127.0.0.1 at
|
542
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.3ms)
|
543
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-06 08:54:21 +0000
|
531
544
|
Processing by ExampleController#restricted as HTML
|
532
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]]
|
533
546
|
Rendering text template
|
534
547
|
Rendered text template (0.0ms)
|
535
548
|
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.2ms)
|
536
|
-
Started GET "/restricted" for 127.0.0.1 at
|
549
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-07 04:49:21 +0000
|
550
|
+
Processing by ExampleController#restricted as HTML
|
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]]
|
552
|
+
Rendering text template
|
553
|
+
Rendered text template (0.0ms)
|
554
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.2ms)
|
555
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-06 08:54:21 +0000
|
537
556
|
Processing by ExampleController#restricted as HTML
|
538
557
|
Authenticating with gds_sso strategy
|
539
558
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
540
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
541
|
-
Started GET "/auth/gds/callback?code=
|
559
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-06 08:54:21 +0000
|
560
|
+
Started GET "/auth/gds/callback?code=eef6cae8137048757a9e292f6105a5c37cbe2ee24e4c32d9c82932fce7ca5ec1&state=4c7f68ff1d05bb23df45f6fab0c1bb37e92b2ca8821a82de" for 127.0.0.1 at 2017-12-06 08:54:22 +0000
|
542
561
|
Processing by AuthenticationsController#callback as HTML
|
543
|
-
Parameters: {"code"=>"
|
562
|
+
Parameters: {"code"=>"eef6cae8137048757a9e292f6105a5c37cbe2ee24e4c32d9c82932fce7ca5ec1", "state"=>"4c7f68ff1d05bb23df45f6fab0c1bb37e92b2ca8821a82de"}
|
544
563
|
Authenticating with gds_sso strategy
|
545
|
-
[1m[36mUser Load (0.
|
546
|
-
[1m[35m (0.
|
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]]
|
565
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
547
566
|
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
548
567
|
Redirected to http://www.example-client.com/restricted
|
549
|
-
Completed 302 Found in
|
550
|
-
Started GET "/restricted" for 127.0.0.1 at
|
568
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.3ms)
|
569
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-06 08:54:22 +0000
|
551
570
|
Processing by ExampleController#restricted as HTML
|
552
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]]
|
553
572
|
Rendering text template
|
554
573
|
Rendered text template (0.0ms)
|
555
|
-
Completed 200 OK in 2ms (Views: 0.
|
556
|
-
Started GET "/restricted" for 127.0.0.1 at
|
574
|
+
Completed 200 OK in 2ms (Views: 0.5ms | ActiveRecord: 0.2ms)
|
575
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-07 04:59:22 +0000
|
557
576
|
Processing by ExampleController#restricted as HTML
|
558
577
|
Authenticating with gds_sso strategy
|
559
|
-
Completed in
|
560
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
561
|
-
Started GET "/auth/gds/callback?code=
|
578
|
+
Completed in 0ms (ActiveRecord: 0.0ms)
|
579
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-07 04:59:22 +0000
|
580
|
+
Started GET "/auth/gds/callback?code=ae987a83e79b5db42e234ff7b2f06b1b073714635ded5e0a525cd3c097a9e67c&state=a60a982ed7fcc12f645e8c765d66c3405d39cabbb38d4842" for 127.0.0.1 at 2017-12-07 04:59:22 +0000
|
562
581
|
Processing by AuthenticationsController#callback as HTML
|
563
|
-
Parameters: {"code"=>"
|
582
|
+
Parameters: {"code"=>"ae987a83e79b5db42e234ff7b2f06b1b073714635ded5e0a525cd3c097a9e67c", "state"=>"a60a982ed7fcc12f645e8c765d66c3405d39cabbb38d4842"}
|
564
583
|
Authenticating with gds_sso strategy
|
565
|
-
[1m[36mUser Load (0.
|
584
|
+
[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
585
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
567
586
|
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
568
587
|
Redirected to http://www.example-client.com/restricted
|
569
|
-
Completed 302 Found in
|
570
|
-
Started GET "/restricted" for 127.0.0.1 at
|
588
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.3ms)
|
589
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-07 04:59:22 +0000
|
571
590
|
Processing by ExampleController#restricted as HTML
|
572
591
|
[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
592
|
Rendering text template
|
574
593
|
Rendered text template (0.0ms)
|
575
|
-
Completed 200 OK in
|
576
|
-
Started GET "/restricted" for 127.0.0.1 at
|
594
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.2ms)
|
595
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-06 08:54:22 +0000
|
577
596
|
Processing by ExampleController#restricted as HTML
|
578
597
|
Authenticating with gds_sso strategy
|
579
598
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
580
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
581
|
-
Started GET "/auth/gds/callback?code=
|
599
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-06 08:54:22 +0000
|
600
|
+
Started GET "/auth/gds/callback?code=bae66fdb254921c89d57cd486bcb77f1bd97e8c28180f6341ec241ba717c762f&state=353b1507f3a4b29d000ebb7db8888fd80ef999dca99968b4" for 127.0.0.1 at 2017-12-06 08:54:22 +0000
|
582
601
|
Processing by AuthenticationsController#callback as HTML
|
583
|
-
Parameters: {"code"=>"
|
602
|
+
Parameters: {"code"=>"bae66fdb254921c89d57cd486bcb77f1bd97e8c28180f6341ec241ba717c762f", "state"=>"353b1507f3a4b29d000ebb7db8888fd80ef999dca99968b4"}
|
584
603
|
Authenticating with gds_sso strategy
|
585
|
-
[1m[36mUser Load (0.
|
586
|
-
[1m[35m (0.
|
587
|
-
[1m[35m (0.
|
604
|
+
[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]]
|
605
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
606
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
588
607
|
Redirected to http://www.example-client.com/restricted
|
589
|
-
Completed 302 Found in
|
590
|
-
Started GET "/restricted" for 127.0.0.1 at
|
608
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.3ms)
|
609
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-06 08:54:22 +0000
|
591
610
|
Processing by ExampleController#restricted as HTML
|
592
611
|
[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
612
|
Rendering text template
|
594
|
-
Rendered text template (0.
|
595
|
-
Completed 200 OK in
|
596
|
-
Started GET "/restricted" for 127.0.0.1 at
|
613
|
+
Rendered text template (0.0ms)
|
614
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.2ms)
|
615
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-07 04:59:22 +0000
|
597
616
|
Processing by ExampleController#restricted as HTML
|
598
617
|
Authenticating with gds_sso strategy
|
599
|
-
Completed in
|
600
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
601
|
-
Started GET "/restricted" for 127.0.0.1 at
|
618
|
+
Completed in 0ms (ActiveRecord: 0.0ms)
|
619
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-07 04:59:22 +0000
|
620
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-06 08:54:22 +0000
|
602
621
|
Processing by ExampleController#restricted as HTML
|
603
622
|
Authenticating with gds_sso strategy
|
604
623
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
605
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
606
|
-
Started GET "/auth/gds/callback?code=
|
624
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-06 08:54:22 +0000
|
625
|
+
Started GET "/auth/gds/callback?code=5fc8f36619995b77801a909ee20cd81c8637792dce963fee7de85fe2a7759a00&state=829150c4985bd4c2dc838d2739856556774401589996489e" for 127.0.0.1 at 2017-12-06 08:54:22 +0000
|
607
626
|
Processing by AuthenticationsController#callback as HTML
|
608
|
-
Parameters: {"code"=>"
|
627
|
+
Parameters: {"code"=>"5fc8f36619995b77801a909ee20cd81c8637792dce963fee7de85fe2a7759a00", "state"=>"829150c4985bd4c2dc838d2739856556774401589996489e"}
|
609
628
|
Authenticating with gds_sso strategy
|
610
|
-
[1m[36mUser Load (0.
|
611
|
-
[1m[35m (0.
|
612
|
-
[1m[35m (0.
|
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]]
|
630
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
631
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
613
632
|
Redirected to http://www.example-client.com/restricted
|
614
|
-
Completed 302 Found in
|
615
|
-
Started GET "/restricted" for 127.0.0.1 at
|
633
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.3ms)
|
634
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-06 08:54:22 +0000
|
616
635
|
Processing by ExampleController#restricted as HTML
|
617
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]]
|
618
637
|
Rendering text template
|
619
638
|
Rendered text template (0.0ms)
|
620
|
-
Completed 200 OK in 2ms (Views: 0.
|
621
|
-
|
622
|
-
Processing by ExampleController#restricted as HTML
|
623
|
-
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", false], ["LIMIT", 1]]
|
624
|
-
Rendering text template
|
625
|
-
Rendered text template (0.0ms)
|
626
|
-
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.3ms)
|
627
|
-
Started GET "/restricted" for 127.0.0.1 at 2016-12-20 12:13:56 +0000
|
628
|
-
Processing by ExampleController#restricted as JSON
|
629
|
-
Completed in 24ms (ActiveRecord: 0.0ms)
|
630
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2016-12-20 12:13:56 +0000
|
631
|
-
Processing by ExampleController#this_requires_signin_permission as JSON
|
632
|
-
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
633
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
634
|
-
[1m[35mSQL (0.2ms)[0m [1m[33mUPDATE "users" SET "disabled" = ? WHERE "users"."id" = ?[0m [["disabled", nil], ["id", 1]]
|
635
|
-
[1m[35m (16.8ms)[0m [1m[36mcommit transaction[0m
|
636
|
-
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
637
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
638
|
-
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
639
|
-
[1m[36mCACHE (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
640
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
641
|
-
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
642
|
-
[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]]
|
643
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
644
|
-
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
645
|
-
Rendering text template
|
646
|
-
Rendered text template (0.0ms)
|
647
|
-
Completed 200 OK in 97ms (Views: 0.4ms | ActiveRecord: 18.2ms)
|
648
|
-
Started GET "/restricted" for 127.0.0.1 at 2016-12-20 12:13:56 +0000
|
649
|
-
Processing by ExampleController#restricted as JSON
|
650
|
-
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
651
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
652
|
-
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
653
|
-
[1m[36mCACHE (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
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]]
|
654
641
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
655
|
-
[1m[
|
656
|
-
[1m[
|
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 (4.1ms)[0m [1m[36mcommit transaction[0m
|
644
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-06 08:54:22 +0000
|
645
|
+
Processing by ExampleController#restricted as HTML
|
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]]
|
647
|
+
Authenticating with gds_sso strategy
|
648
|
+
Completed in 1ms (ActiveRecord: 0.2ms)
|
649
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-06 08:54:22 +0000
|
650
|
+
Started GET "/auth/gds/callback?code=c74d8dc36a4d2b4006426c25130207c1f28f9fb1faf22a318845891631600888&state=970cf02e3c8915907ae13c67a93a782042d0eb57adea47bc" for 127.0.0.1 at 2017-12-06 08:54:23 +0000
|
651
|
+
Processing by AuthenticationsController#callback as HTML
|
652
|
+
Parameters: {"code"=>"c74d8dc36a4d2b4006426c25130207c1f28f9fb1faf22a318845891631600888", "state"=>"970cf02e3c8915907ae13c67a93a782042d0eb57adea47bc"}
|
653
|
+
Authenticating with gds_sso strategy
|
654
|
+
[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
655
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
658
|
-
[1m[35m (0.
|
659
|
-
[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]]
|
656
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
660
657
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
661
|
-
[1m[
|
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.1ms)[0m [1m[36mcommit transaction[0m
|
660
|
+
Redirected to http://www.example-client.com/restricted
|
661
|
+
Completed 302 Found in 9ms (ActiveRecord: 4.7ms)
|
662
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-06 08:54:23 +0000
|
663
|
+
Processing by ExampleController#restricted as HTML
|
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]]
|
662
665
|
Rendering text template
|
663
666
|
Rendered text template (0.0ms)
|
664
|
-
Completed 200 OK in
|
665
|
-
Started GET "/restricted" for 127.0.0.1 at 2016-12-20 12:13:56 +0000
|
666
|
-
Processing by ExampleController#restricted as JSON
|
667
|
-
Completed in 19ms (ActiveRecord: 0.0ms)
|
667
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.2ms)
|
668
668
|
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "asd"], ["LIMIT", 1]]
|
669
669
|
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["email", "user@example.com"], ["LIMIT", 1]]
|
670
670
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
671
671
|
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions", "organisation_slug", "organisation_content_id", "disabled") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["name", "A Name"], ["uid", "asd"], ["email", "user@example.com"], ["permissions", "---\n- signin\n"], ["organisation_slug", "hmrc"], ["organisation_content_id", "67a2b78d-eee3-45b3-80e2-792e7f71cecc"], ["disabled", nil]]
|
672
|
-
[1m[35m (
|
672
|
+
[1m[35m (8.6ms)[0m [1m[36mcommit transaction[0m
|
673
673
|
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "asd"], ["LIMIT", 1]]
|
674
|
-
[1m[35m (0.
|
674
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
675
675
|
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
676
676
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
677
|
-
[1m[35mSQL (0.
|
678
|
-
[1m[35m (
|
679
|
-
[1m[35m (0.
|
680
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "
|
681
|
-
[1m[35m (
|
677
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d31362"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
678
|
+
[1m[35m (5.5ms)[0m [1m[36mcommit transaction[0m
|
679
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
680
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d31186"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
681
|
+
[1m[35m (4.0ms)[0m [1m[36mcommit transaction[0m
|
682
|
+
Processing by Api::UserController#reauth as HTML
|
683
|
+
Parameters: {"uid"=>"a1s2d31362"}
|
684
|
+
Rendering /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
|
685
|
+
Rendered /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.2ms)
|
686
|
+
Completed 403 Forbidden in 8ms (Views: 7.7ms | ActiveRecord: 0.0ms)
|
687
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
688
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d33730"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
689
|
+
[1m[35m (4.8ms)[0m [1m[36mcommit transaction[0m
|
690
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
691
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d33241"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
692
|
+
[1m[35m (4.8ms)[0m [1m[36mcommit transaction[0m
|
682
693
|
Processing by Api::UserController#reauth as HTML
|
683
694
|
Parameters: {"uid"=>"nonexistent-user"}
|
684
695
|
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "nonexistent-user"], ["LIMIT", 1]]
|
685
|
-
Completed 200 OK in
|
686
|
-
[1m[35m (0.
|
687
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "
|
688
|
-
[1m[35m (
|
689
|
-
[1m[35m (0.
|
690
|
-
[1m[35mSQL (0.
|
691
|
-
[1m[35m (
|
692
|
-
Processing by Api::UserController#reauth as HTML
|
693
|
-
Parameters: {"uid"=>"a1s2d38288"}
|
694
|
-
Rendering /home/jenkins/workspace/govuk_gds_sso/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
|
695
|
-
Rendered /home/jenkins/workspace/govuk_gds_sso/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.3ms)
|
696
|
-
Completed 403 Forbidden in 8ms (Views: 7.0ms | ActiveRecord: 0.0ms)
|
697
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
698
|
-
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d34383"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
699
|
-
[1m[35m (17.2ms)[0m [1m[36mcommit transaction[0m
|
700
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
701
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d31988"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
702
|
-
[1m[35m (8.7ms)[0m [1m[36mcommit transaction[0m
|
696
|
+
Completed 200 OK in 1ms (ActiveRecord: 0.1ms)
|
697
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
698
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d31404"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
699
|
+
[1m[35m (4.0ms)[0m [1m[36mcommit transaction[0m
|
700
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
701
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d33047"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
702
|
+
[1m[35m (3.8ms)[0m [1m[36mcommit transaction[0m
|
703
703
|
Processing by Api::UserController#reauth as HTML
|
704
|
-
Parameters: {"uid"=>"
|
705
|
-
[1m[36mUser Load (0.
|
706
|
-
[1m[35m (0.
|
704
|
+
Parameters: {"uid"=>"a1s2d31404"}
|
705
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "a1s2d31404"], ["LIMIT", 1]]
|
706
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
707
707
|
[1m[35mSQL (0.2ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", true], ["id", 7]]
|
708
|
-
[1m[35m (
|
709
|
-
Completed 200 OK in
|
710
|
-
[1m[36mUser Load (0.
|
711
|
-
[1m[35m (0.
|
712
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "
|
713
|
-
[1m[35m (
|
714
|
-
[1m[35m (0.
|
715
|
-
[1m[35mSQL (0.
|
716
|
-
[1m[35m (
|
708
|
+
[1m[35m (4.1ms)[0m [1m[36mcommit transaction[0m
|
709
|
+
Completed 200 OK in 6ms (ActiveRecord: 4.4ms)
|
710
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 7], ["LIMIT", 1]]
|
711
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
712
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d35292"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
713
|
+
[1m[35m (5.7ms)[0m [1m[36mcommit transaction[0m
|
714
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
715
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d32724"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
716
|
+
[1m[35m (6.5ms)[0m [1m[36mcommit transaction[0m
|
717
717
|
Processing by Api::UserController#update as HTML
|
718
|
-
Parameters: {"uid"=>"
|
719
|
-
[1m[36mUser Load (0.
|
720
|
-
[1m[35m (0.
|
718
|
+
Parameters: {"uid"=>"a1s2d35292"}
|
719
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "a1s2d35292"], ["LIMIT", 1]]
|
720
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
721
721
|
[1m[35mSQL (0.2ms)[0m [1m[33mUPDATE "users" SET "email" = ?, "name" = ?, "permissions" = ?, "organisation_slug" = ?, "organisation_content_id" = ? WHERE "users"."id" = ?[0m [["email", "user@domain.com"], ["name", "Joshua Marshall"], ["permissions", "---\n- signin\n- new permission\n"], ["organisation_slug", "justice-league"], ["organisation_content_id", "aae1319e-5788-4677-998c-f1a53af528d0"], ["id", 9]]
|
722
|
-
[1m[35m (
|
723
|
-
Completed 200 OK in
|
722
|
+
[1m[35m (4.2ms)[0m [1m[36mcommit transaction[0m
|
723
|
+
Completed 200 OK in 7ms (ActiveRecord: 4.5ms)
|
724
724
|
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 9], ["LIMIT", 1]]
|
725
|
-
[1m[35m (0.
|
726
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "
|
727
|
-
[1m[35m (
|
728
|
-
[1m[35m (0.
|
729
|
-
[1m[35mSQL (0.
|
730
|
-
[1m[35m (
|
725
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
726
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d38157"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
727
|
+
[1m[35m (3.7ms)[0m [1m[36mcommit transaction[0m
|
728
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
729
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d34976"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
730
|
+
[1m[35m (6.6ms)[0m [1m[36mcommit transaction[0m
|
731
731
|
Processing by Api::UserController#update as HTML
|
732
|
-
Parameters: {"uid"=>"
|
733
|
-
Rendering /
|
734
|
-
Rendered /
|
735
|
-
Completed 403 Forbidden in
|
736
|
-
[1m[36m (
|
737
|
-
[1m[35m (
|
732
|
+
Parameters: {"uid"=>"a1s2d38157"}
|
733
|
+
Rendering /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
|
734
|
+
Rendered /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.0ms)
|
735
|
+
Completed 403 Forbidden in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
|
736
|
+
[1m[36m (8.0ms)[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.7ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
738
738
|
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
739
|
-
[1m[35m (
|
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.3ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions", "organisation_slug", "organisation_content_id", "disabled") VALUES (?, ?, ?, ?, ?, ?, ?) [["uid", "asd"], ["email", "user@example.com"], ["name", "A Name"], ["permissions", "---\n- signin\n"], ["organisation_slug", "hmrc"], ["organisation_content_id", "67a2b78d-eee3-45b3-80e2-792e7f71cecc"], ["disabled", nil]]
|
744
|
-
[1m[36m (17.0ms)[0m [1mcommit transaction[0m
|
745
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "asd"]]
|
746
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
747
|
-
[1m[35m (0.1ms)[0m commit transaction
|
739
|
+
[1m[35m (4.9ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
748
740
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
749
|
-
[1m[35mSQL (0.
|
750
|
-
[1m[36m (
|
741
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d36466"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
|
742
|
+
[1m[36m (6.8ms)[0m [1mcommit transaction[0m
|
751
743
|
[1m[35m (0.1ms)[0m begin transaction
|
752
|
-
[1m[36mSQL (0.
|
753
|
-
[1m[35m (
|
744
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["uid", "a1s2d35543"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
745
|
+
[1m[35m (4.7ms)[0m commit transaction
|
754
746
|
Processing by Api::UserController#reauth as HTML
|
755
|
-
Parameters: {"uid"=>"
|
756
|
-
|
757
|
-
Completed
|
758
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
759
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d39434"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
|
760
|
-
[1m[36m (33.3ms)[0m [1mcommit transaction[0m
|
747
|
+
Parameters: {"uid"=>"nonexistent-user"}
|
748
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "nonexistent-user"]]
|
749
|
+
Completed 200 OK in 6ms (ActiveRecord: 0.2ms)
|
761
750
|
[1m[35m (0.1ms)[0m begin transaction
|
762
|
-
[1m[36mSQL (0.
|
763
|
-
[1m[35m (
|
751
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["uid", "a1s2d39240"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
|
752
|
+
[1m[35m (5.4ms)[0m commit transaction
|
753
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
754
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d39347"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
755
|
+
[1m[36m (4.7ms)[0m [1mcommit transaction[0m
|
764
756
|
Processing by Api::UserController#reauth as HTML
|
765
|
-
Parameters: {"uid"=>"
|
766
|
-
|
757
|
+
Parameters: {"uid"=>"a1s2d39240"}
|
758
|
+
Rendered /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.2ms)
|
759
|
+
Completed 403 Forbidden in 9ms (Views: 9.2ms | ActiveRecord: 0.0ms)
|
767
760
|
[1m[35m (0.1ms)[0m begin transaction
|
768
|
-
[1m[36mSQL (0.
|
769
|
-
[1m[35m (
|
770
|
-
|
771
|
-
[1m[
|
772
|
-
[1m[
|
773
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["uid", "a1s2d39628"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
|
774
|
-
[1m[35m (21.9ms)[0m commit transaction
|
775
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
776
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d34159"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
777
|
-
[1m[36m (45.9ms)[0m [1mcommit transaction[0m
|
761
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["uid", "a1s2d38374"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
|
762
|
+
[1m[35m (4.1ms)[0m commit transaction
|
763
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
764
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d35852"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
765
|
+
[1m[36m (4.9ms)[0m [1mcommit transaction[0m
|
778
766
|
Processing by Api::UserController#reauth as HTML
|
779
|
-
Parameters: {"uid"=>"
|
780
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "
|
781
|
-
|
767
|
+
Parameters: {"uid"=>"a1s2d38374"}
|
768
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "a1s2d38374"]]
|
769
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
770
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", "t"], ["id", 5]]
|
771
|
+
[1m[36m (4.2ms)[0m [1mcommit transaction[0m
|
772
|
+
Completed 200 OK in 7ms (ActiveRecord: 4.5ms)
|
773
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 5]]
|
782
774
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
783
|
-
[1m[35mSQL (0.
|
784
|
-
[1m[36m (
|
785
|
-
[1m[35m (0.
|
786
|
-
[1m[36mSQL (0.
|
787
|
-
[1m[35m (
|
775
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d32362"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
|
776
|
+
[1m[36m (5.0ms)[0m [1mcommit transaction[0m
|
777
|
+
[1m[35m (0.0ms)[0m begin transaction
|
778
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["uid", "a1s2d35488"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
779
|
+
[1m[35m (6.3ms)[0m commit transaction
|
788
780
|
Processing by Api::UserController#update as HTML
|
789
|
-
Parameters: {"uid"=>"
|
790
|
-
Rendered /
|
791
|
-
Completed 403 Forbidden in 1ms (Views: 0.
|
781
|
+
Parameters: {"uid"=>"a1s2d32362"}
|
782
|
+
Rendered /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.1ms)
|
783
|
+
Completed 403 Forbidden in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)
|
792
784
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
793
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "
|
794
|
-
[1m[36m (
|
785
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d39861"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
|
786
|
+
[1m[36m (3.8ms)[0m [1mcommit transaction[0m
|
795
787
|
[1m[35m (0.1ms)[0m begin transaction
|
796
|
-
[1m[36mSQL (0.
|
797
|
-
[1m[35m (
|
788
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["uid", "a1s2d38847"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
789
|
+
[1m[35m (3.9ms)[0m commit transaction
|
798
790
|
Processing by Api::UserController#update as HTML
|
799
|
-
Parameters: {"uid"=>"
|
800
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "
|
791
|
+
Parameters: {"uid"=>"a1s2d39861"}
|
792
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "a1s2d39861"]]
|
793
|
+
[1m[35m (0.0ms)[0m begin transaction
|
794
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "email" = ?, "name" = ?, "permissions" = ?, "organisation_slug" = ?, "organisation_content_id" = ? WHERE "users"."id" = ?[0m [["email", "user@domain.com"], ["name", "Joshua Marshall"], ["permissions", "---\n- signin\n- new permission\n"], ["organisation_slug", "justice-league"], ["organisation_content_id", "aae1319e-5788-4677-998c-f1a53af528d0"], ["id", 9]]
|
795
|
+
[1m[35m (4.6ms)[0m commit transaction
|
796
|
+
Completed 200 OK in 8ms (ActiveRecord: 4.9ms)
|
797
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 9]]
|
798
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "asd"]]
|
799
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["email", "user@example.com"]]
|
800
|
+
[1m[35m (0.1ms)[0m begin transaction
|
801
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions", "organisation_slug", "organisation_content_id", "disabled") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["uid", "asd"], ["email", "user@example.com"], ["name", "A Name"], ["permissions", "---\n- signin\n"], ["organisation_slug", "hmrc"], ["organisation_content_id", "67a2b78d-eee3-45b3-80e2-792e7f71cecc"], ["disabled", nil]]
|
802
|
+
[1m[35m (4.0ms)[0m commit transaction
|
803
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "asd"]]
|
804
|
+
[1m[35m (0.0ms)[0m begin transaction
|
805
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
806
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2017-12-06 08:54:29 +0000
|
807
|
+
Processing by ExampleController#this_requires_signin_permission as JSON
|
808
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
809
|
+
[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"]]
|
810
|
+
[1m[35m (0.1ms)[0m begin transaction
|
811
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions", "disabled") VALUES (?, ?, ?, ?, ?)[0m [["uid", "integration-uid"], ["email", "test@example-client.com"], ["name", "Test User"], ["permissions", "---\n- signin\n"], ["disabled", nil]]
|
812
|
+
[1m[35m (6.6ms)[0m commit transaction
|
813
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
814
|
+
[1m[35m (0.0ms)[0m begin transaction
|
815
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
816
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
817
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
818
|
+
[1m[35m (0.0ms)[0m commit transaction
|
819
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
820
|
+
[1m[35m (0.0ms)[0m begin transaction
|
821
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
822
|
+
[1m[35m (0.0ms)[0m begin transaction
|
823
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "f"], ["id", 12]]
|
824
|
+
[1m[35m (7.3ms)[0m commit transaction
|
825
|
+
Rendered text template (0.0ms)
|
826
|
+
Completed 200 OK in 96ms (Views: 1.1ms | ActiveRecord: 15.0ms)
|
827
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-06 08:54:29 +0000
|
828
|
+
Processing by ExampleController#restricted as JSON
|
829
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
830
|
+
[1m[35m (0.1ms)[0m begin transaction
|
831
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
832
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
833
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
834
|
+
[1m[35m (0.0ms)[0m commit transaction
|
835
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
801
836
|
[1m[35m (0.1ms)[0m begin transaction
|
802
|
-
[1m[
|
803
|
-
[1m[
|
804
|
-
|
805
|
-
[1m[
|
806
|
-
|
837
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
838
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
839
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
840
|
+
[1m[35m (0.0ms)[0m commit transaction
|
841
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
842
|
+
[1m[35m (0.1ms)[0m commit transaction
|
843
|
+
Rendered text template (0.0ms)
|
844
|
+
Completed 200 OK in 66ms (Views: 0.3ms | ActiveRecord: 0.8ms)
|
845
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-06 08:54:29 +0000
|
846
|
+
Processing by ExampleController#restricted as JSON
|
847
|
+
Completed in 14ms (ActiveRecord: 0.0ms)
|
848
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-06 08:54:29 +0000
|
849
|
+
Processing by ExampleController#restricted as JSON
|
850
|
+
Completed in 28ms (ActiveRecord: 0.0ms)
|
851
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-06 08:54:29 +0000
|
807
852
|
Processing by ExampleController#restricted as HTML
|
808
853
|
Authenticating with gds_sso strategy
|
809
|
-
Completed in
|
810
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
811
|
-
Started GET "/auth/gds/callback?code=
|
854
|
+
Completed in 0ms (ActiveRecord: 0.0ms)
|
855
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-06 08:54:29 +0000
|
856
|
+
Started GET "/auth/gds/callback?code=3930600dadf517a73cb2a4d2d883a636e71dee22dc97cc762ff4e4457d2e2141&state=296955893792a7bf8fdb987a05e0e4e6c19e44e8ea910310" for 127.0.0.1 at 2017-12-06 08:54:29 +0000
|
812
857
|
Processing by AuthenticationsController#callback as HTML
|
813
|
-
Parameters: {"code"=>"
|
858
|
+
Parameters: {"code"=>"3930600dadf517a73cb2a4d2d883a636e71dee22dc97cc762ff4e4457d2e2141", "state"=>"296955893792a7bf8fdb987a05e0e4e6c19e44e8ea910310"}
|
814
859
|
Authenticating with gds_sso strategy
|
815
|
-
[1m[
|
816
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["email", "test@example-client.com"]]
|
860
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
817
861
|
[1m[35m (0.1ms)[0m begin transaction
|
818
|
-
[1m[36mSQL (0.2ms)[0m [
|
819
|
-
[1m[35m (
|
820
|
-
[1m[36m (0.
|
821
|
-
[1m[
|
822
|
-
[1m[36m (59.9ms)[0m [1mcommit transaction[0m
|
862
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "disabled" = ? WHERE "users"."id" = ?[0m [["disabled", "f"], ["id", 12]]
|
863
|
+
[1m[35m (5.8ms)[0m commit transaction
|
864
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
865
|
+
[1m[35m (0.0ms)[0m commit transaction
|
823
866
|
Redirected to http://www.example-client.com/restricted
|
824
|
-
Completed 302 Found in
|
825
|
-
Started GET "/restricted" for 127.0.0.1 at
|
867
|
+
Completed 302 Found in 10ms (ActiveRecord: 6.3ms)
|
868
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-06 08:54:29 +0000
|
826
869
|
Processing by ExampleController#restricted as HTML
|
827
|
-
[1m[
|
870
|
+
[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"]]
|
828
871
|
Rendered text template (0.0ms)
|
829
|
-
Completed 200 OK in
|
830
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at
|
872
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.2ms)
|
873
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2017-12-06 08:54:29 +0000
|
831
874
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
832
875
|
Authenticating with gds_sso strategy
|
833
876
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
834
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
835
|
-
Started GET "/auth/gds/callback?code=
|
877
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-06 08:54:29 +0000
|
878
|
+
Started GET "/auth/gds/callback?code=de2f00194961e45f161c593b3dd3458f2759fc1c5628b401849a8bb7493d84aa&state=fb08b765269032f5013273ecd859b810ae6d69f58cd798ac" for 127.0.0.1 at 2017-12-06 08:54:29 +0000
|
836
879
|
Processing by AuthenticationsController#callback as HTML
|
837
|
-
Parameters: {"code"=>"
|
880
|
+
Parameters: {"code"=>"de2f00194961e45f161c593b3dd3458f2759fc1c5628b401849a8bb7493d84aa", "state"=>"fb08b765269032f5013273ecd859b810ae6d69f58cd798ac"}
|
838
881
|
Authenticating with gds_sso strategy
|
839
|
-
[1m[
|
840
|
-
[1m[
|
841
|
-
[1m[
|
842
|
-
[1m[
|
843
|
-
[1m[
|
882
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
883
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
884
|
+
[1m[35m (0.0ms)[0m commit transaction
|
885
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
886
|
+
[1m[35m (0.0ms)[0m commit transaction
|
844
887
|
Redirected to http://www.example-client.com/this_requires_signin_permission
|
845
|
-
Completed 302 Found in 4ms (ActiveRecord: 0.
|
846
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at
|
888
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.3ms)
|
889
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2017-12-06 08:54:29 +0000
|
847
890
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
848
|
-
[1m[
|
891
|
+
[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"]]
|
849
892
|
Rendered text template (0.0ms)
|
850
893
|
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
851
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at
|
894
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2017-12-06 08:54:30 +0000
|
852
895
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
853
896
|
Authenticating with gds_sso strategy
|
854
897
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
855
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
856
|
-
Started GET "/auth/gds/callback?code=
|
898
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-06 08:54:30 +0000
|
899
|
+
Started GET "/auth/gds/callback?code=dd2fba84a44630013a2f352b50ac3b4bbb50e7f8ccaf27b3814f556d68d4bb20&state=db476cb2cd062a331c3aa1324c050dec4ef6d20b1ea6e103" for 127.0.0.1 at 2017-12-06 08:54:30 +0000
|
857
900
|
Processing by AuthenticationsController#callback as HTML
|
858
|
-
Parameters: {"code"=>"
|
901
|
+
Parameters: {"code"=>"dd2fba84a44630013a2f352b50ac3b4bbb50e7f8ccaf27b3814f556d68d4bb20", "state"=>"db476cb2cd062a331c3aa1324c050dec4ef6d20b1ea6e103"}
|
859
902
|
Authenticating with gds_sso strategy
|
860
|
-
[1m[
|
861
|
-
[1m[
|
862
|
-
[1m[
|
863
|
-
[1m[
|
864
|
-
[1m[
|
903
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
904
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
905
|
+
[1m[35m (0.0ms)[0m commit transaction
|
906
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
907
|
+
[1m[35m (0.0ms)[0m commit transaction
|
865
908
|
Redirected to http://www.example-client.com/this_requires_signin_permission
|
866
|
-
Completed 302 Found in
|
867
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at
|
909
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.3ms)
|
910
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2017-12-06 08:54:30 +0000
|
868
911
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
869
|
-
[1m[
|
912
|
+
[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"]]
|
870
913
|
Rendered text template (0.0ms)
|
871
|
-
Completed 200 OK in 2ms (Views: 0.
|
872
|
-
Started GET "/
|
914
|
+
Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.1ms)
|
915
|
+
Started GET "/" for 127.0.0.1 at 2017-12-06 08:54:30 +0000
|
916
|
+
Processing by ExampleController#index as HTML
|
917
|
+
Rendered text template (0.0ms)
|
918
|
+
Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
919
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-06 08:54:30 +0000
|
873
920
|
Processing by ExampleController#restricted as HTML
|
874
921
|
Authenticating with gds_sso strategy
|
875
922
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
876
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
877
|
-
Started GET "/auth/gds/callback?code=
|
923
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-06 08:54:30 +0000
|
924
|
+
Started GET "/auth/gds/callback?code=55e382cde2797a9a5a2d7f95e13979248a582fac5761e127295d6fe18b76a0d0&state=3f308532f17b1a77e740617a8568556401711523b222c31f" for 127.0.0.1 at 2017-12-06 08:54:30 +0000
|
878
925
|
Processing by AuthenticationsController#callback as HTML
|
879
|
-
Parameters: {"code"=>"
|
926
|
+
Parameters: {"code"=>"55e382cde2797a9a5a2d7f95e13979248a582fac5761e127295d6fe18b76a0d0", "state"=>"3f308532f17b1a77e740617a8568556401711523b222c31f"}
|
880
927
|
Authenticating with gds_sso strategy
|
881
|
-
[1m[
|
882
|
-
[1m[
|
883
|
-
[1m[
|
884
|
-
[1m[
|
885
|
-
[1m[
|
928
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
929
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
930
|
+
[1m[35m (0.0ms)[0m commit transaction
|
931
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
932
|
+
[1m[35m (0.0ms)[0m commit transaction
|
886
933
|
Redirected to http://www.example-client.com/restricted
|
887
934
|
Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
|
888
|
-
Started GET "/restricted" for 127.0.0.1 at
|
935
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-06 08:54:30 +0000
|
889
936
|
Processing by ExampleController#restricted as HTML
|
890
|
-
[1m[
|
937
|
+
[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"]]
|
891
938
|
Rendered text template (0.0ms)
|
892
|
-
Completed 200 OK in
|
893
|
-
Started GET "/restricted" for 127.0.0.1 at
|
939
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
940
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-06 08:54:30 +0000
|
894
941
|
Processing by ExampleController#restricted as HTML
|
895
942
|
Authenticating with gds_sso strategy
|
896
943
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
897
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
898
|
-
Started GET "/auth/gds/callback?code=
|
944
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-06 08:54:30 +0000
|
945
|
+
Started GET "/auth/gds/callback?code=57885b7f7fa765e99cf66849ae5626a322bc95a5f72b01dfa2ac68bd12152bca&state=58387e91f22389479ee6070d26cfe223d8f5af287cd65f06" for 127.0.0.1 at 2017-12-06 08:54:30 +0000
|
899
946
|
Processing by AuthenticationsController#callback as HTML
|
900
|
-
Parameters: {"code"=>"
|
947
|
+
Parameters: {"code"=>"57885b7f7fa765e99cf66849ae5626a322bc95a5f72b01dfa2ac68bd12152bca", "state"=>"58387e91f22389479ee6070d26cfe223d8f5af287cd65f06"}
|
901
948
|
Authenticating with gds_sso strategy
|
902
|
-
[1m[
|
903
|
-
[1m[
|
904
|
-
[1m[
|
905
|
-
[1m[
|
906
|
-
[1m[
|
949
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
950
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
951
|
+
[1m[35m (0.0ms)[0m commit transaction
|
952
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
953
|
+
[1m[35m (0.0ms)[0m commit transaction
|
907
954
|
Redirected to http://www.example-client.com/restricted
|
908
955
|
Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
|
909
|
-
Started GET "/restricted" for 127.0.0.1 at
|
956
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-06 08:54:30 +0000
|
910
957
|
Processing by ExampleController#restricted as HTML
|
911
|
-
[1m[
|
912
|
-
Rendered text template (0.0ms)
|
913
|
-
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
914
|
-
Started GET "/" for 127.0.0.1 at 2016-12-20 12:14:02 +0000
|
915
|
-
Processing by ExampleController#index as HTML
|
958
|
+
[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"]]
|
916
959
|
Rendered text template (0.0ms)
|
917
|
-
Completed 200 OK in
|
918
|
-
Started GET "/restricted" for 127.0.0.1 at
|
960
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
961
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-06 08:54:30 +0000
|
919
962
|
Processing by ExampleController#restricted as HTML
|
920
963
|
Authenticating with gds_sso strategy
|
921
964
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
922
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
923
|
-
Started GET "/auth/gds/callback?code=
|
965
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-06 08:54:30 +0000
|
966
|
+
Started GET "/auth/gds/callback?code=eba0c45be887c9e0bf04a5c8c4607edd05c5e0371ebfb6774f411256b37d73f5&state=14868ca49deae21f69375b522a3159c2ef20724fc09c5693" for 127.0.0.1 at 2017-12-06 08:54:30 +0000
|
924
967
|
Processing by AuthenticationsController#callback as HTML
|
925
|
-
Parameters: {"code"=>"
|
968
|
+
Parameters: {"code"=>"eba0c45be887c9e0bf04a5c8c4607edd05c5e0371ebfb6774f411256b37d73f5", "state"=>"14868ca49deae21f69375b522a3159c2ef20724fc09c5693"}
|
926
969
|
Authenticating with gds_sso strategy
|
927
|
-
[1m[
|
928
|
-
[1m[
|
929
|
-
[1m[
|
930
|
-
[1m[
|
931
|
-
[1m[
|
970
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
971
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
972
|
+
[1m[35m (0.1ms)[0m commit transaction
|
973
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
974
|
+
[1m[35m (0.0ms)[0m commit transaction
|
932
975
|
Redirected to http://www.example-client.com/restricted
|
933
|
-
Completed 302 Found in
|
934
|
-
Started GET "/restricted" for 127.0.0.1 at
|
976
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
|
977
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-06 08:54:30 +0000
|
935
978
|
Processing by ExampleController#restricted as HTML
|
936
|
-
[1m[
|
979
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
|
937
980
|
Rendered text template (0.0ms)
|
938
|
-
Completed 200 OK in
|
939
|
-
|
981
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
982
|
+
[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"]]
|
983
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
984
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", "t"], ["id", 12]]
|
985
|
+
[1m[36m (4.1ms)[0m [1mcommit transaction[0m
|
986
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-06 08:54:30 +0000
|
940
987
|
Processing by ExampleController#restricted as HTML
|
988
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
|
941
989
|
Authenticating with gds_sso strategy
|
942
|
-
Completed in 1ms (ActiveRecord: 0.
|
943
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
944
|
-
Started GET "/auth/gds/callback?code=
|
990
|
+
Completed in 1ms (ActiveRecord: 0.1ms)
|
991
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-06 08:54:30 +0000
|
992
|
+
Started GET "/auth/gds/callback?code=6591d83f221c619c9b010d93d08d86a6e652affc0b55ed9a43027a15497c9e1b&state=af2bd29c194bd62112102c8a533f8cd5c3efb79d19c8fde6" for 127.0.0.1 at 2017-12-06 08:54:31 +0000
|
945
993
|
Processing by AuthenticationsController#callback as HTML
|
946
|
-
Parameters: {"code"=>"
|
994
|
+
Parameters: {"code"=>"6591d83f221c619c9b010d93d08d86a6e652affc0b55ed9a43027a15497c9e1b", "state"=>"af2bd29c194bd62112102c8a533f8cd5c3efb79d19c8fde6"}
|
947
995
|
Authenticating with gds_sso strategy
|
948
|
-
[1m[36mUser Load (0.
|
949
|
-
[1m[35m (0.1ms)[0m begin transaction
|
950
|
-
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
996
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
951
997
|
[1m[35m (0.1ms)[0m begin transaction
|
952
|
-
[1m[36m (0.
|
998
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
999
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1000
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "f"], ["id", 12]]
|
1001
|
+
[1m[35m (5.5ms)[0m commit transaction
|
953
1002
|
Redirected to http://www.example-client.com/restricted
|
954
|
-
Completed 302 Found in
|
955
|
-
Started GET "/restricted" for 127.0.0.1 at
|
1003
|
+
Completed 302 Found in 10ms (ActiveRecord: 6.0ms)
|
1004
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-06 08:54:31 +0000
|
956
1005
|
Processing by ExampleController#restricted as HTML
|
957
|
-
[1m[
|
1006
|
+
[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"]]
|
958
1007
|
Rendered text template (0.0ms)
|
959
|
-
Completed 200 OK in
|
960
|
-
Started GET "/restricted" for 127.0.0.1 at
|
1008
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
1009
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-06 08:54:31 +0000
|
961
1010
|
Processing by ExampleController#restricted as HTML
|
962
1011
|
Authenticating with gds_sso strategy
|
963
1012
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
964
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
965
|
-
Started GET "/auth/gds/callback?code=
|
1013
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-06 08:54:31 +0000
|
1014
|
+
Started GET "/auth/gds/callback?code=2db8e43bc7e0a8ef7e420c0ea07f73e478aaf047a3178fea3c2c582ae2efba27&state=bb1b7f673683f88332c0dca9bd9299d83765883163592285" for 127.0.0.1 at 2017-12-06 08:54:31 +0000
|
966
1015
|
Processing by AuthenticationsController#callback as HTML
|
967
|
-
Parameters: {"code"=>"
|
1016
|
+
Parameters: {"code"=>"2db8e43bc7e0a8ef7e420c0ea07f73e478aaf047a3178fea3c2c582ae2efba27", "state"=>"bb1b7f673683f88332c0dca9bd9299d83765883163592285"}
|
968
1017
|
Authenticating with gds_sso strategy
|
969
|
-
[1m[
|
970
|
-
[1m[
|
971
|
-
[1m[
|
972
|
-
[1m[
|
973
|
-
[1m[
|
1018
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
1019
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1020
|
+
[1m[35m (0.0ms)[0m commit transaction
|
1021
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1022
|
+
[1m[35m (0.0ms)[0m commit transaction
|
974
1023
|
Redirected to http://www.example-client.com/restricted
|
975
|
-
Completed 302 Found in
|
976
|
-
Started GET "/restricted" for 127.0.0.1 at
|
1024
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.3ms)
|
1025
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-06 08:54:31 +0000
|
977
1026
|
Processing by ExampleController#restricted as HTML
|
978
|
-
[1m[
|
1027
|
+
[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"]]
|
979
1028
|
Rendered text template (0.0ms)
|
980
1029
|
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
981
|
-
Started GET "/restricted" for 127.0.0.1 at
|
1030
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-07 04:59:31 +0000
|
982
1031
|
Processing by ExampleController#restricted as HTML
|
983
|
-
|
984
|
-
|
985
|
-
|
986
|
-
Started GET "/restricted" for 127.0.0.1 at
|
1032
|
+
Authenticating with gds_sso strategy
|
1033
|
+
Completed in 1ms (ActiveRecord: 0.0ms)
|
1034
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-07 04:59:31 +0000
|
1035
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-06 08:54:31 +0000
|
987
1036
|
Processing by ExampleController#restricted as HTML
|
988
1037
|
Authenticating with gds_sso strategy
|
989
1038
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
990
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
991
|
-
Started GET "/auth/gds/callback?code=
|
1039
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-06 08:54:31 +0000
|
1040
|
+
Started GET "/auth/gds/callback?code=7f1e0b56a35a5b592d63ee3a2430411b795bdc62e1d308c7436f9f9a7cafbb4f&state=eb0505524c75c135fabb31e2499c109a8db75bc1d32e9269" for 127.0.0.1 at 2017-12-06 08:54:31 +0000
|
992
1041
|
Processing by AuthenticationsController#callback as HTML
|
993
|
-
Parameters: {"code"=>"
|
1042
|
+
Parameters: {"code"=>"7f1e0b56a35a5b592d63ee3a2430411b795bdc62e1d308c7436f9f9a7cafbb4f", "state"=>"eb0505524c75c135fabb31e2499c109a8db75bc1d32e9269"}
|
994
1043
|
Authenticating with gds_sso strategy
|
995
1044
|
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
996
1045
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
997
1046
|
[1m[35m (0.1ms)[0m commit transaction
|
998
|
-
[1m[36m (0.
|
999
|
-
[1m[35m (0.
|
1047
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1048
|
+
[1m[35m (0.0ms)[0m commit transaction
|
1000
1049
|
Redirected to http://www.example-client.com/restricted
|
1001
|
-
Completed 302 Found in
|
1002
|
-
Started GET "/restricted" for 127.0.0.1 at
|
1050
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
|
1051
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-06 08:54:31 +0000
|
1003
1052
|
Processing by ExampleController#restricted as HTML
|
1004
1053
|
[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"]]
|
1005
1054
|
Rendered text template (0.0ms)
|
1006
|
-
Completed 200 OK in
|
1007
|
-
Started GET "/restricted" for 127.0.0.1 at
|
1055
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
1056
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-07 04:59:31 +0000
|
1008
1057
|
Processing by ExampleController#restricted as HTML
|
1009
1058
|
Authenticating with gds_sso strategy
|
1010
1059
|
Completed in 1ms (ActiveRecord: 0.0ms)
|
1011
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
1012
|
-
Started GET "/
|
1013
|
-
Processing by ExampleController#restricted as HTML
|
1014
|
-
Authenticating with gds_sso strategy
|
1015
|
-
Completed in 0ms (ActiveRecord: 0.0ms)
|
1016
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2016-12-20 12:14:03 +0000
|
1017
|
-
Started GET "/auth/gds/callback?code=45976954b052808db424af8655041bfd5636b8ab31e88300a2bfc6e4af321335&state=e9b07ec972a760de7b8eae193c3258cb02d35379ba595005" for 127.0.0.1 at 2016-12-20 12:14:03 +0000
|
1060
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-07 04:59:31 +0000
|
1061
|
+
Started GET "/auth/gds/callback?code=9a65c8c0ba410618fbd8e816156a0dd4ec548236c58489114e887bfb64cf14f5&state=b6730b0f74200f05b1df840616470d013a054a066321079b" for 127.0.0.1 at 2017-12-07 04:59:31 +0000
|
1018
1062
|
Processing by AuthenticationsController#callback as HTML
|
1019
|
-
Parameters: {"code"=>"
|
1063
|
+
Parameters: {"code"=>"9a65c8c0ba410618fbd8e816156a0dd4ec548236c58489114e887bfb64cf14f5", "state"=>"b6730b0f74200f05b1df840616470d013a054a066321079b"}
|
1020
1064
|
Authenticating with gds_sso strategy
|
1021
1065
|
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
1022
1066
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1023
|
-
[1m[35m (0.
|
1067
|
+
[1m[35m (0.3ms)[0m commit transaction
|
1024
1068
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1025
1069
|
[1m[35m (0.1ms)[0m commit transaction
|
1026
1070
|
Redirected to http://www.example-client.com/restricted
|
1027
|
-
Completed 302 Found in 5ms (ActiveRecord: 0.
|
1028
|
-
Started GET "/restricted" for 127.0.0.1 at
|
1071
|
+
Completed 302 Found in 5ms (ActiveRecord: 0.6ms)
|
1072
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-07 04:59:31 +0000
|
1029
1073
|
Processing by ExampleController#restricted as HTML
|
1030
1074
|
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
|
1031
1075
|
Rendered text template (0.0ms)
|
1032
1076
|
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
1033
|
-
|
1034
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1035
|
-
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", "t"], ["id", 12]]
|
1036
|
-
[1m[36m (283.7ms)[0m [1mcommit transaction[0m
|
1037
|
-
Started GET "/restricted" for 127.0.0.1 at 2016-12-20 12:14:04 +0000
|
1077
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-06 08:54:31 +0000
|
1038
1078
|
Processing by ExampleController#restricted as HTML
|
1039
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
|
1040
1079
|
Authenticating with gds_sso strategy
|
1041
|
-
Completed in
|
1042
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
1043
|
-
Started GET "/auth/gds/callback?code=
|
1080
|
+
Completed in 0ms (ActiveRecord: 0.0ms)
|
1081
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-06 08:54:31 +0000
|
1082
|
+
Started GET "/auth/gds/callback?code=4ed177f109a09e5246d60c5382a239599bea253b0761b0612cc00d5abf35b5d3&state=55b1087d0480f5946bd16d642f95cf6cf4580fa732eed4c8" for 127.0.0.1 at 2017-12-06 08:54:32 +0000
|
1044
1083
|
Processing by AuthenticationsController#callback as HTML
|
1045
|
-
Parameters: {"code"=>"
|
1084
|
+
Parameters: {"code"=>"4ed177f109a09e5246d60c5382a239599bea253b0761b0612cc00d5abf35b5d3", "state"=>"55b1087d0480f5946bd16d642f95cf6cf4580fa732eed4c8"}
|
1046
1085
|
Authenticating with gds_sso strategy
|
1047
|
-
[1m[
|
1048
|
-
[1m[35m (0.1ms)[0m begin transaction
|
1049
|
-
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
1050
|
-
[1m[35m (0.1ms)[0m begin transaction
|
1051
|
-
[1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "f"], ["id", 12]]
|
1052
|
-
[1m[35m (109.5ms)[0m commit transaction
|
1053
|
-
Redirected to http://www.example-client.com/restricted
|
1054
|
-
Completed 302 Found in 115ms (ActiveRecord: 110.0ms)
|
1055
|
-
Started GET "/restricted" for 127.0.0.1 at 2016-12-20 12:14:04 +0000
|
1056
|
-
Processing by ExampleController#restricted as HTML
|
1057
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
|
1058
|
-
Rendered text template (0.0ms)
|
1059
|
-
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
1060
|
-
Started GET "/restricted" for 127.0.0.1 at 2016-12-20 12:14:04 +0000
|
1061
|
-
Processing by ExampleController#restricted as JSON
|
1062
|
-
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
1063
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1064
|
-
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "disabled" = ? WHERE "users"."id" = ? [["disabled", nil], ["id", 12]]
|
1065
|
-
[1m[36m (44.2ms)[0m [1mcommit transaction[0m
|
1066
|
-
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
1067
|
-
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
1068
|
-
[1m[35m (0.1ms)[0m commit transaction
|
1069
|
-
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
1070
|
-
[1m[35m (0.1ms)[0m begin transaction
|
1071
|
-
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
1072
|
-
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
1086
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
1073
1087
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1074
1088
|
[1m[35m (0.1ms)[0m commit transaction
|
1075
1089
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1076
1090
|
[1m[35m (0.1ms)[0m commit transaction
|
1091
|
+
Redirected to http://www.example-client.com/restricted
|
1092
|
+
Completed 302 Found in 5ms (ActiveRecord: 0.4ms)
|
1093
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-06 08:54:32 +0000
|
1094
|
+
Processing by ExampleController#restricted as HTML
|
1095
|
+
[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"]]
|
1077
1096
|
Rendered text template (0.0ms)
|
1078
|
-
Completed 200 OK in
|
1079
|
-
Started GET "/
|
1080
|
-
Processing by ExampleController#
|
1081
|
-
[1m[
|
1082
|
-
[1m[35m (0.1ms)[0m begin transaction
|
1083
|
-
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
1084
|
-
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
1085
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1086
|
-
[1m[35m (0.1ms)[0m commit transaction
|
1087
|
-
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
1088
|
-
[1m[35m (0.1ms)[0m begin transaction
|
1089
|
-
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
1090
|
-
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
1091
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1092
|
-
[1m[35m (0.1ms)[0m commit transaction
|
1093
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1094
|
-
[1m[35m (0.1ms)[0m commit transaction
|
1097
|
+
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
1098
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-07 04:49:32 +0000
|
1099
|
+
Processing by ExampleController#restricted as HTML
|
1100
|
+
[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"]]
|
1095
1101
|
Rendered text template (0.0ms)
|
1096
|
-
Completed 200 OK in
|
1097
|
-
|
1098
|
-
|
1099
|
-
Completed in 16ms (ActiveRecord: 0.0ms)
|
1100
|
-
Started GET "/restricted" for 127.0.0.1 at 2016-12-20 12:14:04 +0000
|
1101
|
-
Processing by ExampleController#restricted as JSON
|
1102
|
-
Completed in 16ms (ActiveRecord: 0.0ms)
|
1103
|
-
[1m[35m (62.8ms)[0m [1m[35mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar NOT NULL, "uid" varchar NOT NULL, "email" varchar NOT NULL, "remotely_signed_out" boolean, "permissions" text, "organisation_slug" varchar, "organisation_content_id" varchar, "disabled" boolean DEFAULT 'f')[0m
|
1104
|
-
[1m[35m (26.6ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
1105
|
-
[1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", :environment], ["LIMIT", 1]]
|
1106
|
-
[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", 2016-12-20 12:14:08 UTC], ["updated_at", 2016-12-20 12:14:08 UTC]]
|
1108
|
-
[1m[35m (48.2ms)[0m [1m[36mcommit transaction[0m
|
1109
|
-
[1m[35m (22.5ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
|
1102
|
+
Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
1103
|
+
[1m[35m (6.5ms)[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 (7.0ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
1110
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]]
|
1111
|
-
[1m[35m (0.
|
1112
|
-
[1m[
|
1113
|
-
[1m[35m (
|
1114
|
-
[1m[
|
1115
|
-
[1m[
|
1116
|
-
[1m[35m (0.
|
1117
|
-
[1m[
|
1118
|
-
|
1119
|
-
Processing by
|
1120
|
-
|
1121
|
-
|
1122
|
-
|
1123
|
-
|
1124
|
-
|
1125
|
-
Completed 200 OK in 22ms (ActiveRecord: 16.0ms)
|
1126
|
-
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
1127
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1128
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d36805"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
1129
|
-
[1m[35m (17.4ms)[0m [1m[36mcommit transaction[0m
|
1130
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1131
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d3981"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
1132
|
-
[1m[35m (14.4ms)[0m [1m[36mcommit transaction[0m
|
1133
|
-
Processing by Api::UserController#update as HTML
|
1134
|
-
Parameters: {"uid"=>"a1s2d36805"}
|
1135
|
-
Rendering /home/jenkins/workspace/govuk_gds_sso/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
|
1136
|
-
Rendered /home/jenkins/workspace/govuk_gds_sso/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.3ms)
|
1137
|
-
Completed 403 Forbidden in 9ms (Views: 8.6ms | ActiveRecord: 0.0ms)
|
1138
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1139
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d36327"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
1140
|
-
[1m[35m (15.0ms)[0m [1m[36mcommit transaction[0m
|
1141
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1142
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d31900"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
1143
|
-
[1m[35m (10.8ms)[0m [1m[36mcommit transaction[0m
|
1144
|
-
Processing by Api::UserController#reauth as HTML
|
1145
|
-
Parameters: {"uid"=>"a1s2d36327"}
|
1146
|
-
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "a1s2d36327"], ["LIMIT", 1]]
|
1147
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1148
|
-
[1m[35mSQL (0.2ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", true], ["id", 5]]
|
1149
|
-
[1m[35m (11.5ms)[0m [1m[36mcommit transaction[0m
|
1150
|
-
Completed 200 OK in 15ms (ActiveRecord: 11.8ms)
|
1151
|
-
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 5], ["LIMIT", 1]]
|
1152
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1153
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d31201"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
1154
|
-
[1m[35m (16.8ms)[0m [1m[36mcommit transaction[0m
|
1155
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1156
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d35356"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
1157
|
-
[1m[35m (55.4ms)[0m [1m[36mcommit transaction[0m
|
1158
|
-
Processing by Api::UserController#reauth as HTML
|
1159
|
-
Parameters: {"uid"=>"nonexistent-user"}
|
1160
|
-
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "nonexistent-user"], ["LIMIT", 1]]
|
1161
|
-
Completed 200 OK in 1ms (ActiveRecord: 0.1ms)
|
1162
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1163
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d35825"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
1164
|
-
[1m[35m (53.0ms)[0m [1m[36mcommit transaction[0m
|
1165
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1166
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d33840"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
1167
|
-
[1m[35m (12.5ms)[0m [1m[36mcommit transaction[0m
|
1168
|
-
Processing by Api::UserController#reauth as HTML
|
1169
|
-
Parameters: {"uid"=>"a1s2d35825"}
|
1170
|
-
Rendering /home/jenkins/workspace/govuk_gds_sso/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
|
1171
|
-
Rendered /home/jenkins/workspace/govuk_gds_sso/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.0ms)
|
1172
|
-
Completed 403 Forbidden in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
|
1173
|
-
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "asd"], ["LIMIT", 1]]
|
1174
|
-
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["email", "user@example.com"], ["LIMIT", 1]]
|
1175
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1176
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions", "organisation_slug", "organisation_content_id", "disabled") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["name", "A Name"], ["uid", "asd"], ["email", "user@example.com"], ["permissions", "---\n- signin\n"], ["organisation_slug", "hmrc"], ["organisation_content_id", "67a2b78d-eee3-45b3-80e2-792e7f71cecc"], ["disabled", nil]]
|
1177
|
-
[1m[35m (34.1ms)[0m [1m[36mcommit transaction[0m
|
1178
|
-
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "asd"], ["LIMIT", 1]]
|
1179
|
-
[1m[35m (0.1ms)[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 2016-12-20 12:14:09 +0000
|
1182
|
-
Processing by ExampleController#restricted as HTML
|
1106
|
+
[1m[35m (0.0ms)[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-06 08:54:37 UTC], ["updated_at", 2017-12-06 08:54:37 UTC]]
|
1108
|
+
[1m[35m (4.8ms)[0m [1m[36mcommit transaction[0m
|
1109
|
+
[1m[35m (5.6ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
|
1110
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", :environment], ["LIMIT", 1]]
|
1111
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1112
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1113
|
+
Started GET "/" for 127.0.0.1 at 2017-12-06 08:54:38 +0000
|
1114
|
+
Processing by ExampleController#index as HTML
|
1115
|
+
Rendering text template
|
1116
|
+
Rendered text template (0.0ms)
|
1117
|
+
Completed 200 OK in 3ms (Views: 2.9ms | ActiveRecord: 0.0ms)
|
1118
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2017-12-06 08:54:38 +0000
|
1119
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
1183
1120
|
Authenticating with gds_sso strategy
|
1184
|
-
Completed in
|
1185
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
1186
|
-
Started GET "/auth/gds/callback?code=
|
1121
|
+
Completed in 7ms (ActiveRecord: 0.0ms)
|
1122
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-06 08:54:38 +0000
|
1123
|
+
Started GET "/auth/gds/callback?code=ecce711fa71fa62a32f4949e13c5d95a996175394a9ce009fd89237ef56abc9a&state=70b7e114cbe86ce912b8eca4148ad07264e7d53370554173" for 127.0.0.1 at 2017-12-06 08:54:38 +0000
|
1187
1124
|
Processing by AuthenticationsController#callback as HTML
|
1188
|
-
Parameters: {"code"=>"
|
1125
|
+
Parameters: {"code"=>"ecce711fa71fa62a32f4949e13c5d95a996175394a9ce009fd89237ef56abc9a", "state"=>"70b7e114cbe86ce912b8eca4148ad07264e7d53370554173"}
|
1189
1126
|
Authenticating with gds_sso strategy
|
1190
|
-
[1m[36mUser Load (0.
|
1127
|
+
[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]]
|
1191
1128
|
[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]]
|
1192
1129
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1193
1130
|
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Test User"], ["uid", "integration-uid"], ["email", "test@example-client.com"], ["permissions", "---\n- signin\n"]]
|
1194
|
-
[1m[35m (
|
1195
|
-
[1m[35m (0.
|
1196
|
-
[1m[35mSQL (0.
|
1197
|
-
[1m[35m (
|
1198
|
-
Redirected to http://www.example-client.com/
|
1199
|
-
Completed 302 Found in
|
1200
|
-
Started GET "/
|
1201
|
-
Processing by ExampleController#
|
1202
|
-
[1m[36mUser Load (0.
|
1131
|
+
[1m[35m (5.3ms)[0m [1m[36mcommit transaction[0m
|
1132
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1133
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", false], ["id", 1]]
|
1134
|
+
[1m[35m (4.0ms)[0m [1m[36mcommit transaction[0m
|
1135
|
+
Redirected to http://www.example-client.com/this_requires_signin_permission
|
1136
|
+
Completed 302 Found in 24ms (ActiveRecord: 10.7ms)
|
1137
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2017-12-06 08:54:38 +0000
|
1138
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
1139
|
+
[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]]
|
1203
1140
|
Rendering text template
|
1204
1141
|
Rendered text template (0.0ms)
|
1205
|
-
Completed 200 OK in 3ms (Views:
|
1206
|
-
Started GET "/
|
1207
|
-
Processing by ExampleController#
|
1142
|
+
Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
1143
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2017-12-06 08:54:38 +0000
|
1144
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
1208
1145
|
Authenticating with gds_sso strategy
|
1209
1146
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
1210
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
1211
|
-
Started GET "/auth/gds/callback?code=
|
1147
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-06 08:54:38 +0000
|
1148
|
+
Started GET "/auth/gds/callback?code=5ea50e0ad74970b7d814e4a9b7fe006646aa56baaa8cfeaca11a326cd5ca8290&state=71c33085c55058a6fe23548ac060ecf384ecb8697a3dea10" for 127.0.0.1 at 2017-12-06 08:54:38 +0000
|
1212
1149
|
Processing by AuthenticationsController#callback as HTML
|
1213
|
-
Parameters: {"code"=>"
|
1150
|
+
Parameters: {"code"=>"5ea50e0ad74970b7d814e4a9b7fe006646aa56baaa8cfeaca11a326cd5ca8290", "state"=>"71c33085c55058a6fe23548ac060ecf384ecb8697a3dea10"}
|
1214
1151
|
Authenticating with gds_sso strategy
|
1215
|
-
[1m[36mUser Load (0.
|
1216
|
-
[1m[35m (0.
|
1217
|
-
[1m[35m (0.
|
1218
|
-
Redirected to http://www.example-client.com/
|
1219
|
-
Completed 302 Found in
|
1220
|
-
Started GET "/
|
1221
|
-
Processing by ExampleController#
|
1222
|
-
[1m[36mUser Load (0.
|
1152
|
+
[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]]
|
1153
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1154
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1155
|
+
Redirected to http://www.example-client.com/this_requires_signin_permission
|
1156
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.3ms)
|
1157
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2017-12-06 08:54:38 +0000
|
1158
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
1159
|
+
[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]]
|
1223
1160
|
Rendering text template
|
1224
1161
|
Rendered text template (0.0ms)
|
1225
|
-
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.
|
1226
|
-
Started GET "/restricted" for 127.0.0.1 at
|
1162
|
+
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
1163
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-06 08:54:38 +0000
|
1227
1164
|
Processing by ExampleController#restricted as HTML
|
1228
1165
|
Authenticating with gds_sso strategy
|
1229
1166
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
1230
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
1231
|
-
Started GET "/auth/gds/callback?code=
|
1167
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-06 08:54:38 +0000
|
1168
|
+
Started GET "/auth/gds/callback?code=9e024d663d4e126fe0efcef42a998d3622320a276f68a45206d12830bf0e672a&state=a8fd0f8c8e68bd570379f1a4b01d7623ab2351909ff554df" for 127.0.0.1 at 2017-12-06 08:54:38 +0000
|
1232
1169
|
Processing by AuthenticationsController#callback as HTML
|
1233
|
-
Parameters: {"code"=>"
|
1170
|
+
Parameters: {"code"=>"9e024d663d4e126fe0efcef42a998d3622320a276f68a45206d12830bf0e672a", "state"=>"a8fd0f8c8e68bd570379f1a4b01d7623ab2351909ff554df"}
|
1234
1171
|
Authenticating with gds_sso strategy
|
1235
1172
|
[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]]
|
1236
1173
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1237
|
-
[1m[35m (0.
|
1174
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1238
1175
|
Redirected to http://www.example-client.com/restricted
|
1239
|
-
Completed 302 Found in
|
1240
|
-
Started GET "/restricted" for 127.0.0.1 at
|
1176
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.3ms)
|
1177
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-06 08:54:38 +0000
|
1241
1178
|
Processing by ExampleController#restricted as HTML
|
1242
|
-
[1m[36mUser Load (0.
|
1179
|
+
[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]]
|
1243
1180
|
Rendering text template
|
1244
1181
|
Rendered text template (0.0ms)
|
1245
|
-
Completed 200 OK in
|
1246
|
-
Started GET "/
|
1247
|
-
Processing by ExampleController#
|
1182
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
1183
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-06 08:54:38 +0000
|
1184
|
+
Processing by ExampleController#restricted as HTML
|
1248
1185
|
Authenticating with gds_sso strategy
|
1249
1186
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
1250
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
1251
|
-
Started GET "/auth/gds/callback?code=
|
1187
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-06 08:54:38 +0000
|
1188
|
+
Started GET "/auth/gds/callback?code=5da380fa34a938130d617e58efd3957e649d0037ffcd1ce227cb51c4b26323a1&state=9cc3658787270323d8530718f65c4ebfbcaca1798c7a476c" for 127.0.0.1 at 2017-12-06 08:54:38 +0000
|
1252
1189
|
Processing by AuthenticationsController#callback as HTML
|
1253
|
-
Parameters: {"code"=>"
|
1190
|
+
Parameters: {"code"=>"5da380fa34a938130d617e58efd3957e649d0037ffcd1ce227cb51c4b26323a1", "state"=>"9cc3658787270323d8530718f65c4ebfbcaca1798c7a476c"}
|
1254
1191
|
Authenticating with gds_sso strategy
|
1255
|
-
[1m[36mUser Load (0.
|
1256
|
-
[1m[35m (0.
|
1257
|
-
[1m[35m (0.
|
1258
|
-
Redirected to http://www.example-client.com/
|
1259
|
-
Completed 302 Found in
|
1260
|
-
Started GET "/
|
1261
|
-
Processing by ExampleController#
|
1262
|
-
[1m[36mUser Load (0.
|
1192
|
+
[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]]
|
1193
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1194
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1195
|
+
Redirected to http://www.example-client.com/restricted
|
1196
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.3ms)
|
1197
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-06 08:54:38 +0000
|
1198
|
+
Processing by ExampleController#restricted as HTML
|
1199
|
+
[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]]
|
1263
1200
|
Rendering text template
|
1264
1201
|
Rendered text template (0.0ms)
|
1265
|
-
Completed 200 OK in
|
1266
|
-
Started GET "/
|
1267
|
-
Processing by ExampleController#
|
1202
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
1203
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-06 08:54:38 +0000
|
1204
|
+
Processing by ExampleController#restricted as HTML
|
1268
1205
|
Authenticating with gds_sso strategy
|
1269
1206
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
1270
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
1271
|
-
Started GET "/auth/gds/callback?code=
|
1207
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-06 08:54:38 +0000
|
1208
|
+
Started GET "/auth/gds/callback?code=51f91f91e126226b6888a82e607b624f12287d0ceffff12520230a158cba6443&state=72d85768007e3b832e79cdaed442c38989085de218a284f7" for 127.0.0.1 at 2017-12-06 08:54:39 +0000
|
1272
1209
|
Processing by AuthenticationsController#callback as HTML
|
1273
|
-
Parameters: {"code"=>"
|
1210
|
+
Parameters: {"code"=>"51f91f91e126226b6888a82e607b624f12287d0ceffff12520230a158cba6443", "state"=>"72d85768007e3b832e79cdaed442c38989085de218a284f7"}
|
1274
1211
|
Authenticating with gds_sso strategy
|
1275
1212
|
[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]]
|
1276
1213
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1277
|
-
[1m[35m (0.
|
1278
|
-
Redirected to http://www.example-client.com/
|
1279
|
-
Completed 302 Found in
|
1280
|
-
Started GET "/
|
1281
|
-
Processing by ExampleController#
|
1214
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1215
|
+
Redirected to http://www.example-client.com/restricted
|
1216
|
+
Completed 302 Found in 12ms (ActiveRecord: 0.4ms)
|
1217
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-06 08:54:39 +0000
|
1218
|
+
Processing by ExampleController#restricted as HTML
|
1282
1219
|
[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]]
|
1283
1220
|
Rendering text template
|
1284
1221
|
Rendered text template (0.0ms)
|
1285
|
-
Completed 200 OK in 2ms (Views: 0.
|
1286
|
-
Started GET "/" for 127.0.0.1 at
|
1287
|
-
Processing by ExampleController#index as HTML
|
1288
|
-
Rendering text template
|
1289
|
-
Rendered text template (0.0ms)
|
1290
|
-
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
1291
|
-
Started GET "/restricted" for 127.0.0.1 at 2016-12-20 12:14:10 +0000
|
1222
|
+
Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.2ms)
|
1223
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-06 08:54:39 +0000
|
1292
1224
|
Processing by ExampleController#restricted as HTML
|
1293
1225
|
Authenticating with gds_sso strategy
|
1294
1226
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
1295
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
1296
|
-
Started GET "/auth/gds/callback?code=
|
1227
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-06 08:54:39 +0000
|
1228
|
+
Started GET "/auth/gds/callback?code=9a6189e8017677683d460bde14d478d3128d7cb868e1274214addc5a54591d70&state=f1cf41a9c9c225d1c4365060aef27c16b9f3a31fbb7d013e" for 127.0.0.1 at 2017-12-06 08:54:39 +0000
|
1297
1229
|
Processing by AuthenticationsController#callback as HTML
|
1298
|
-
Parameters: {"code"=>"
|
1230
|
+
Parameters: {"code"=>"9a6189e8017677683d460bde14d478d3128d7cb868e1274214addc5a54591d70", "state"=>"f1cf41a9c9c225d1c4365060aef27c16b9f3a31fbb7d013e"}
|
1299
1231
|
Authenticating with gds_sso strategy
|
1300
1232
|
[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]]
|
1301
1233
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1302
|
-
[1m[35m (0.
|
1234
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1303
1235
|
Redirected to http://www.example-client.com/restricted
|
1304
|
-
Completed 302 Found in
|
1305
|
-
Started GET "/restricted" for 127.0.0.1 at
|
1236
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.4ms)
|
1237
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-06 08:54:39 +0000
|
1306
1238
|
Processing by ExampleController#restricted as HTML
|
1307
1239
|
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", false], ["LIMIT", 1]]
|
1308
1240
|
Rendering text template
|
1309
1241
|
Rendered text template (0.0ms)
|
1310
|
-
Completed 200 OK in
|
1242
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.2ms)
|
1311
1243
|
[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]]
|
1312
1244
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1313
|
-
[1m[35mSQL (0.
|
1314
|
-
[1m[35m (
|
1315
|
-
Started GET "/restricted" for 127.0.0.1 at
|
1245
|
+
[1m[35mSQL (0.2ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", true], ["id", 1]]
|
1246
|
+
[1m[35m (6.7ms)[0m [1m[36mcommit transaction[0m
|
1247
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-06 08:54:39 +0000
|
1316
1248
|
Processing by ExampleController#restricted as HTML
|
1317
1249
|
[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]]
|
1318
1250
|
Authenticating with gds_sso strategy
|
1319
|
-
Completed in
|
1320
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
1321
|
-
Started GET "/auth/gds/callback?code=
|
1251
|
+
Completed in 1ms (ActiveRecord: 0.2ms)
|
1252
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-06 08:54:39 +0000
|
1253
|
+
Started GET "/auth/gds/callback?code=008fa1e51096325347a010dc0b9173ed71bc78578812eb16023ff65ca565d160&state=5a941ec7b7ce02249b05c483396d86c0be0f83b37db4845e" for 127.0.0.1 at 2017-12-06 08:54:39 +0000
|
1322
1254
|
Processing by AuthenticationsController#callback as HTML
|
1323
|
-
Parameters: {"code"=>"
|
1255
|
+
Parameters: {"code"=>"008fa1e51096325347a010dc0b9173ed71bc78578812eb16023ff65ca565d160", "state"=>"5a941ec7b7ce02249b05c483396d86c0be0f83b37db4845e"}
|
1324
1256
|
Authenticating with gds_sso strategy
|
1325
1257
|
[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]]
|
1326
1258
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1327
|
-
[1m[35m (0.
|
1328
|
-
[1m[35m (0.
|
1329
|
-
[1m[35mSQL (0.2ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", false], ["id",
|
1330
|
-
[1m[35m (
|
1259
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1260
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1261
|
+
[1m[35mSQL (0.2ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", false], ["id", 1]]
|
1262
|
+
[1m[35m (6.1ms)[0m [1m[36mcommit transaction[0m
|
1331
1263
|
Redirected to http://www.example-client.com/restricted
|
1332
|
-
Completed 302 Found in
|
1333
|
-
Started GET "/restricted" for 127.0.0.1 at
|
1264
|
+
Completed 302 Found in 10ms (ActiveRecord: 6.6ms)
|
1265
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-06 08:54:39 +0000
|
1334
1266
|
Processing by ExampleController#restricted as HTML
|
1335
|
-
[1m[36mUser Load (0.
|
1267
|
+
[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]]
|
1336
1268
|
Rendering text template
|
1337
1269
|
Rendered text template (0.0ms)
|
1338
|
-
Completed 200 OK in
|
1339
|
-
Started GET "/restricted" for 127.0.0.1 at
|
1270
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.2ms)
|
1271
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-06 08:54:39 +0000
|
1340
1272
|
Processing by ExampleController#restricted as HTML
|
1341
1273
|
Authenticating with gds_sso strategy
|
1342
1274
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
1343
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
1344
|
-
Started GET "/auth/gds/callback?code=
|
1275
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-06 08:54:39 +0000
|
1276
|
+
Started GET "/auth/gds/callback?code=43953dc90e00a7712727361f7bfc46ace1c8511441f35219ad4d043a92cd3024&state=d695a2cb76cbc644cf5eb3ac2fbdc9992522029d089f52c3" for 127.0.0.1 at 2017-12-06 08:54:39 +0000
|
1345
1277
|
Processing by AuthenticationsController#callback as HTML
|
1346
|
-
Parameters: {"code"=>"
|
1278
|
+
Parameters: {"code"=>"43953dc90e00a7712727361f7bfc46ace1c8511441f35219ad4d043a92cd3024", "state"=>"d695a2cb76cbc644cf5eb3ac2fbdc9992522029d089f52c3"}
|
1347
1279
|
Authenticating with gds_sso strategy
|
1348
1280
|
[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]]
|
1349
1281
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1350
|
-
[1m[35m (0.
|
1282
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1351
1283
|
Redirected to http://www.example-client.com/restricted
|
1352
|
-
Completed 302 Found in
|
1353
|
-
Started GET "/restricted" for 127.0.0.1 at
|
1284
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.4ms)
|
1285
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-06 08:54:39 +0000
|
1354
1286
|
Processing by ExampleController#restricted as HTML
|
1355
|
-
[1m[36mUser Load (0.
|
1287
|
+
[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]]
|
1356
1288
|
Rendering text template
|
1357
1289
|
Rendered text template (0.0ms)
|
1358
|
-
Completed 200 OK in
|
1359
|
-
Started GET "/restricted" for 127.0.0.1 at
|
1290
|
+
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.2ms)
|
1291
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-07 04:49:39 +0000
|
1360
1292
|
Processing by ExampleController#restricted as HTML
|
1361
|
-
|
1362
|
-
|
1363
|
-
|
1364
|
-
|
1293
|
+
[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]]
|
1294
|
+
Rendering text template
|
1295
|
+
Rendered text template (0.0ms)
|
1296
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.2ms)
|
1297
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-06 08:54:39 +0000
|
1365
1298
|
Processing by ExampleController#restricted as HTML
|
1366
1299
|
Authenticating with gds_sso strategy
|
1367
1300
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
1368
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
1369
|
-
Started GET "/auth/gds/callback?code=
|
1301
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-06 08:54:39 +0000
|
1302
|
+
Started GET "/auth/gds/callback?code=aeeab323e3d4d8011dd31aca5e2b32143bdfd898fcfad56a9e4df3f9465db7c0&state=5c4b8ab4e726e80f1b700cdbd1768438ccc150be36d51a32" for 127.0.0.1 at 2017-12-06 08:54:40 +0000
|
1370
1303
|
Processing by AuthenticationsController#callback as HTML
|
1371
|
-
Parameters: {"code"=>"
|
1304
|
+
Parameters: {"code"=>"aeeab323e3d4d8011dd31aca5e2b32143bdfd898fcfad56a9e4df3f9465db7c0", "state"=>"5c4b8ab4e726e80f1b700cdbd1768438ccc150be36d51a32"}
|
1372
1305
|
Authenticating with gds_sso strategy
|
1373
1306
|
[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]]
|
1374
1307
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1375
|
-
[1m[35m (0.
|
1308
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1376
1309
|
Redirected to http://www.example-client.com/restricted
|
1377
|
-
Completed 302 Found in
|
1378
|
-
Started GET "/restricted" for 127.0.0.1 at
|
1310
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.4ms)
|
1311
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-06 08:54:40 +0000
|
1379
1312
|
Processing by ExampleController#restricted as HTML
|
1380
1313
|
[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]]
|
1381
1314
|
Rendering text template
|
1382
1315
|
Rendered text template (0.0ms)
|
1383
|
-
Completed 200 OK in 2ms (Views: 0.
|
1384
|
-
Started GET "/restricted" for 127.0.0.1 at
|
1316
|
+
Completed 200 OK in 2ms (Views: 0.5ms | ActiveRecord: 0.2ms)
|
1317
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-07 04:59:40 +0000
|
1385
1318
|
Processing by ExampleController#restricted as HTML
|
1386
1319
|
Authenticating with gds_sso strategy
|
1387
|
-
Completed in
|
1388
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
1389
|
-
Started GET "/auth/gds/callback?code=
|
1320
|
+
Completed in 0ms (ActiveRecord: 0.0ms)
|
1321
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-07 04:59:40 +0000
|
1322
|
+
Started GET "/auth/gds/callback?code=195a60f98c7e909540fa553fb292157036e9468265b565a2338c4f64068720bf&state=1f5d2c2bd81354a423d8f1b1edeeb6d3415bbdccb6c94148" for 127.0.0.1 at 2017-12-07 04:59:40 +0000
|
1390
1323
|
Processing by AuthenticationsController#callback as HTML
|
1391
|
-
Parameters: {"code"=>"
|
1324
|
+
Parameters: {"code"=>"195a60f98c7e909540fa553fb292157036e9468265b565a2338c4f64068720bf", "state"=>"1f5d2c2bd81354a423d8f1b1edeeb6d3415bbdccb6c94148"}
|
1392
1325
|
Authenticating with gds_sso strategy
|
1393
1326
|
[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]]
|
1394
1327
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1395
1328
|
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
1396
1329
|
Redirected to http://www.example-client.com/restricted
|
1397
|
-
Completed 302 Found in 4ms (ActiveRecord: 0.
|
1398
|
-
Started GET "/restricted" for 127.0.0.1 at
|
1330
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
|
1331
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-07 04:59:40 +0000
|
1399
1332
|
Processing by ExampleController#restricted as HTML
|
1400
|
-
[1m[36mUser Load (0.
|
1333
|
+
[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]]
|
1401
1334
|
Rendering text template
|
1402
1335
|
Rendered text template (0.0ms)
|
1403
|
-
Completed 200 OK in 2ms (Views: 0.
|
1404
|
-
Started GET "/restricted" for 127.0.0.1 at
|
1336
|
+
Completed 200 OK in 2ms (Views: 0.5ms | ActiveRecord: 0.2ms)
|
1337
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-06 08:54:40 +0000
|
1405
1338
|
Processing by ExampleController#restricted as HTML
|
1406
1339
|
Authenticating with gds_sso strategy
|
1407
1340
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
1408
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
1409
|
-
Started GET "/auth/gds/callback?code=
|
1341
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-06 08:54:40 +0000
|
1342
|
+
Started GET "/auth/gds/callback?code=23eb8a2ba9db5b905a5c0ccec25844c9c687e1d1e86af9cb91d866649e0112b2&state=e247c4ea9bd7ccd53705a58425f2496de072e658291be9ce" for 127.0.0.1 at 2017-12-06 08:54:40 +0000
|
1410
1343
|
Processing by AuthenticationsController#callback as HTML
|
1411
|
-
Parameters: {"code"=>"
|
1344
|
+
Parameters: {"code"=>"23eb8a2ba9db5b905a5c0ccec25844c9c687e1d1e86af9cb91d866649e0112b2", "state"=>"e247c4ea9bd7ccd53705a58425f2496de072e658291be9ce"}
|
1412
1345
|
Authenticating with gds_sso strategy
|
1413
|
-
[1m[36mUser Load (0.
|
1346
|
+
[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]]
|
1414
1347
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1415
|
-
[1m[35m (0.
|
1348
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1416
1349
|
Redirected to http://www.example-client.com/restricted
|
1417
|
-
Completed 302 Found in 4ms (ActiveRecord: 0.
|
1418
|
-
Started GET "/restricted" for 127.0.0.1 at
|
1350
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.5ms)
|
1351
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-06 08:54:40 +0000
|
1419
1352
|
Processing by ExampleController#restricted as HTML
|
1420
|
-
[1m[36mUser Load (0.
|
1353
|
+
[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]]
|
1421
1354
|
Rendering text template
|
1422
1355
|
Rendered text template (0.0ms)
|
1423
|
-
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.
|
1424
|
-
Started GET "/restricted" for 127.0.0.1 at
|
1356
|
+
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
1357
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-07 04:59:40 +0000
|
1425
1358
|
Processing by ExampleController#restricted as HTML
|
1426
|
-
|
1427
|
-
|
1428
|
-
|
1429
|
-
|
1430
|
-
Started GET "/restricted" for 127.0.0.1 at 2016-12-20 12:14:11 +0000
|
1359
|
+
Authenticating with gds_sso strategy
|
1360
|
+
Completed in 1ms (ActiveRecord: 0.0ms)
|
1361
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2017-12-07 04:59:40 +0000
|
1362
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-06 08:54:40 +0000
|
1431
1363
|
Processing by ExampleController#restricted as JSON
|
1432
|
-
Completed in
|
1433
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at
|
1364
|
+
Completed in 27ms (ActiveRecord: 0.0ms)
|
1365
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2017-12-06 08:54:40 +0000
|
1434
1366
|
Processing by ExampleController#this_requires_signin_permission as JSON
|
1435
|
-
[1m[36mUser Load (0.
|
1436
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1437
|
-
[1m[35mSQL (0.2ms)[0m [1m[33mUPDATE "users" SET "disabled" = ? WHERE "users"."id" = ?[0m [["disabled", nil], ["id", 12]]
|
1438
|
-
[1m[35m (14.7ms)[0m [1m[36mcommit transaction[0m
|
1439
|
-
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
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]]
|
1440
1368
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1441
|
-
[1m[
|
1369
|
+
[1m[35mSQL (0.2ms)[0m [1m[33mUPDATE "users" SET "disabled" = ? WHERE "users"."id" = ?[0m [["disabled", nil], ["id", 1]]
|
1370
|
+
[1m[35m (5.4ms)[0m [1m[36mcommit transaction[0m
|
1371
|
+
[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]]
|
1372
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1373
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1442
1374
|
[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]]
|
1443
|
-
[1m[35m (0.
|
1444
|
-
[1m[35m (0.
|
1375
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1376
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1445
1377
|
[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]]
|
1446
|
-
[1m[35m (0.
|
1447
|
-
[1m[35m (0.
|
1378
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1379
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1448
1380
|
Rendering text template
|
1449
1381
|
Rendered text template (0.0ms)
|
1450
|
-
Completed 200 OK in
|
1451
|
-
Started GET "/restricted" for 127.0.0.1 at
|
1382
|
+
Completed 200 OK in 74ms (Views: 0.3ms | ActiveRecord: 6.3ms)
|
1383
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-06 08:54:40 +0000
|
1452
1384
|
Processing by ExampleController#restricted as JSON
|
1453
|
-
[1m[36mUser Load (0.
|
1454
|
-
[1m[35m (0.
|
1455
|
-
[1m[35m (0.
|
1385
|
+
[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]]
|
1386
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1387
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1456
1388
|
[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]]
|
1457
|
-
[1m[35m (0.
|
1458
|
-
[1m[35m (0.
|
1389
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1390
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1459
1391
|
[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]]
|
1460
|
-
[1m[35m (0.
|
1461
|
-
[1m[35m (0.
|
1392
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1393
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1462
1394
|
[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]]
|
1463
|
-
[1m[35m (0.
|
1464
|
-
[1m[35m (0.
|
1395
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1396
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1465
1397
|
Rendering text template
|
1466
1398
|
Rendered text template (0.0ms)
|
1467
|
-
Completed 200 OK in
|
1468
|
-
Started GET "/restricted" for 127.0.0.1 at
|
1399
|
+
Completed 200 OK in 69ms (Views: 0.3ms | ActiveRecord: 0.6ms)
|
1400
|
+
Started GET "/restricted" for 127.0.0.1 at 2017-12-06 08:54:40 +0000
|
1469
1401
|
Processing by ExampleController#restricted as JSON
|
1470
|
-
Completed in
|
1402
|
+
Completed in 13ms (ActiveRecord: 0.0ms)
|
1403
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1404
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d33464"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
1405
|
+
[1m[35m (4.3ms)[0m [1m[36mcommit transaction[0m
|
1406
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1407
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d3490"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
1408
|
+
[1m[35m (6.6ms)[0m [1m[36mcommit transaction[0m
|
1409
|
+
Processing by Api::UserController#update as HTML
|
1410
|
+
Parameters: {"uid"=>"a1s2d33464"}
|
1411
|
+
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "a1s2d33464"], ["LIMIT", 1]]
|
1412
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1413
|
+
[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", 2]]
|
1414
|
+
[1m[35m (5.5ms)[0m [1m[36mcommit transaction[0m
|
1415
|
+
Completed 200 OK in 10ms (ActiveRecord: 5.9ms)
|
1416
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 2], ["LIMIT", 1]]
|
1417
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1418
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d37396"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
1419
|
+
[1m[35m (6.0ms)[0m [1m[36mcommit transaction[0m
|
1420
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1421
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d38255"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
1422
|
+
[1m[35m (4.6ms)[0m [1m[36mcommit transaction[0m
|
1423
|
+
Processing by Api::UserController#update as HTML
|
1424
|
+
Parameters: {"uid"=>"a1s2d37396"}
|
1425
|
+
Rendering /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
|
1426
|
+
Rendered /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.2ms)
|
1427
|
+
Completed 403 Forbidden in 8ms (Views: 7.5ms | ActiveRecord: 0.0ms)
|
1428
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1429
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d31760"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
1430
|
+
[1m[35m (4.9ms)[0m [1m[36mcommit transaction[0m
|
1431
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1432
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d34524"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
1433
|
+
[1m[35m (3.8ms)[0m [1m[36mcommit transaction[0m
|
1434
|
+
Processing by Api::UserController#reauth as HTML
|
1435
|
+
Parameters: {"uid"=>"a1s2d31760"}
|
1436
|
+
Rendering /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
|
1437
|
+
Rendered /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.0ms)
|
1438
|
+
Completed 403 Forbidden in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
|
1439
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1440
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d32935"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
1441
|
+
[1m[35m (4.0ms)[0m [1m[36mcommit transaction[0m
|
1442
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1443
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d36056"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
1444
|
+
[1m[35m (5.0ms)[0m [1m[36mcommit transaction[0m
|
1445
|
+
Processing by Api::UserController#reauth as HTML
|
1446
|
+
Parameters: {"uid"=>"nonexistent-user"}
|
1447
|
+
[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]]
|
1448
|
+
Completed 200 OK in 1ms (ActiveRecord: 0.1ms)
|
1449
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1450
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d37028"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
1451
|
+
[1m[35m (5.0ms)[0m [1m[36mcommit transaction[0m
|
1452
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1453
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d33244"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
1454
|
+
[1m[35m (5.3ms)[0m [1m[36mcommit transaction[0m
|
1455
|
+
Processing by Api::UserController#reauth as HTML
|
1456
|
+
Parameters: {"uid"=>"a1s2d37028"}
|
1457
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "a1s2d37028"], ["LIMIT", 1]]
|
1458
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1459
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", true], ["id", 10]]
|
1460
|
+
[1m[35m (5.2ms)[0m [1m[36mcommit transaction[0m
|
1461
|
+
Completed 200 OK in 8ms (ActiveRecord: 5.5ms)
|
1462
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 10], ["LIMIT", 1]]
|
1463
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "asd"], ["LIMIT", 1]]
|
1464
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["email", "user@example.com"], ["LIMIT", 1]]
|
1465
|
+
[1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
|
1466
|
+
[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]]
|
1467
|
+
[1m[35m (6.2ms)[0m [1m[36mcommit transaction[0m
|
1468
|
+
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "asd"], ["LIMIT", 1]]
|
1469
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1470
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|