gds-sso 14.1.0 → 15.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Rakefile +11 -6
- data/app/controllers/api/user_controller.rb +30 -28
- data/app/controllers/authentications_controller.rb +3 -5
- data/app/views/layouts/unauthorised.html.erb +1 -1
- data/config/routes.rb +6 -5
- data/lib/gds-sso.rb +24 -17
- data/lib/gds-sso/api_access.rb +1 -1
- data/lib/gds-sso/bearer_token.rb +24 -23
- data/lib/gds-sso/config.rb +13 -2
- data/lib/gds-sso/controller_methods.rb +5 -6
- data/lib/gds-sso/failure_app.rb +7 -7
- data/lib/gds-sso/lint/user_spec.rb +27 -28
- data/lib/gds-sso/lint/user_test.rb +28 -28
- data/lib/gds-sso/user.rb +13 -13
- data/lib/gds-sso/version.rb +1 -1
- data/lib/gds-sso/warden_config.rb +21 -31
- data/spec/controller/api_user_controller_spec.rb +40 -37
- data/spec/controller/controller_methods_spec.rb +28 -28
- data/spec/internal/app/assets/config/manifest.js +0 -0
- data/spec/internal/app/controllers/application_controller.rb +1 -1
- data/spec/internal/app/controllers/example_controller.rb +1 -2
- data/spec/internal/config/initializers/gds-sso.rb +2 -2
- data/spec/internal/config/routes.rb +5 -2
- data/spec/internal/config/storage.yml +3 -0
- data/spec/internal/db/combustion_test.sqlite +0 -0
- data/spec/internal/db/schema.rb +9 -5
- data/spec/internal/log/test.log +1048 -1114
- data/spec/requests/end_to_end_spec.rb +45 -46
- data/spec/spec_helper.rb +12 -13
- data/spec/support/signon_integration_helpers.rb +9 -7
- data/spec/support/timecop.rb +1 -1
- data/spec/unit/api_access_spec.rb +7 -7
- data/spec/unit/bearer_token_spec.rb +14 -15
- data/spec/unit/config_spec.rb +5 -5
- data/spec/unit/mock_bearer_token_spec.rb +4 -4
- data/spec/unit/session_serialisation_spec.rb +5 -5
- data/spec/unit/user_spec.rb +23 -24
- metadata +80 -63
File without changes
|
@@ -1,6 +1,5 @@
|
|
1
1
|
class ExampleController < ApplicationController
|
2
|
-
|
3
|
-
before_action :authenticate_user!, :only => [:restricted, :this_requires_signin_permission]
|
2
|
+
before_action :authenticate_user!, only: %i[restricted this_requires_signin_permission]
|
4
3
|
|
5
4
|
def index
|
6
5
|
render body: "jabberwocky"
|
@@ -1,5 +1,8 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
Rails.application.routes.draw do
|
2
|
-
|
3
|
-
|
4
|
+
# Add your own routes here, or remove this file if you don't have need for it.
|
5
|
+
root to: "example#index"
|
6
|
+
get "/restricted" => "example#restricted"
|
4
7
|
get "/this_requires_signin_permission" => "example#this_requires_signin_permission"
|
5
8
|
end
|
Binary file
|
data/spec/internal/db/schema.rb
CHANGED
@@ -1,12 +1,16 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
ActiveRecord::Schema.define do
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
t.string "
|
4
|
+
# Set up any tables you need to exist for your test suite that don't belong
|
5
|
+
# in migrations.
|
6
|
+
create_table "users", force: true do |t|
|
7
|
+
t.string "name", null: false
|
8
|
+
t.string "uid", null: false
|
9
|
+
t.string "email", null: false
|
6
10
|
t.boolean "remotely_signed_out"
|
7
11
|
t.text "permissions"
|
8
12
|
t.string "organisation_slug"
|
9
13
|
t.string "organisation_content_id"
|
10
|
-
t.boolean "disabled",
|
14
|
+
t.boolean "disabled", default: false
|
11
15
|
end
|
12
16
|
end
|
data/spec/internal/log/test.log
CHANGED
@@ -1,1204 +1,797 @@
|
|
1
|
-
[1m[36m (6.4ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar NOT NULL, "uid" varchar NOT NULL, "email" varchar NOT NULL, "remotely_signed_out" boolean, "permissions" text, "organisation_slug" varchar, "organisation_content_id" varchar, "disabled" boolean DEFAULT 'f') [0m
|
2
|
-
[1m[35m (3.8ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
3
|
-
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
4
|
-
[1m[35m (3.2ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
5
|
-
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "asd"]]
|
6
|
-
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "user@example.com"]]
|
7
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
8
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions", "organisation_slug", "organisation_content_id", "disabled") VALUES (?, ?, ?, ?, ?, ?, ?) [["uid", "asd"], ["email", "user@example.com"], ["name", "A Name"], ["permissions", "---\n- signin\n"], ["organisation_slug", "hmrc"], ["organisation_content_id", "67a2b78d-eee3-45b3-80e2-792e7f71cecc"], ["disabled", nil]]
|
9
|
-
[1m[36m (6.1ms)[0m [1mcommit transaction[0m
|
10
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "asd"]]
|
11
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
12
|
-
[1m[35m (0.1ms)[0m commit transaction
|
13
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-07-18 13:19:54 +0000
|
14
|
-
Processing by ExampleController#restricted as HTML
|
15
|
-
Authenticating with gds_sso strategy
|
16
|
-
Completed in 8ms (ActiveRecord: 0.0ms)
|
17
|
-
Started GET "/" for 127.0.0.1 at 2019-07-18 13:19:54 +0000
|
18
|
-
Processing by ExampleController#index as HTML
|
19
|
-
Rendered text template (0.0ms)
|
20
|
-
Completed 200 OK in 8ms (Views: 7.6ms | ActiveRecord: 0.0ms)
|
21
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-07-18 13:19:55 +0000
|
22
|
-
Processing by ExampleController#restricted as HTML
|
23
|
-
Authenticating with gds_sso strategy
|
24
|
-
Completed in 0ms (ActiveRecord: 0.0ms)
|
25
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2019-07-18 13:19:55 +0000
|
26
|
-
Started GET "/auth/gds/callback?code=8d7e5bdfd9a69d1b2ca7791874d376db4ba73d99388bd26d4095863911902802&state=b87daedd52b66dd90c1e9fba1f68f4c9e733457ea90cb7af" for 127.0.0.1 at 2019-07-18 13:20:40 +0000
|
27
|
-
Processing by AuthenticationsController#callback as HTML
|
28
|
-
Parameters: {"code"=>"8d7e5bdfd9a69d1b2ca7791874d376db4ba73d99388bd26d4095863911902802", "state"=>"b87daedd52b66dd90c1e9fba1f68f4c9e733457ea90cb7af"}
|
29
|
-
Authenticating with gds_sso strategy
|
30
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
31
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "test@example-client.com"]]
|
32
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
33
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "integration-uid"], ["email", "test@example-client.com"], ["name", "Test User"], ["permissions", "---\n- signin\n"]]
|
34
|
-
[1m[36m (30.1ms)[0m [1mcommit transaction[0m
|
35
|
-
[1m[35m (0.1ms)[0m begin transaction
|
36
|
-
[1m[36mSQL (0.3ms)[0m [1mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "f"], ["id", 2]]
|
37
|
-
[1m[35m (5.9ms)[0m commit transaction
|
38
|
-
Redirected to http://www.example-client.com/restricted
|
39
|
-
Completed 302 Found in 43ms (ActiveRecord: 36.9ms)
|
40
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-07-18 13:20:40 +0000
|
41
|
-
Processing by ExampleController#restricted as HTML
|
42
|
-
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
|
43
|
-
Rendered text template (0.0ms)
|
44
|
-
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.2ms)
|
45
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-07-18 13:20:40 +0000
|
46
|
-
Processing by ExampleController#restricted as HTML
|
47
|
-
Authenticating with gds_sso strategy
|
48
|
-
Completed in 0ms (ActiveRecord: 0.0ms)
|
49
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2019-07-18 13:20:40 +0000
|
50
|
-
Started GET "/auth/gds/callback?code=ab6dcfcbd97d5ef13dd49c8e273ed75e940b4fdc9ab056b748dd0044582581b4&state=b66b3599d42e68ddc5b152dead114350292e0451510c8671" for 127.0.0.1 at 2019-07-18 13:20:40 +0000
|
51
|
-
Processing by AuthenticationsController#callback as HTML
|
52
|
-
Parameters: {"code"=>"ab6dcfcbd97d5ef13dd49c8e273ed75e940b4fdc9ab056b748dd0044582581b4", "state"=>"b66b3599d42e68ddc5b152dead114350292e0451510c8671"}
|
53
|
-
Authenticating with gds_sso strategy
|
54
|
-
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
55
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
56
|
-
[1m[35m (0.1ms)[0m commit transaction
|
57
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
58
|
-
[1m[35m (0.1ms)[0m commit transaction
|
59
|
-
Redirected to http://www.example-client.com/restricted
|
60
|
-
Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
|
61
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-07-18 13:20:40 +0000
|
62
|
-
Processing by ExampleController#restricted as HTML
|
63
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
|
64
|
-
Rendered text template (0.0ms)
|
65
|
-
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
66
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-07-18 13:20:40 +0000
|
67
|
-
Processing by ExampleController#restricted as HTML
|
68
|
-
Authenticating with gds_sso strategy
|
69
|
-
Completed in 0ms (ActiveRecord: 0.0ms)
|
70
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2019-07-18 13:20:40 +0000
|
71
|
-
Started GET "/auth/gds/callback?code=5ebe1a25850e1b13ffe39d6f4f42d5e9404071ca07c03b8411b039c1f41a437c&state=9e0d0d1a401d8f68b76e12fee88df6e0f3a03abb71b09651" for 127.0.0.1 at 2019-07-18 13:20:40 +0000
|
72
|
-
Processing by AuthenticationsController#callback as HTML
|
73
|
-
Parameters: {"code"=>"5ebe1a25850e1b13ffe39d6f4f42d5e9404071ca07c03b8411b039c1f41a437c", "state"=>"9e0d0d1a401d8f68b76e12fee88df6e0f3a03abb71b09651"}
|
74
|
-
Authenticating with gds_sso strategy
|
75
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
76
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
77
|
-
[1m[35m (0.0ms)[0m commit transaction
|
78
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
79
|
-
[1m[35m (0.1ms)[0m commit transaction
|
80
|
-
Redirected to http://www.example-client.com/restricted
|
81
|
-
Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
|
82
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-07-18 13:20:40 +0000
|
83
|
-
Processing by ExampleController#restricted as HTML
|
84
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
|
85
|
-
Rendered text template (0.0ms)
|
86
|
-
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
87
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2019-07-18 13:20:40 +0000
|
88
|
-
Processing by ExampleController#this_requires_signin_permission as HTML
|
89
|
-
Authenticating with gds_sso strategy
|
90
|
-
Completed in 0ms (ActiveRecord: 0.0ms)
|
91
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2019-07-18 13:20:40 +0000
|
92
|
-
Started GET "/auth/gds/callback?code=0d79451222bd557300d6952c85ee1279b69115c513d8c27a809804062e95c2ce&state=8b3f70c4ee8757a986854cdf06e25ac2f1af95e689d99e69" for 127.0.0.1 at 2019-07-18 13:20:41 +0000
|
93
|
-
Processing by AuthenticationsController#callback as HTML
|
94
|
-
Parameters: {"code"=>"0d79451222bd557300d6952c85ee1279b69115c513d8c27a809804062e95c2ce", "state"=>"8b3f70c4ee8757a986854cdf06e25ac2f1af95e689d99e69"}
|
95
|
-
Authenticating with gds_sso strategy
|
96
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
97
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
98
|
-
[1m[35m (0.1ms)[0m commit transaction
|
99
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
100
|
-
[1m[35m (0.1ms)[0m commit transaction
|
101
|
-
Redirected to http://www.example-client.com/this_requires_signin_permission
|
102
|
-
Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
|
103
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2019-07-18 13:20:41 +0000
|
104
|
-
Processing by ExampleController#this_requires_signin_permission as HTML
|
105
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
|
106
|
-
Rendered text template (0.0ms)
|
107
|
-
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
108
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2019-07-18 13:20:41 +0000
|
109
|
-
Processing by ExampleController#this_requires_signin_permission as HTML
|
110
|
-
Authenticating with gds_sso strategy
|
111
|
-
Completed in 0ms (ActiveRecord: 0.0ms)
|
112
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2019-07-18 13:20:41 +0000
|
113
|
-
Started GET "/auth/gds/callback?code=57ae25ed1ee0b62331844920110cd61ec92bd9c9bc826b03c730745e444a1335&state=dc06bae45b15ee9a126f23c3d01c25295a0b1f66bede43cf" for 127.0.0.1 at 2019-07-18 13:20:41 +0000
|
114
|
-
Processing by AuthenticationsController#callback as HTML
|
115
|
-
Parameters: {"code"=>"57ae25ed1ee0b62331844920110cd61ec92bd9c9bc826b03c730745e444a1335", "state"=>"dc06bae45b15ee9a126f23c3d01c25295a0b1f66bede43cf"}
|
116
|
-
Authenticating with gds_sso strategy
|
117
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
118
|
-
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
119
|
-
[1m[35m (0.0ms)[0m commit transaction
|
120
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
121
|
-
[1m[35m (0.1ms)[0m commit transaction
|
122
|
-
Redirected to http://www.example-client.com/this_requires_signin_permission
|
123
|
-
Completed 302 Found in 4ms (ActiveRecord: 0.5ms)
|
124
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2019-07-18 13:20:41 +0000
|
125
|
-
Processing by ExampleController#this_requires_signin_permission as HTML
|
126
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
|
127
|
-
Rendered text template (0.0ms)
|
128
|
-
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
129
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-07-18 13:20:41 +0000
|
130
|
-
Processing by ExampleController#restricted as HTML
|
131
|
-
Authenticating with gds_sso strategy
|
132
|
-
Completed in 0ms (ActiveRecord: 0.0ms)
|
133
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2019-07-18 13:20:41 +0000
|
134
|
-
Started GET "/auth/gds/callback?code=784118b583090d76be49442132dcb408f1e9129c11b3089ca64dc12ed916541d&state=1846de528ec034693a26abe983d29e72c6c0105c5081efde" for 127.0.0.1 at 2019-07-18 13:20:41 +0000
|
135
|
-
Processing by AuthenticationsController#callback as HTML
|
136
|
-
Parameters: {"code"=>"784118b583090d76be49442132dcb408f1e9129c11b3089ca64dc12ed916541d", "state"=>"1846de528ec034693a26abe983d29e72c6c0105c5081efde"}
|
137
|
-
Authenticating with gds_sso strategy
|
138
|
-
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
139
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
140
|
-
[1m[35m (0.1ms)[0m commit transaction
|
141
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
142
|
-
[1m[35m (0.0ms)[0m commit transaction
|
143
|
-
Redirected to http://www.example-client.com/restricted
|
144
|
-
Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
|
145
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-07-18 13:20:41 +0000
|
146
|
-
Processing by ExampleController#restricted as HTML
|
147
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
|
148
|
-
Rendered text template (0.0ms)
|
149
|
-
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
150
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "test@example-client.com"]]
|
151
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
152
|
-
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", "t"], ["id", 2]]
|
153
|
-
[1m[36m (26.6ms)[0m [1mcommit transaction[0m
|
154
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-07-18 13:20:41 +0000
|
155
|
-
Processing by ExampleController#restricted as HTML
|
156
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
|
157
|
-
Authenticating with gds_sso strategy
|
158
|
-
Completed in 1ms (ActiveRecord: 0.1ms)
|
159
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2019-07-18 13:20:41 +0000
|
160
|
-
Started GET "/auth/gds/callback?code=a189adc1df385a1a79f4de65e99268e5cebb68292ae3260303d9dadb75cfc267&state=6aa33b5023a58c9089a85e7644b9252d44a1d1908f2bf0d6" for 127.0.0.1 at 2019-07-18 13:20:41 +0000
|
161
|
-
Processing by AuthenticationsController#callback as HTML
|
162
|
-
Parameters: {"code"=>"a189adc1df385a1a79f4de65e99268e5cebb68292ae3260303d9dadb75cfc267", "state"=>"6aa33b5023a58c9089a85e7644b9252d44a1d1908f2bf0d6"}
|
163
|
-
Authenticating with gds_sso strategy
|
164
|
-
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
165
|
-
[1m[35m (0.1ms)[0m begin transaction
|
166
|
-
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
167
|
-
[1m[35m (0.0ms)[0m begin transaction
|
168
|
-
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "f"], ["id", 2]]
|
169
|
-
[1m[35m (85.9ms)[0m commit transaction
|
170
|
-
Redirected to http://www.example-client.com/restricted
|
171
|
-
Completed 302 Found in 91ms (ActiveRecord: 86.4ms)
|
172
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-07-18 13:20:41 +0000
|
173
|
-
Processing by ExampleController#restricted as HTML
|
174
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
|
175
|
-
Rendered text template (0.0ms)
|
176
|
-
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
177
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-07-18 13:20:41 +0000
|
178
|
-
Processing by ExampleController#restricted as HTML
|
179
|
-
Authenticating with gds_sso strategy
|
180
|
-
Completed in 0ms (ActiveRecord: 0.0ms)
|
181
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2019-07-18 13:20:41 +0000
|
182
|
-
Started GET "/auth/gds/callback?code=592bfd178a8308a0f8a705fd0f2b90e8b7f6fa1859d298c409edd939c67fc879&state=2b0daf05e92b8f209d308044afe46f9bd341310b25e2c142" for 127.0.0.1 at 2019-07-18 13:20:42 +0000
|
183
|
-
Processing by AuthenticationsController#callback as HTML
|
184
|
-
Parameters: {"code"=>"592bfd178a8308a0f8a705fd0f2b90e8b7f6fa1859d298c409edd939c67fc879", "state"=>"2b0daf05e92b8f209d308044afe46f9bd341310b25e2c142"}
|
185
|
-
Authenticating with gds_sso strategy
|
186
|
-
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
187
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
188
|
-
[1m[35m (0.0ms)[0m commit transaction
|
189
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
190
|
-
[1m[35m (0.0ms)[0m commit transaction
|
191
|
-
Redirected to http://www.example-client.com/restricted
|
192
|
-
Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
|
193
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-07-18 13:20:42 +0000
|
194
|
-
Processing by ExampleController#restricted as HTML
|
195
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
|
196
|
-
Rendered text template (0.0ms)
|
197
|
-
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
198
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-07-19 09:25:42 +0000
|
199
|
-
Processing by ExampleController#restricted as HTML
|
200
|
-
Authenticating with gds_sso strategy
|
201
|
-
Completed in 1ms (ActiveRecord: 0.0ms)
|
202
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2019-07-19 09:25:42 +0000
|
203
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-07-18 13:20:42 +0000
|
204
|
-
Processing by ExampleController#restricted as HTML
|
205
|
-
Authenticating with gds_sso strategy
|
206
|
-
Completed in 0ms (ActiveRecord: 0.0ms)
|
207
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2019-07-18 13:20:42 +0000
|
208
|
-
Started GET "/auth/gds/callback?code=7111ec79675d5bb4bdb3ceb6f938c6a57123044030c297e2d51686e8a0c808d3&state=216200e7750683bffb550477564c990af5836c0899fd389e" for 127.0.0.1 at 2019-07-18 13:20:42 +0000
|
209
|
-
Processing by AuthenticationsController#callback as HTML
|
210
|
-
Parameters: {"code"=>"7111ec79675d5bb4bdb3ceb6f938c6a57123044030c297e2d51686e8a0c808d3", "state"=>"216200e7750683bffb550477564c990af5836c0899fd389e"}
|
211
|
-
Authenticating with gds_sso strategy
|
212
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
213
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
214
|
-
[1m[35m (0.1ms)[0m commit transaction
|
215
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
216
|
-
[1m[35m (0.1ms)[0m commit transaction
|
217
|
-
Redirected to http://www.example-client.com/restricted
|
218
|
-
Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
|
219
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-07-18 13:20:42 +0000
|
220
|
-
Processing by ExampleController#restricted as HTML
|
221
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
|
222
|
-
Rendered text template (0.0ms)
|
223
|
-
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
224
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-07-19 09:15:42 +0000
|
225
|
-
Processing by ExampleController#restricted as HTML
|
226
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
|
227
|
-
Rendered text template (0.1ms)
|
228
|
-
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
229
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-07-18 13:20:42 +0000
|
230
|
-
Processing by ExampleController#restricted as HTML
|
231
|
-
Authenticating with gds_sso strategy
|
232
|
-
Completed in 0ms (ActiveRecord: 0.0ms)
|
233
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2019-07-18 13:20:42 +0000
|
234
|
-
Started GET "/auth/gds/callback?code=f85feda8636fbaef2971fb12f5e4319c098feae537b7a0a24abefd4e35f2d624&state=3de3d1c0576fd8df13d4437203dc72d3dab7107fc87e1bb9" for 127.0.0.1 at 2019-07-18 13:20:42 +0000
|
235
|
-
Processing by AuthenticationsController#callback as HTML
|
236
|
-
Parameters: {"code"=>"f85feda8636fbaef2971fb12f5e4319c098feae537b7a0a24abefd4e35f2d624", "state"=>"3de3d1c0576fd8df13d4437203dc72d3dab7107fc87e1bb9"}
|
237
|
-
Authenticating with gds_sso strategy
|
238
|
-
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
239
|
-
[1m[35m (0.1ms)[0m begin transaction
|
240
|
-
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
241
|
-
[1m[35m (0.0ms)[0m begin transaction
|
242
|
-
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
243
|
-
Redirected to http://www.example-client.com/restricted
|
244
|
-
Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
|
245
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-07-18 13:20:42 +0000
|
246
|
-
Processing by ExampleController#restricted as HTML
|
247
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
|
248
|
-
Rendered text template (0.0ms)
|
249
|
-
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
250
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-07-19 09:25:42 +0000
|
251
|
-
Processing by ExampleController#restricted as HTML
|
252
|
-
Authenticating with gds_sso strategy
|
253
|
-
Completed in 1ms (ActiveRecord: 0.0ms)
|
254
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2019-07-19 09:25:42 +0000
|
255
|
-
Started GET "/auth/gds/callback?code=e8d44a09bf41edf3e448713122ec214cf2718a2a0f0011a30753966bcb8daf74&state=35b5dd0527e23f7f94b4434871a1088b5582e022c39bcb4a" for 127.0.0.1 at 2019-07-19 09:25:42 +0000
|
256
|
-
Processing by AuthenticationsController#callback as HTML
|
257
|
-
Parameters: {"code"=>"e8d44a09bf41edf3e448713122ec214cf2718a2a0f0011a30753966bcb8daf74", "state"=>"35b5dd0527e23f7f94b4434871a1088b5582e022c39bcb4a"}
|
258
|
-
Authenticating with gds_sso strategy
|
259
|
-
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
260
|
-
[1m[35m (0.1ms)[0m begin transaction
|
261
|
-
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
262
|
-
[1m[35m (0.1ms)[0m begin transaction
|
263
|
-
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
264
|
-
Redirected to http://www.example-client.com/restricted
|
265
|
-
Completed 302 Found in 5ms (ActiveRecord: 0.5ms)
|
266
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-07-19 09:25:42 +0000
|
267
|
-
Processing by ExampleController#restricted as HTML
|
268
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
|
269
|
-
Rendered text template (0.0ms)
|
270
|
-
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
271
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-07-18 13:20:42 +0000
|
272
|
-
Processing by ExampleController#restricted as JSON
|
273
|
-
Completed in 14ms (ActiveRecord: 0.0ms)
|
274
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-07-18 13:20:42 +0000
|
275
|
-
Processing by ExampleController#restricted as JSON
|
276
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
277
|
-
[1m[35m (0.1ms)[0m begin transaction
|
278
|
-
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "disabled" = ? WHERE "users"."id" = ?[0m [["disabled", nil], ["id", 2]]
|
279
|
-
[1m[35m (5.4ms)[0m commit transaction
|
280
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
281
|
-
[1m[35m (0.1ms)[0m begin transaction
|
282
|
-
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
283
|
-
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
284
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
285
|
-
[1m[35m (0.0ms)[0m commit transaction
|
286
|
-
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
287
|
-
[1m[35m (0.1ms)[0m begin transaction
|
288
|
-
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
289
|
-
[1m[35m (0.0ms)[0m begin transaction
|
290
|
-
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
291
|
-
Rendered text template (0.0ms)
|
292
|
-
Completed 200 OK in 65ms (Views: 0.3ms | ActiveRecord: 6.4ms)
|
293
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2019-07-18 13:20:42 +0000
|
294
|
-
Processing by ExampleController#this_requires_signin_permission as JSON
|
295
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
296
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
297
|
-
[1m[35m (0.0ms)[0m commit transaction
|
298
|
-
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
299
|
-
[1m[35m (0.0ms)[0m begin transaction
|
300
|
-
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
301
|
-
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
302
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
303
|
-
[1m[35m (0.0ms)[0m commit transaction
|
304
|
-
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
305
|
-
[1m[35m (0.1ms)[0m begin transaction
|
306
|
-
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
307
|
-
[1m[35m (0.0ms)[0m begin transaction
|
308
|
-
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
309
|
-
Rendered text template (0.0ms)
|
310
|
-
Completed 200 OK in 56ms (Views: 0.3ms | ActiveRecord: 0.7ms)
|
311
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-07-18 13:20:42 +0000
|
312
|
-
Processing by ExampleController#restricted as JSON
|
313
|
-
Completed in 20ms (ActiveRecord: 0.0ms)
|
314
|
-
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "dummyapiuser@domain.com"]]
|
315
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
316
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("email", "uid", "name", "permissions") VALUES (?, ?, ?, ?) [["email", "dummyapiuser@domain.com"], ["uid", "8602"], ["name", "Dummy API user created by gds-sso"], ["permissions", "---\n- signin\n"]]
|
317
|
-
[1m[36m (13.6ms)[0m [1mcommit transaction[0m
|
318
|
-
[1m[35m (0.1ms)[0m begin transaction
|
319
|
-
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = ?[0m [["permissions", "---\n- signin\n- extra_permission\n"], ["id", 3]]
|
320
|
-
[1m[35m (4.7ms)[0m commit transaction
|
321
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
322
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d34463"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
|
323
|
-
[1m[36m (6.0ms)[0m [1mcommit transaction[0m
|
324
|
-
[1m[35m (0.0ms)[0m begin transaction
|
325
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["uid", "a1s2d38090"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
326
|
-
[1m[35m (5.0ms)[0m commit transaction
|
327
|
-
Processing by Api::UserController#update as HTML
|
328
|
-
Parameters: {"uid"=>"a1s2d34463"}
|
329
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "a1s2d34463"]]
|
330
|
-
[1m[35m (0.0ms)[0m begin transaction
|
331
|
-
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "email" = ?, "name" = ?, "permissions" = ?, "organisation_slug" = ?, "organisation_content_id" = ? WHERE "users"."id" = ?[0m [["email", "user@domain.com"], ["name", "Joshua Marshall"], ["permissions", "---\n- signin\n- new permission\n"], ["organisation_slug", "justice-league"], ["organisation_content_id", "aae1319e-5788-4677-998c-f1a53af528d0"], ["id", 4]]
|
332
|
-
[1m[35m (4.4ms)[0m commit transaction
|
333
|
-
Completed 200 OK in 8ms (ActiveRecord: 4.8ms)
|
334
|
-
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 4]]
|
335
|
-
[1m[35m (0.0ms)[0m begin transaction
|
336
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["uid", "a1s2d39485"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
|
337
|
-
[1m[35m (4.8ms)[0m commit transaction
|
338
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
339
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d36642"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
340
|
-
[1m[36m (5.6ms)[0m [1mcommit transaction[0m
|
341
|
-
Processing by Api::UserController#update as HTML
|
342
|
-
Parameters: {"uid"=>"a1s2d39485"}
|
343
|
-
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
344
|
-
Rendered /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.2ms)
|
345
|
-
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
346
|
-
Completed 403 Forbidden in 8ms (Views: 7.5ms | ActiveRecord: 0.0ms)
|
347
|
-
[1m[35m (0.0ms)[0m begin transaction
|
348
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["uid", "a1s2d3420"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
|
349
|
-
[1m[35m (4.2ms)[0m commit transaction
|
350
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
351
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d39997"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
352
|
-
[1m[36m (4.8ms)[0m [1mcommit transaction[0m
|
353
|
-
Processing by Api::UserController#reauth as HTML
|
354
|
-
Parameters: {"uid"=>"a1s2d3420"}
|
355
|
-
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
356
|
-
Rendered /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.3ms)
|
357
|
-
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
358
|
-
Completed 403 Forbidden in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)
|
359
|
-
[1m[35m (0.0ms)[0m begin transaction
|
360
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["uid", "a1s2d35084"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
|
361
|
-
[1m[35m (3.4ms)[0m commit transaction
|
362
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
363
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d39027"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
364
|
-
[1m[36m (3.3ms)[0m [1mcommit transaction[0m
|
365
|
-
Processing by Api::UserController#reauth as HTML
|
366
|
-
Parameters: {"uid"=>"nonexistent-user"}
|
367
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "nonexistent-user"]]
|
368
|
-
Completed 200 OK in 1ms (ActiveRecord: 0.1ms)
|
369
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
370
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d33305"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
|
371
|
-
[1m[36m (6.0ms)[0m [1mcommit transaction[0m
|
372
|
-
[1m[35m (0.0ms)[0m begin transaction
|
373
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["uid", "a1s2d39773"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
374
|
-
[1m[35m (6.5ms)[0m commit transaction
|
375
|
-
Processing by Api::UserController#reauth as HTML
|
376
|
-
Parameters: {"uid"=>"a1s2d33305"}
|
377
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "a1s2d33305"]]
|
378
|
-
[1m[35m (0.0ms)[0m begin transaction
|
379
|
-
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "t"], ["id", 12]]
|
380
|
-
[1m[35m (4.3ms)[0m commit transaction
|
381
|
-
Completed 200 OK in 7ms (ActiveRecord: 4.7ms)
|
382
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 12]]
|
383
1
|
[1m[35m (0.1ms)[0m [1m[35mDROP TABLE IF EXISTS "users"[0m
|
384
|
-
[1m[35m (1.
|
385
|
-
[1m[35m (
|
386
|
-
[1m[35m (
|
2
|
+
[1m[35m (1.1ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
3
|
+
[1m[35m (6.0ms)[0m [1m[35mCREATE TABLE "users" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar NOT NULL, "uid" varchar NOT NULL, "email" varchar NOT NULL, "remotely_signed_out" boolean, "permissions" text, "organisation_slug" varchar, "organisation_content_id" varchar, "disabled" boolean DEFAULT 'f')[0m
|
4
|
+
[1m[35m (5.4ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
387
5
|
[1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
388
6
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
389
|
-
[1m[36mActiveRecord::InternalMetadata Create (0.
|
390
|
-
[1m[35m (
|
391
|
-
[1m[35m (
|
7
|
+
[1m[36mActiveRecord::InternalMetadata Create (0.3ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "environment"], ["value", "test"], ["created_at", "2020-07-28 10:10:58.659218"], ["updated_at", "2020-07-28 10:10:58.659218"]]
|
8
|
+
[1m[35m (5.4ms)[0m [1m[36mcommit transaction[0m
|
9
|
+
[1m[35m (4.2ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
|
392
10
|
[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]]
|
393
11
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
394
|
-
[1m[35m (0.
|
12
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
395
13
|
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "asd"], ["LIMIT", 1]]
|
396
|
-
[1m[36mUser Load (0.
|
397
|
-
[1m[35m (0.
|
14
|
+
[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]]
|
15
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
398
16
|
[1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions", "organisation_slug", "organisation_content_id", "disabled") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["name", "A Name"], ["uid", "asd"], ["email", "user@example.com"], ["permissions", "---\n- signin\n"], ["organisation_slug", "hmrc"], ["organisation_content_id", "67a2b78d-eee3-45b3-80e2-792e7f71cecc"], ["disabled", nil]]
|
399
|
-
[1m[35m (
|
400
|
-
[1m[36mUser Load (0.
|
17
|
+
[1m[35m (4.2ms)[0m [1m[36mcommit transaction[0m
|
18
|
+
[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]]
|
401
19
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
402
20
|
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
403
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
404
|
-
[1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d36257"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
405
|
-
[1m[35m (4.8ms)[0m [1m[36mcommit transaction[0m
|
406
21
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
407
|
-
[1m[36mUser Create (0.
|
408
|
-
[1m[35m (
|
22
|
+
[1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d33188"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
23
|
+
[1m[35m (4.4ms)[0m [1m[36mcommit transaction[0m
|
24
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
25
|
+
[1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d32885"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
26
|
+
[1m[35m (3.4ms)[0m [1m[36mcommit transaction[0m
|
409
27
|
Processing by Api::UserController#reauth as HTML
|
410
|
-
Parameters: {"uid"=>"
|
28
|
+
Parameters: {"uid"=>"a1s2d33188"}
|
411
29
|
Rendering /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
|
412
30
|
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
413
31
|
Rendered /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.2ms)
|
414
32
|
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
415
|
-
Completed 403 Forbidden in
|
416
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
417
|
-
[1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d3640"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
418
|
-
[1m[35m (5.8ms)[0m [1m[36mcommit transaction[0m
|
33
|
+
Completed 403 Forbidden in 7ms (Views: 6.9ms | ActiveRecord: 0.0ms)
|
419
34
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
420
|
-
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "
|
421
|
-
[1m[35m (
|
422
|
-
Processing by Api::UserController#reauth as HTML
|
423
|
-
Parameters: {"uid"=>"a1s2d3640"}
|
424
|
-
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "a1s2d3640"], ["LIMIT", 1]]
|
425
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
426
|
-
[1m[36mUser Update (0.2ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "t"], ["id", 4]]
|
427
|
-
[1m[35m (6.2ms)[0m [1m[36mcommit transaction[0m
|
428
|
-
Completed 200 OK in 9ms (ActiveRecord: 6.6ms)
|
429
|
-
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 4], ["LIMIT", 1]]
|
35
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d39666"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
36
|
+
[1m[35m (4.0ms)[0m [1m[36mcommit transaction[0m
|
430
37
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
431
|
-
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "
|
432
|
-
[1m[35m (
|
433
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
434
|
-
[1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d36711"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
435
|
-
[1m[35m (3.7ms)[0m [1m[36mcommit transaction[0m
|
38
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d35794"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
39
|
+
[1m[35m (4.3ms)[0m [1m[36mcommit transaction[0m
|
436
40
|
Processing by Api::UserController#reauth as HTML
|
437
41
|
Parameters: {"uid"=>"nonexistent-user"}
|
438
42
|
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "nonexistent-user"], ["LIMIT", 1]]
|
439
43
|
Completed 200 OK in 1ms (ActiveRecord: 0.1ms)
|
440
44
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
441
|
-
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "
|
442
|
-
[1m[35m (
|
443
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
444
|
-
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d35089"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
445
|
-
[1m[35m (4.8ms)[0m [1m[36mcommit transaction[0m
|
446
|
-
Processing by Api::UserController#update as HTML
|
447
|
-
Parameters: {"uid"=>"a1s2d37027"}
|
448
|
-
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "a1s2d37027"], ["LIMIT", 1]]
|
449
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
450
|
-
[1m[36mUser Update (0.2ms)[0m [1m[33mUPDATE "users" SET "email" = ?, "name" = ?, "permissions" = ?, "organisation_slug" = ?, "organisation_content_id" = ? WHERE "users"."id" = ?[0m [["email", "user@domain.com"], ["name", "Joshua Marshall"], ["permissions", "---\n- signin\n- new permission\n"], ["organisation_slug", "justice-league"], ["organisation_content_id", "aae1319e-5788-4677-998c-f1a53af528d0"], ["id", 8]]
|
451
|
-
[1m[35m (4.7ms)[0m [1m[36mcommit transaction[0m
|
452
|
-
Completed 200 OK in 8ms (ActiveRecord: 5.1ms)
|
453
|
-
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 8], ["LIMIT", 1]]
|
454
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
455
|
-
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d38493"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
456
|
-
[1m[35m (5.4ms)[0m [1m[36mcommit transaction[0m
|
45
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d32544"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
46
|
+
[1m[35m (4.3ms)[0m [1m[36mcommit transaction[0m
|
457
47
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
458
|
-
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "
|
459
|
-
[1m[35m (
|
48
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d3705"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
49
|
+
[1m[35m (3.3ms)[0m [1m[36mcommit transaction[0m
|
50
|
+
Processing by Api::UserController#reauth as HTML
|
51
|
+
Parameters: {"uid"=>"a1s2d32544"}
|
52
|
+
[1m[36mUser Load (11.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "a1s2d32544"], ["LIMIT", 1]]
|
53
|
+
[1m[35m (0.5ms)[0m [1m[36mbegin transaction[0m
|
54
|
+
[1m[36mUser Update (0.2ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "t"], ["id", 6]]
|
55
|
+
[1m[35m (4.0ms)[0m [1m[36mcommit transaction[0m
|
56
|
+
Completed 200 OK in 18ms (ActiveRecord: 16.0ms)
|
57
|
+
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 6], ["LIMIT", 1]]
|
58
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
59
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d32525"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
60
|
+
[1m[35m (3.6ms)[0m [1m[36mcommit transaction[0m
|
61
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
62
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d38924"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
63
|
+
[1m[35m (4.0ms)[0m [1m[36mcommit transaction[0m
|
460
64
|
Processing by Api::UserController#update as HTML
|
461
|
-
Parameters: {"uid"=>"
|
65
|
+
Parameters: {"uid"=>"a1s2d32525"}
|
462
66
|
Rendering /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
|
463
67
|
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
464
68
|
Rendered /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.2ms)
|
465
69
|
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
466
|
-
Completed 403 Forbidden in 1ms (Views: 0.
|
467
|
-
|
70
|
+
Completed 403 Forbidden in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
|
71
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
72
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d33880"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
73
|
+
[1m[35m (4.4ms)[0m [1m[36mcommit transaction[0m
|
74
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
75
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d31256"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
76
|
+
[1m[35m (3.3ms)[0m [1m[36mcommit transaction[0m
|
77
|
+
Processing by Api::UserController#update as HTML
|
78
|
+
Parameters: {"uid"=>"a1s2d33880"}
|
79
|
+
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "a1s2d33880"], ["LIMIT", 1]]
|
80
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
81
|
+
[1m[36mUser Update (0.2ms)[0m [1m[33mUPDATE "users" SET "email" = ?, "name" = ?, "permissions" = ?, "organisation_slug" = ?, "organisation_content_id" = ? WHERE "users"."id" = ?[0m [["email", "user@domain.com"], ["name", "Joshua Marshall"], ["permissions", "---\n- signin\n- new permission\n"], ["organisation_slug", "justice-league"], ["organisation_content_id", "aae1319e-5788-4677-998c-f1a53af528d0"], ["id", 10]]
|
82
|
+
[1m[35m (4.4ms)[0m [1m[36mcommit transaction[0m
|
83
|
+
Completed 200 OK in 7ms (ActiveRecord: 4.8ms)
|
84
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 10], ["LIMIT", 1]]
|
85
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["email", "dummyapiuser@domain.com"], ["LIMIT", 1]]
|
86
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
87
|
+
[1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Dummy API user created by gds-sso"], ["uid", "4114"], ["email", "dummyapiuser@domain.com"], ["permissions", "---\n- signin\n"]]
|
88
|
+
[1m[35m (3.6ms)[0m [1m[36mcommit transaction[0m
|
89
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
90
|
+
[1m[36mUser Update (0.2ms)[0m [1m[33mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = ?[0m [["permissions", "---\n- signin\n- extra_permission\n"], ["id", 12]]
|
91
|
+
[1m[35m (4.5ms)[0m [1m[36mcommit transaction[0m
|
92
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-07-28 10:10:59 +0000
|
468
93
|
Processing by ExampleController#restricted as HTML
|
469
94
|
Authenticating with gds_sso strategy
|
470
95
|
Completed in 5ms (ActiveRecord: 0.0ms)
|
471
|
-
Started GET "/
|
472
|
-
Processing by ExampleController#
|
96
|
+
Started GET "/" for 127.0.0.1 at 2020-07-28 10:10:59 +0000
|
97
|
+
Processing by ExampleController#index as HTML
|
98
|
+
Rendering text template
|
99
|
+
Rendered text template (0.0ms)
|
100
|
+
Completed 200 OK in 2ms (Views: 2.2ms | ActiveRecord: 0.0ms)
|
101
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-07-28 10:10:59 +0000
|
102
|
+
Processing by ExampleController#restricted as HTML
|
473
103
|
Authenticating with gds_sso strategy
|
474
104
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
475
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
476
|
-
Started GET "/auth/gds/callback?code=
|
105
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-07-28 10:10:59 +0000
|
106
|
+
Started GET "/auth/gds/callback?code=XIrk0A1OcJZLjwOKsphEfEP_i18paaY1G6XKN85PNoA&state=a663c9e16160f9fd0c5ed4cb4ded2075230c98d848c828cc" for 127.0.0.1 at 2020-07-28 10:11:00 +0000
|
477
107
|
Processing by AuthenticationsController#callback as HTML
|
478
|
-
Parameters: {"code"=>"
|
108
|
+
Parameters: {"code"=>"XIrk0A1OcJZLjwOKsphEfEP_i18paaY1G6XKN85PNoA", "state"=>"a663c9e16160f9fd0c5ed4cb4ded2075230c98d848c828cc"}
|
479
109
|
Authenticating with gds_sso strategy
|
480
110
|
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
481
111
|
[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]]
|
482
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
483
|
-
[1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Test User"], ["uid", "integration-uid"], ["email", "test@example-client.com"], ["permissions", "---\n- signin\n"]]
|
484
|
-
[1m[35m (9.0ms)[0m [1m[36mcommit transaction[0m
|
485
112
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
486
|
-
[1m[36mUser
|
487
|
-
[1m[35m (
|
488
|
-
|
489
|
-
|
490
|
-
|
491
|
-
|
113
|
+
[1m[36mUser Create (0.8ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Test User"], ["uid", "integration-uid"], ["email", "test@example-client.com"], ["permissions", "---\n- signin\n"]]
|
114
|
+
[1m[35m (8.4ms)[0m [1m[36mcommit transaction[0m
|
115
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
116
|
+
[1m[36mUser Update (0.2ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "f"], ["id", 13]]
|
117
|
+
[1m[35m (3.3ms)[0m [1m[36mcommit transaction[0m
|
118
|
+
Redirected to http://www.example-client.com/restricted
|
119
|
+
Completed 302 Found in 17ms (ActiveRecord: 13.1ms)
|
120
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-07-28 10:11:00 +0000
|
121
|
+
Processing by ExampleController#restricted as HTML
|
492
122
|
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
493
123
|
Rendering text template
|
494
124
|
Rendered text template (0.0ms)
|
495
|
-
Completed 200 OK in 2ms (Views: 0.
|
496
|
-
Started GET "/
|
497
|
-
Processing by ExampleController#
|
125
|
+
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.2ms)
|
126
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-07-28 10:11:00 +0000
|
127
|
+
Processing by ExampleController#restricted as HTML
|
498
128
|
Authenticating with gds_sso strategy
|
499
129
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
500
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
501
|
-
Started GET "/auth/gds/callback?code=
|
130
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-07-28 10:11:00 +0000
|
131
|
+
Started GET "/auth/gds/callback?code=WD6GHKCg2CceSXQtOxpX5uX5Q52y3tLAYG4nJAjNBVw&state=64085a336fb8d8da6d3e32b6b7085cda856a0fb03fcaac46" for 127.0.0.1 at 2020-07-28 10:11:00 +0000
|
502
132
|
Processing by AuthenticationsController#callback as HTML
|
503
|
-
Parameters: {"code"=>"
|
133
|
+
Parameters: {"code"=>"WD6GHKCg2CceSXQtOxpX5uX5Q52y3tLAYG4nJAjNBVw", "state"=>"64085a336fb8d8da6d3e32b6b7085cda856a0fb03fcaac46"}
|
504
134
|
Authenticating with gds_sso strategy
|
505
135
|
[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]]
|
506
136
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
507
137
|
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
508
138
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
509
139
|
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
510
|
-
Redirected to http://www.example-client.com/
|
511
|
-
Completed 302 Found in
|
512
|
-
Started GET "/
|
513
|
-
Processing by ExampleController#
|
514
|
-
[1m[36mUser Load (
|
515
|
-
Rendering text template
|
516
|
-
Rendered text template (0.0ms)
|
517
|
-
Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 1.2ms)
|
518
|
-
Started GET "/" for 127.0.0.1 at 2019-07-18 13:20:53 +0000
|
519
|
-
Processing by ExampleController#index as HTML
|
140
|
+
Redirected to http://www.example-client.com/restricted
|
141
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
|
142
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-07-28 10:11:00 +0000
|
143
|
+
Processing by ExampleController#restricted as HTML
|
144
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
520
145
|
Rendering text template
|
521
146
|
Rendered text template (0.0ms)
|
522
|
-
Completed 200 OK in
|
523
|
-
Started GET "/restricted" for 127.0.0.1 at
|
147
|
+
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
148
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-07-28 10:11:00 +0000
|
524
149
|
Processing by ExampleController#restricted as HTML
|
525
150
|
Authenticating with gds_sso strategy
|
526
151
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
527
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
528
|
-
Started GET "/auth/gds/callback?code=
|
152
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-07-28 10:11:00 +0000
|
153
|
+
Started GET "/auth/gds/callback?code=iwwQkvHOLQi9vgrkLGQiTUuM8AIMHyyDj57VPjM2zoQ&state=e3f1de3579ed6acfb19a247be93dadfaa4c02116c49718f6" for 127.0.0.1 at 2020-07-28 10:11:00 +0000
|
529
154
|
Processing by AuthenticationsController#callback as HTML
|
530
|
-
Parameters: {"code"=>"
|
155
|
+
Parameters: {"code"=>"iwwQkvHOLQi9vgrkLGQiTUuM8AIMHyyDj57VPjM2zoQ", "state"=>"e3f1de3579ed6acfb19a247be93dadfaa4c02116c49718f6"}
|
531
156
|
Authenticating with gds_sso strategy
|
532
157
|
[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]]
|
533
158
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
534
159
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
535
|
-
[1m[35m (0.
|
160
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
536
161
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
537
162
|
Redirected to http://www.example-client.com/restricted
|
538
163
|
Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
|
539
|
-
Started GET "/restricted" for 127.0.0.1 at
|
164
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-07-28 10:11:00 +0000
|
540
165
|
Processing by ExampleController#restricted as HTML
|
541
166
|
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
542
167
|
Rendering text template
|
543
168
|
Rendered text template (0.0ms)
|
544
|
-
Completed 200 OK in 1ms (Views: 0.
|
545
|
-
Started GET "/
|
546
|
-
Processing by ExampleController#
|
169
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
170
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-07-28 10:11:00 +0000
|
171
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
547
172
|
Authenticating with gds_sso strategy
|
548
173
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
549
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
550
|
-
Started GET "/auth/gds/callback?code=
|
174
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-07-28 10:11:00 +0000
|
175
|
+
Started GET "/auth/gds/callback?code=5fq0RKvlzv0B9qQsCEyhdd88h2JBCkiUtBUSdtGLpZE&state=8b5bf5abbd9de238e72dfe27d5122e14bcf1d9babe86c6f0" for 127.0.0.1 at 2020-07-28 10:11:00 +0000
|
551
176
|
Processing by AuthenticationsController#callback as HTML
|
552
|
-
Parameters: {"code"=>"
|
177
|
+
Parameters: {"code"=>"5fq0RKvlzv0B9qQsCEyhdd88h2JBCkiUtBUSdtGLpZE", "state"=>"8b5bf5abbd9de238e72dfe27d5122e14bcf1d9babe86c6f0"}
|
553
178
|
Authenticating with gds_sso strategy
|
554
179
|
[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]]
|
555
180
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
181
|
+
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
182
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
556
183
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
557
|
-
|
558
|
-
|
559
|
-
|
560
|
-
|
561
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-07-18 13:20:53 +0000
|
562
|
-
Processing by ExampleController#restricted as HTML
|
184
|
+
Redirected to http://www.example-client.com/this_requires_signin_permission
|
185
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.4ms)
|
186
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-07-28 10:11:00 +0000
|
187
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
563
188
|
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
564
189
|
Rendering text template
|
565
190
|
Rendered text template (0.0ms)
|
566
|
-
Completed 200 OK in
|
567
|
-
Started GET "/
|
568
|
-
Processing by ExampleController#
|
191
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
192
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-07-28 10:11:00 +0000
|
193
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
569
194
|
Authenticating with gds_sso strategy
|
570
195
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
571
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
572
|
-
Started GET "/auth/gds/callback?code=
|
196
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-07-28 10:11:00 +0000
|
197
|
+
Started GET "/auth/gds/callback?code=Y6UMFRXTtBvR0Xt7fmZMoYz7B_qLyB85fCAauwmGJVo&state=b9b2e0f203aa00fbc610c7399455b8e87c5b4ce94369d959" for 127.0.0.1 at 2020-07-28 10:11:01 +0000
|
573
198
|
Processing by AuthenticationsController#callback as HTML
|
574
|
-
Parameters: {"code"=>"
|
199
|
+
Parameters: {"code"=>"Y6UMFRXTtBvR0Xt7fmZMoYz7B_qLyB85fCAauwmGJVo", "state"=>"b9b2e0f203aa00fbc610c7399455b8e87c5b4ce94369d959"}
|
575
200
|
Authenticating with gds_sso strategy
|
576
201
|
[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]]
|
577
202
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
578
203
|
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
579
204
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
580
|
-
[1m[35m (0.
|
581
|
-
Redirected to http://www.example-client.com/
|
582
|
-
Completed 302 Found in
|
583
|
-
Started GET "/
|
584
|
-
Processing by ExampleController#
|
205
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
206
|
+
Redirected to http://www.example-client.com/this_requires_signin_permission
|
207
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.4ms)
|
208
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-07-28 10:11:01 +0000
|
209
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
585
210
|
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
586
211
|
Rendering text template
|
587
212
|
Rendered text template (0.0ms)
|
588
213
|
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
589
|
-
Started GET "/restricted" for 127.0.0.1 at
|
214
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-07-28 10:11:01 +0000
|
590
215
|
Processing by ExampleController#restricted as HTML
|
591
216
|
Authenticating with gds_sso strategy
|
592
217
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
593
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
594
|
-
Started GET "/auth/gds/callback?code=
|
218
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-07-28 10:11:01 +0000
|
219
|
+
Started GET "/auth/gds/callback?code=fteVPA642fJHI-UDcDBpcDoij_VODquH_w4dUBvrCk4&state=33f56805f43198fbf151d75bd5e80ea858af449826755474" for 127.0.0.1 at 2020-07-28 10:11:01 +0000
|
595
220
|
Processing by AuthenticationsController#callback as HTML
|
596
|
-
Parameters: {"code"=>"
|
221
|
+
Parameters: {"code"=>"fteVPA642fJHI-UDcDBpcDoij_VODquH_w4dUBvrCk4", "state"=>"33f56805f43198fbf151d75bd5e80ea858af449826755474"}
|
597
222
|
Authenticating with gds_sso strategy
|
598
223
|
[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]]
|
599
224
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
600
|
-
[1m[35m (0.
|
225
|
+
[1m[35m (0.4ms)[0m [1m[36mcommit transaction[0m
|
601
226
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
602
227
|
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
603
228
|
Redirected to http://www.example-client.com/restricted
|
604
|
-
Completed 302 Found in 4ms (ActiveRecord: 0.
|
605
|
-
Started GET "/restricted" for 127.0.0.1 at
|
229
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.8ms)
|
230
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-07-28 10:11:01 +0000
|
606
231
|
Processing by ExampleController#restricted as HTML
|
607
232
|
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
608
233
|
Rendering text template
|
609
234
|
Rendered text template (0.0ms)
|
610
235
|
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
611
|
-
Started GET "/restricted" for 127.0.0.1 at
|
236
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-07-29 06:16:01 +0000
|
612
237
|
Processing by ExampleController#restricted as HTML
|
613
238
|
Authenticating with gds_sso strategy
|
614
|
-
Completed in
|
615
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
616
|
-
Started GET "/restricted" for 127.0.0.1 at
|
239
|
+
Completed in 0ms (ActiveRecord: 0.0ms)
|
240
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-07-29 06:16:01 +0000
|
241
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-07-28 10:11:01 +0000
|
617
242
|
Processing by ExampleController#restricted as HTML
|
618
243
|
Authenticating with gds_sso strategy
|
619
244
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
620
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
621
|
-
Started GET "/auth/gds/callback?code=
|
245
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-07-28 10:11:01 +0000
|
246
|
+
Started GET "/auth/gds/callback?code=I4g-SNUSGUIlrh0zevm1P9RkqZeEuUMGZ5IM5K6nfKc&state=3a1c7bfa60afd57a7f1eba98d4ec07a5391094b798b42295" for 127.0.0.1 at 2020-07-28 10:11:01 +0000
|
622
247
|
Processing by AuthenticationsController#callback as HTML
|
623
|
-
Parameters: {"code"=>"
|
248
|
+
Parameters: {"code"=>"I4g-SNUSGUIlrh0zevm1P9RkqZeEuUMGZ5IM5K6nfKc", "state"=>"3a1c7bfa60afd57a7f1eba98d4ec07a5391094b798b42295"}
|
624
249
|
Authenticating with gds_sso strategy
|
625
250
|
[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]]
|
626
251
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
627
|
-
[1m[35m (0.
|
628
|
-
[1m[35m (0.
|
629
|
-
[1m[35m (0.
|
252
|
+
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
253
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
254
|
+
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
630
255
|
Redirected to http://www.example-client.com/restricted
|
631
256
|
Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
|
632
|
-
Started GET "/restricted" for 127.0.0.1 at
|
257
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-07-28 10:11:01 +0000
|
633
258
|
Processing by ExampleController#restricted as HTML
|
634
259
|
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
635
260
|
Rendering text template
|
636
261
|
Rendered text template (0.0ms)
|
637
|
-
Completed 200 OK in
|
638
|
-
Started GET "/restricted" for 127.0.0.1 at
|
262
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
263
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-07-29 06:16:01 +0000
|
639
264
|
Processing by ExampleController#restricted as HTML
|
640
265
|
Authenticating with gds_sso strategy
|
641
|
-
Completed in
|
642
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
643
|
-
Started GET "/auth/gds/callback?code=
|
266
|
+
Completed in 0ms (ActiveRecord: 0.0ms)
|
267
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-07-29 06:16:01 +0000
|
268
|
+
Started GET "/auth/gds/callback?code=uuYU7T9saWv_WHz16C37qVCQx1yhVm9TpQYrcxkYmFc&state=3a809c5e8ef281168837d2ffc744a23c5d863085b40a1c7b" for 127.0.0.1 at 2020-07-29 06:16:01 +0000
|
644
269
|
Processing by AuthenticationsController#callback as HTML
|
645
|
-
Parameters: {"code"=>"
|
270
|
+
Parameters: {"code"=>"uuYU7T9saWv_WHz16C37qVCQx1yhVm9TpQYrcxkYmFc", "state"=>"3a809c5e8ef281168837d2ffc744a23c5d863085b40a1c7b"}
|
646
271
|
Authenticating with gds_sso strategy
|
647
|
-
[1m[36mUser Load (0.
|
272
|
+
[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]]
|
648
273
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
649
274
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
650
275
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
651
|
-
[1m[35m (0.
|
276
|
+
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
652
277
|
Redirected to http://www.example-client.com/restricted
|
653
|
-
Completed 302 Found in
|
654
|
-
Started GET "/restricted" for 127.0.0.1 at
|
278
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.4ms)
|
279
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-07-29 06:16:01 +0000
|
655
280
|
Processing by ExampleController#restricted as HTML
|
656
281
|
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
657
282
|
Rendering text template
|
658
283
|
Rendered text template (0.0ms)
|
659
|
-
Completed 200 OK in
|
660
|
-
Started GET "/restricted" for 127.0.0.1 at
|
284
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
285
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-07-28 10:11:01 +0000
|
661
286
|
Processing by ExampleController#restricted as HTML
|
662
287
|
Authenticating with gds_sso strategy
|
663
288
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
664
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
665
|
-
Started GET "/auth/gds/callback?code=
|
289
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-07-28 10:11:01 +0000
|
290
|
+
Started GET "/auth/gds/callback?code=0KvD-U3mbOr7IQCo9xGjz5XFI2ISiBQ3-Fkard2qMss&state=03fcadf877cb14fd2d698e2a7259325f1db0a61891e8ef38" for 127.0.0.1 at 2020-07-28 10:11:01 +0000
|
666
291
|
Processing by AuthenticationsController#callback as HTML
|
667
|
-
Parameters: {"code"=>"
|
292
|
+
Parameters: {"code"=>"0KvD-U3mbOr7IQCo9xGjz5XFI2ISiBQ3-Fkard2qMss", "state"=>"03fcadf877cb14fd2d698e2a7259325f1db0a61891e8ef38"}
|
668
293
|
Authenticating with gds_sso strategy
|
669
294
|
[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]]
|
670
|
-
[1m[35m (0.
|
295
|
+
[1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
|
671
296
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
672
|
-
[1m[35m (0.
|
297
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
673
298
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
674
299
|
Redirected to http://www.example-client.com/restricted
|
675
|
-
Completed 302 Found in 4ms (ActiveRecord: 0.
|
676
|
-
Started GET "/restricted" for 127.0.0.1 at
|
300
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.5ms)
|
301
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-07-28 10:11:01 +0000
|
677
302
|
Processing by ExampleController#restricted as HTML
|
678
|
-
[1m[36mUser Load (0.
|
303
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
679
304
|
Rendering text template
|
680
305
|
Rendered text template (0.0ms)
|
681
|
-
Completed 200 OK in
|
682
|
-
Started GET "/restricted" for 127.0.0.1 at
|
306
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
307
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-07-29 06:06:01 +0000
|
683
308
|
Processing by ExampleController#restricted as HTML
|
684
|
-
[1m[36mUser Load (0.
|
309
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
685
310
|
Rendering text template
|
686
311
|
Rendered text template (0.0ms)
|
687
|
-
Completed 200 OK in
|
688
|
-
Started GET "/restricted" for 127.0.0.1 at
|
312
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
313
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-07-28 10:11:01 +0000
|
689
314
|
Processing by ExampleController#restricted as HTML
|
690
315
|
Authenticating with gds_sso strategy
|
691
316
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
692
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
693
|
-
Started GET "/auth/gds/callback?code=
|
317
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-07-28 10:11:01 +0000
|
318
|
+
Started GET "/auth/gds/callback?code=lkMut4J9C-GGDBDF29-8lz6yZNhdI26xdK5sgAvBLaA&state=282d995502a62b1832b6f0220fd3996160caa61ac071b576" for 127.0.0.1 at 2020-07-28 10:11:01 +0000
|
694
319
|
Processing by AuthenticationsController#callback as HTML
|
695
|
-
Parameters: {"code"=>"
|
320
|
+
Parameters: {"code"=>"lkMut4J9C-GGDBDF29-8lz6yZNhdI26xdK5sgAvBLaA", "state"=>"282d995502a62b1832b6f0220fd3996160caa61ac071b576"}
|
696
321
|
Authenticating with gds_sso strategy
|
697
322
|
[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]]
|
698
323
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
699
324
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
700
325
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
701
|
-
[1m[35m (0.
|
326
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
702
327
|
Redirected to http://www.example-client.com/restricted
|
703
328
|
Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
|
704
|
-
Started GET "/restricted" for 127.0.0.1 at
|
329
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-07-28 10:11:01 +0000
|
705
330
|
Processing by ExampleController#restricted as HTML
|
706
|
-
[1m[36mUser Load (0.
|
331
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
707
332
|
Rendering text template
|
708
333
|
Rendered text template (0.0ms)
|
709
|
-
Completed 200 OK in
|
710
|
-
[1m[36mUser Load (0.
|
711
|
-
[1m[35m (0.
|
712
|
-
[1m[36mUser Update (0.
|
713
|
-
[1m[35m (
|
714
|
-
Started GET "/restricted" for 127.0.0.1 at
|
334
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
335
|
+
[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]]
|
336
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
337
|
+
[1m[36mUser Update (0.3ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "t"], ["id", 13]]
|
338
|
+
[1m[35m (7.1ms)[0m [1m[36mcommit transaction[0m
|
339
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-07-28 10:11:02 +0000
|
715
340
|
Processing by ExampleController#restricted as HTML
|
716
341
|
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
717
342
|
Authenticating with gds_sso strategy
|
718
343
|
Completed in 1ms (ActiveRecord: 0.1ms)
|
719
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
720
|
-
Started GET "/auth/gds/callback?code=
|
344
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-07-28 10:11:02 +0000
|
345
|
+
Started GET "/auth/gds/callback?code=0tod4KmKNl5dbJ9u5nGbam9VmIFAdW_tp6OAdsA1xr8&state=b577b9071423563943a94e5a61a755689c8818337e0e72c6" for 127.0.0.1 at 2020-07-28 10:11:02 +0000
|
721
346
|
Processing by AuthenticationsController#callback as HTML
|
722
|
-
Parameters: {"code"=>"
|
347
|
+
Parameters: {"code"=>"0tod4KmKNl5dbJ9u5nGbam9VmIFAdW_tp6OAdsA1xr8", "state"=>"b577b9071423563943a94e5a61a755689c8818337e0e72c6"}
|
723
348
|
Authenticating with gds_sso strategy
|
724
349
|
[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]]
|
725
350
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
726
351
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
727
352
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
728
|
-
[1m[36mUser Update (0.
|
729
|
-
[1m[35m (
|
353
|
+
[1m[36mUser Update (0.3ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "f"], ["id", 13]]
|
354
|
+
[1m[35m (6.0ms)[0m [1m[36mcommit transaction[0m
|
730
355
|
Redirected to http://www.example-client.com/restricted
|
731
|
-
Completed 302 Found in
|
732
|
-
Started GET "/restricted" for 127.0.0.1 at
|
356
|
+
Completed 302 Found in 10ms (ActiveRecord: 6.6ms)
|
357
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-07-28 10:11:02 +0000
|
733
358
|
Processing by ExampleController#restricted as HTML
|
734
|
-
[1m[36mUser Load (0.
|
359
|
+
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
735
360
|
Rendering text template
|
736
361
|
Rendered text template (0.0ms)
|
737
|
-
Completed 200 OK in 2ms (Views: 0.
|
738
|
-
Started GET "/restricted" for 127.0.0.1 at
|
739
|
-
Processing by ExampleController#restricted as JSON
|
740
|
-
Completed in 31ms (ActiveRecord: 0.0ms)
|
741
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-07-18 13:20:55 +0000
|
362
|
+
Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.2ms)
|
363
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-07-28 10:11:02 +0000
|
742
364
|
Processing by ExampleController#restricted as JSON
|
743
365
|
[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]]
|
744
|
-
[1m[35m (0.
|
745
|
-
[1m[36mUser Update (0.2ms)[0m [1m[33mUPDATE "users" SET "disabled" = ? WHERE "users"."id" = ?[0m [["disabled", nil], ["id",
|
746
|
-
[1m[35m (
|
747
|
-
[1m[36mUser Load (0.
|
748
|
-
[1m[35m (0.
|
366
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
367
|
+
[1m[36mUser Update (0.2ms)[0m [1m[33mUPDATE "users" SET "disabled" = ? WHERE "users"."id" = ?[0m [["disabled", nil], ["id", 13]]
|
368
|
+
[1m[35m (3.9ms)[0m [1m[36mcommit transaction[0m
|
369
|
+
[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]]
|
370
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
749
371
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
750
372
|
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
751
|
-
[1m[35m (0.
|
373
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
752
374
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
753
375
|
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
754
|
-
[1m[35m (0.
|
376
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
755
377
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
756
378
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
757
379
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
758
380
|
Rendering text template
|
759
381
|
Rendered text template (0.0ms)
|
760
|
-
Completed 200 OK in
|
761
|
-
Started GET "/restricted" for 127.0.0.1 at
|
382
|
+
Completed 200 OK in 55ms (Views: 0.3ms | ActiveRecord: 4.8ms)
|
383
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-07-28 10:11:02 +0000
|
762
384
|
Processing by ExampleController#restricted as JSON
|
763
|
-
Completed in
|
764
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at
|
385
|
+
Completed in 11ms (ActiveRecord: 0.0ms)
|
386
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-07-28 10:11:02 +0000
|
765
387
|
Processing by ExampleController#this_requires_signin_permission as JSON
|
766
|
-
[1m[36mUser Load (0.
|
767
|
-
[1m[35m (0.
|
768
|
-
[1m[35m (0.
|
388
|
+
[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]]
|
389
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
390
|
+
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
769
391
|
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
770
|
-
[1m[35m (0.
|
392
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
771
393
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
772
394
|
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
773
395
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
774
396
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
775
397
|
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
776
398
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
777
|
-
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
778
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
779
399
|
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
400
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
401
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
780
402
|
Rendering text template
|
781
403
|
Rendered text template (0.0ms)
|
782
|
-
Completed 200 OK in
|
783
|
-
|
404
|
+
Completed 200 OK in 50ms (Views: 0.4ms | ActiveRecord: 0.7ms)
|
405
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-07-28 10:11:02 +0000
|
406
|
+
Processing by ExampleController#restricted as JSON
|
407
|
+
Completed in 17ms (ActiveRecord: 0.0ms)
|
408
|
+
[1m[35m (1.4ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
409
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
410
|
+
[1m[35m (0.2ms)[0m [1m[35mDROP TABLE IF EXISTS "users"[0m
|
411
|
+
[1m[35m (9.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 0)[0m
|
412
|
+
[1m[35m (4.4ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL)[0m
|
413
|
+
[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]]
|
414
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
415
|
+
[1m[36mActiveRecord::InternalMetadata Create (0.3ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "environment"], ["value", "test"], ["created_at", "2020-07-28 10:11:11.696416"], ["updated_at", "2020-07-28 10:11:11.696416"]]
|
416
|
+
[1m[35m (4.7ms)[0m [1m[36mcommit transaction[0m
|
417
|
+
[1m[35m (3.3ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
|
418
|
+
[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]]
|
419
|
+
[1m[35m (1.4ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
420
|
+
[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]]
|
421
|
+
[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]]
|
422
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
423
|
+
[1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions", "organisation_slug", "organisation_content_id", "disabled") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["name", "A Name"], ["uid", "asd"], ["email", "user@example.com"], ["permissions", "---\n- signin\n"], ["organisation_slug", "hmrc"], ["organisation_content_id", "67a2b78d-eee3-45b3-80e2-792e7f71cecc"], ["disabled", nil]]
|
424
|
+
[1m[35m (5.0ms)[0m [1m[36mcommit transaction[0m
|
425
|
+
[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]]
|
784
426
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
785
|
-
[1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "
|
786
|
-
[1m[35m (
|
427
|
+
[1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d37378"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
428
|
+
[1m[35m (11.3ms)[0m [1m[36mcommit transaction[0m
|
787
429
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
788
|
-
[1m[36mUser
|
789
|
-
[1m[35m (
|
790
|
-
|
791
|
-
|
792
|
-
|
793
|
-
|
794
|
-
|
430
|
+
[1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d31593"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
431
|
+
[1m[35m (12.2ms)[0m [1m[36mcommit transaction[0m
|
432
|
+
Processing by Api::UserController#update as HTML
|
433
|
+
Parameters: {"uid"=>"a1s2d37378"}
|
434
|
+
Rendering /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
|
435
|
+
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
436
|
+
Rendered /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (Duration: 0.6ms | Allocations: 265)
|
437
|
+
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
438
|
+
Completed 403 Forbidden in 8ms (Views: 5.3ms | ActiveRecord: 0.0ms | Allocations: 3265)
|
439
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
440
|
+
[1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d33604"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
441
|
+
[1m[35m (3.5ms)[0m [1m[36mcommit transaction[0m
|
442
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
443
|
+
[1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d38516"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
444
|
+
[1m[35m (3.2ms)[0m [1m[36mcommit transaction[0m
|
445
|
+
Processing by Api::UserController#update as HTML
|
446
|
+
Parameters: {"uid"=>"a1s2d33604"}
|
447
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "a1s2d33604"], ["LIMIT", 1]]
|
448
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
449
|
+
[1m[36mUser Update (0.2ms)[0m [1m[33mUPDATE "users" SET "email" = ?, "name" = ?, "permissions" = ?, "organisation_slug" = ?, "organisation_content_id" = ? WHERE "users"."id" = ?[0m [["email", "user@domain.com"], ["name", "Joshua Marshall"], ["permissions", "---\n- signin\n- new permission\n"], ["organisation_slug", "justice-league"], ["organisation_content_id", "aae1319e-5788-4677-998c-f1a53af528d0"], ["id", 4]]
|
450
|
+
[1m[35m (3.1ms)[0m [1m[36mcommit transaction[0m
|
451
|
+
Completed 200 OK in 6ms (ActiveRecord: 3.5ms | Allocations: 1313)
|
452
|
+
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 4], ["LIMIT", 1]]
|
453
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
454
|
+
[1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d31894"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
455
|
+
[1m[35m (4.5ms)[0m [1m[36mcommit transaction[0m
|
456
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
457
|
+
[1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d36660"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
458
|
+
[1m[35m (3.2ms)[0m [1m[36mcommit transaction[0m
|
459
|
+
Processing by Api::UserController#reauth as HTML
|
460
|
+
Parameters: {"uid"=>"nonexistent-user"}
|
461
|
+
[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]]
|
462
|
+
Completed 200 OK in 1ms (ActiveRecord: 0.1ms | Allocations: 522)
|
463
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
464
|
+
[1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d36194"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
465
|
+
[1m[35m (3.1ms)[0m [1m[36mcommit transaction[0m
|
466
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
467
|
+
[1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d32577"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
468
|
+
[1m[35m (3.5ms)[0m [1m[36mcommit transaction[0m
|
469
|
+
Processing by Api::UserController#reauth as HTML
|
470
|
+
Parameters: {"uid"=>"a1s2d36194"}
|
471
|
+
Rendering /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
|
472
|
+
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
473
|
+
Rendered /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (Duration: 0.2ms | Allocations: 56)
|
474
|
+
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
475
|
+
Completed 403 Forbidden in 2ms (Views: 1.1ms | ActiveRecord: 0.0ms | Allocations: 514)
|
476
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
477
|
+
[1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d31351"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
478
|
+
[1m[35m (3.2ms)[0m [1m[36mcommit transaction[0m
|
479
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
480
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d32956"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
481
|
+
[1m[35m (3.9ms)[0m [1m[36mcommit transaction[0m
|
482
|
+
Processing by Api::UserController#reauth as HTML
|
483
|
+
Parameters: {"uid"=>"a1s2d31351"}
|
484
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "a1s2d31351"], ["LIMIT", 1]]
|
485
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
486
|
+
[1m[36mUser Update (0.2ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", 1], ["id", 10]]
|
487
|
+
[1m[35m (3.2ms)[0m [1m[36mcommit transaction[0m
|
488
|
+
Completed 200 OK in 6ms (ActiveRecord: 3.6ms | Allocations: 928)
|
489
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 10], ["LIMIT", 1]]
|
490
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-07-28 10:11:12 +0000
|
795
491
|
Processing by ExampleController#restricted as HTML
|
796
492
|
Authenticating with gds_sso strategy
|
797
|
-
Completed in
|
798
|
-
Started GET "/
|
799
|
-
Processing by ExampleController#
|
800
|
-
|
801
|
-
|
802
|
-
|
803
|
-
|
804
|
-
|
805
|
-
|
806
|
-
|
807
|
-
|
808
|
-
|
809
|
-
|
810
|
-
|
811
|
-
|
812
|
-
[1m[
|
813
|
-
[1m[
|
814
|
-
[1m[
|
815
|
-
[1m[
|
816
|
-
[1m[
|
817
|
-
|
818
|
-
|
819
|
-
|
820
|
-
|
821
|
-
Completed
|
822
|
-
Started GET "/restricted" for 127.0.0.1 at
|
823
|
-
Processing by ExampleController#restricted as
|
824
|
-
|
825
|
-
|
826
|
-
|
827
|
-
|
828
|
-
|
829
|
-
[1m[35m (0.0ms)[0m commit transaction
|
830
|
-
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
831
|
-
[1m[35m (0.1ms)[0m begin transaction
|
832
|
-
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
833
|
-
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"]]
|
834
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
835
|
-
[1m[35m (0.0ms)[0m commit transaction
|
836
|
-
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"]]
|
837
|
-
[1m[35m (0.1ms)[0m begin transaction
|
838
|
-
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
839
|
-
[1m[35m (0.0ms)[0m begin transaction
|
840
|
-
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
841
|
-
Rendered text template (0.0ms)
|
842
|
-
Completed 200 OK in 61ms (Views: 0.3ms | ActiveRecord: 0.8ms)
|
843
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2019-07-18 13:21:02 +0000
|
493
|
+
Completed in 4ms (ActiveRecord: 0.0ms | Allocations: 162)
|
494
|
+
Started GET "/" for 127.0.0.1 at 2020-07-28 10:11:12 +0000
|
495
|
+
Processing by ExampleController#index as HTML
|
496
|
+
Rendering text template
|
497
|
+
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
498
|
+
Completed 200 OK in 1ms (Views: 1.0ms | ActiveRecord: 0.0ms | Allocations: 475)
|
499
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-07-28 10:11:12 +0000
|
500
|
+
Processing by ExampleController#restricted as HTML
|
501
|
+
Authenticating with gds_sso strategy
|
502
|
+
Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 115)
|
503
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-07-28 10:11:12 +0000
|
504
|
+
Started GET "/auth/gds/callback?code=aFjAs4wwnCYsih8y8lFaG-GVdG2n1uHgaHiDbqvWGRA&state=105756fa9458618cf24e279350e44cb409bd6b25b1ee0d79" for 127.0.0.1 at 2020-07-28 10:11:12 +0000
|
505
|
+
Processing by AuthenticationsController#callback as HTML
|
506
|
+
Parameters: {"code"=>"aFjAs4wwnCYsih8y8lFaG-GVdG2n1uHgaHiDbqvWGRA", "state"=>"105756fa9458618cf24e279350e44cb409bd6b25b1ee0d79"}
|
507
|
+
Authenticating with gds_sso strategy
|
508
|
+
[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]]
|
509
|
+
[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]]
|
510
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
511
|
+
[1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Test User"], ["uid", "integration-uid"], ["email", "test@example-client.com"], ["permissions", "---\n- signin\n"]]
|
512
|
+
[1m[35m (4.7ms)[0m [1m[36mcommit transaction[0m
|
513
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
514
|
+
[1m[36mUser Update (0.2ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", 0], ["id", 12]]
|
515
|
+
[1m[35m (4.4ms)[0m [1m[36mcommit transaction[0m
|
516
|
+
Redirected to http://www.example-client.com/restricted
|
517
|
+
Completed 302 Found in 14ms (ActiveRecord: 10.0ms | Allocations: 1592)
|
518
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-07-28 10:11:12 +0000
|
519
|
+
Processing by ExampleController#restricted as HTML
|
520
|
+
[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", 0], ["LIMIT", 1]]
|
521
|
+
Rendering text template
|
522
|
+
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
523
|
+
Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.2ms | Allocations: 731)
|
524
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-07-28 10:11:12 +0000
|
844
525
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
845
526
|
Authenticating with gds_sso strategy
|
846
|
-
Completed in 0ms (ActiveRecord: 0.0ms)
|
847
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
848
|
-
Started GET "/auth/gds/callback?code=
|
527
|
+
Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 113)
|
528
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-07-28 10:11:12 +0000
|
529
|
+
Started GET "/auth/gds/callback?code=UoqQuZKYHON4cJVzd03wNP0Fzj09csPTYFNMMJ6B7hA&state=230f7021c6c21a0e3ae9a32d44d76634f4b5eada178a37e8" for 127.0.0.1 at 2020-07-28 10:11:13 +0000
|
849
530
|
Processing by AuthenticationsController#callback as HTML
|
850
|
-
Parameters: {"code"=>"
|
851
|
-
Authenticating with gds_sso strategy
|
852
|
-
[1m[
|
853
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
854
|
-
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "disabled" = ? WHERE "users"."id" = ? [["disabled", "f"], ["id", 1]]
|
855
|
-
[1m[36m (230.3ms)[0m [1mcommit transaction[0m
|
856
|
-
[1m[35m (0.1ms)[0m begin transaction
|
857
|
-
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
531
|
+
Parameters: {"code"=>"UoqQuZKYHON4cJVzd03wNP0Fzj09csPTYFNMMJ6B7hA", "state"=>"230f7021c6c21a0e3ae9a32d44d76634f4b5eada178a37e8"}
|
532
|
+
Authenticating with gds_sso strategy
|
533
|
+
[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]]
|
858
534
|
Redirected to http://www.example-client.com/this_requires_signin_permission
|
859
|
-
Completed 302 Found in
|
860
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at
|
535
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.2ms | Allocations: 1016)
|
536
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-07-28 10:11:13 +0000
|
861
537
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
862
|
-
[1m[
|
863
|
-
|
864
|
-
|
865
|
-
|
538
|
+
[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", 0], ["LIMIT", 1]]
|
539
|
+
Rendering text template
|
540
|
+
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
541
|
+
Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.1ms | Allocations: 706)
|
542
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-07-28 10:11:13 +0000
|
866
543
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
867
544
|
Authenticating with gds_sso strategy
|
868
|
-
Completed in 0ms (ActiveRecord: 0.0ms)
|
869
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
870
|
-
Started GET "/auth/gds/callback?code=
|
545
|
+
Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 113)
|
546
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-07-28 10:11:13 +0000
|
547
|
+
Started GET "/auth/gds/callback?code=70nwMjegd4XlaKu7HNf13FrTkz5W_rk7F6FreB_m2r8&state=5ef9993d6f09d4d162928d9173a1d5d3c570c16c49f8eee5" for 127.0.0.1 at 2020-07-28 10:11:13 +0000
|
871
548
|
Processing by AuthenticationsController#callback as HTML
|
872
|
-
Parameters: {"code"=>"
|
549
|
+
Parameters: {"code"=>"70nwMjegd4XlaKu7HNf13FrTkz5W_rk7F6FreB_m2r8", "state"=>"5ef9993d6f09d4d162928d9173a1d5d3c570c16c49f8eee5"}
|
873
550
|
Authenticating with gds_sso strategy
|
874
|
-
[1m[36mUser Load (0.
|
875
|
-
[1m[35m (0.1ms)[0m begin transaction
|
876
|
-
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
877
|
-
[1m[35m (0.0ms)[0m begin transaction
|
878
|
-
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
551
|
+
[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]]
|
879
552
|
Redirected to http://www.example-client.com/this_requires_signin_permission
|
880
|
-
Completed 302 Found in
|
881
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at
|
553
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.2ms | Allocations: 1016)
|
554
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-07-28 10:11:13 +0000
|
882
555
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
883
|
-
[1m[
|
884
|
-
|
885
|
-
|
886
|
-
|
887
|
-
|
888
|
-
Rendered text template (0.0ms)
|
889
|
-
Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
890
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-07-18 13:21:02 +0000
|
556
|
+
[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", 0], ["LIMIT", 1]]
|
557
|
+
Rendering text template
|
558
|
+
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
559
|
+
Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.2ms | Allocations: 706)
|
560
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-07-28 10:11:13 +0000
|
891
561
|
Processing by ExampleController#restricted as HTML
|
892
562
|
Authenticating with gds_sso strategy
|
893
|
-
Completed in 0ms (ActiveRecord: 0.0ms)
|
894
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
895
|
-
Started GET "/auth/gds/callback?code=
|
563
|
+
Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 113)
|
564
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-07-28 10:11:13 +0000
|
565
|
+
Started GET "/auth/gds/callback?code=dTqlS-0Xq0T9HdEE0WoDRhvKL5K9-rfP6kF3c5gEAWo&state=c492c8c76e68cc3470317e8c77fbd009db706a37995d3447" for 127.0.0.1 at 2020-07-28 10:11:13 +0000
|
896
566
|
Processing by AuthenticationsController#callback as HTML
|
897
|
-
Parameters: {"code"=>"
|
567
|
+
Parameters: {"code"=>"dTqlS-0Xq0T9HdEE0WoDRhvKL5K9-rfP6kF3c5gEAWo", "state"=>"c492c8c76e68cc3470317e8c77fbd009db706a37995d3447"}
|
898
568
|
Authenticating with gds_sso strategy
|
899
|
-
[1m[36mUser Load (0.2ms)[0m [
|
900
|
-
[1m[35m (0.1ms)[0m begin transaction
|
901
|
-
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
902
|
-
[1m[35m (0.0ms)[0m begin transaction
|
903
|
-
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
569
|
+
[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]]
|
904
570
|
Redirected to http://www.example-client.com/restricted
|
905
|
-
Completed 302 Found in
|
906
|
-
Started GET "/restricted" for 127.0.0.1 at
|
571
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.2ms | Allocations: 1016)
|
572
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-07-28 10:11:13 +0000
|
907
573
|
Processing by ExampleController#restricted as HTML
|
908
|
-
[1m[
|
909
|
-
|
910
|
-
|
911
|
-
|
574
|
+
[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", 0], ["LIMIT", 1]]
|
575
|
+
Rendering text template
|
576
|
+
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
577
|
+
Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.1ms | Allocations: 706)
|
578
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-07-28 10:11:13 +0000
|
912
579
|
Processing by ExampleController#restricted as HTML
|
913
580
|
Authenticating with gds_sso strategy
|
914
|
-
Completed in 0ms (ActiveRecord: 0.0ms)
|
915
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
916
|
-
Started GET "/auth/gds/callback?code=
|
581
|
+
Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 113)
|
582
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-07-28 10:11:13 +0000
|
583
|
+
Started GET "/auth/gds/callback?code=98uew1cTav8MSNecc31YVR8YDtu9OIeaOJb2qEomgD8&state=bab999a3c0d2952fd4f34d3ae7df1bd3cce905daaea0adc0" for 127.0.0.1 at 2020-07-28 10:11:13 +0000
|
917
584
|
Processing by AuthenticationsController#callback as HTML
|
918
|
-
Parameters: {"code"=>"
|
585
|
+
Parameters: {"code"=>"98uew1cTav8MSNecc31YVR8YDtu9OIeaOJb2qEomgD8", "state"=>"bab999a3c0d2952fd4f34d3ae7df1bd3cce905daaea0adc0"}
|
919
586
|
Authenticating with gds_sso strategy
|
920
|
-
[1m[36mUser Load (0.
|
921
|
-
[1m[35m (0.1ms)[0m begin transaction
|
922
|
-
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
923
|
-
[1m[35m (0.1ms)[0m begin transaction
|
924
|
-
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
587
|
+
[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]]
|
925
588
|
Redirected to http://www.example-client.com/restricted
|
926
|
-
Completed 302 Found in
|
927
|
-
Started GET "/restricted" for 127.0.0.1 at
|
589
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.2ms | Allocations: 1016)
|
590
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-07-28 10:11:13 +0000
|
928
591
|
Processing by ExampleController#restricted as HTML
|
929
|
-
[1m[
|
930
|
-
|
931
|
-
|
932
|
-
|
592
|
+
[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", 0], ["LIMIT", 1]]
|
593
|
+
Rendering text template
|
594
|
+
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
595
|
+
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.1ms | Allocations: 706)
|
596
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-07-28 10:11:13 +0000
|
933
597
|
Processing by ExampleController#restricted as HTML
|
934
598
|
Authenticating with gds_sso strategy
|
935
|
-
Completed in 0ms (ActiveRecord: 0.0ms)
|
936
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
937
|
-
Started GET "/auth/gds/callback?code=
|
599
|
+
Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 113)
|
600
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-07-28 10:11:13 +0000
|
601
|
+
Started GET "/auth/gds/callback?code=eZufCW2sAKLT6PdExAMXK9drlUiuP8wALWbeeTdqbIY&state=533e795cc72dd064e022b56bee0acf097fdeb74cc209cd00" for 127.0.0.1 at 2020-07-28 10:11:13 +0000
|
938
602
|
Processing by AuthenticationsController#callback as HTML
|
939
|
-
Parameters: {"code"=>"
|
603
|
+
Parameters: {"code"=>"eZufCW2sAKLT6PdExAMXK9drlUiuP8wALWbeeTdqbIY", "state"=>"533e795cc72dd064e022b56bee0acf097fdeb74cc209cd00"}
|
940
604
|
Authenticating with gds_sso strategy
|
941
|
-
[1m[36mUser Load (0.
|
942
|
-
[1m[35m (0.1ms)[0m begin transaction
|
943
|
-
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
944
|
-
[1m[35m (0.1ms)[0m begin transaction
|
945
|
-
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
605
|
+
[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]]
|
946
606
|
Redirected to http://www.example-client.com/restricted
|
947
|
-
Completed 302 Found in
|
948
|
-
Started GET "/restricted" for 127.0.0.1 at
|
607
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.2ms | Allocations: 1020)
|
608
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-07-28 10:11:13 +0000
|
949
609
|
Processing by ExampleController#restricted as HTML
|
950
|
-
[1m[
|
951
|
-
|
952
|
-
|
953
|
-
|
610
|
+
[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", 0], ["LIMIT", 1]]
|
611
|
+
Rendering text template
|
612
|
+
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
613
|
+
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.1ms | Allocations: 709)
|
614
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-07-29 06:06:13 +0000
|
615
|
+
Processing by ExampleController#restricted as HTML
|
616
|
+
[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", 0], ["LIMIT", 1]]
|
617
|
+
Rendering text template
|
618
|
+
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
619
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms | Allocations: 929)
|
620
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-07-28 10:11:13 +0000
|
954
621
|
Processing by ExampleController#restricted as HTML
|
955
622
|
Authenticating with gds_sso strategy
|
956
|
-
Completed in 0ms (ActiveRecord: 0.0ms)
|
957
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
958
|
-
Started GET "/auth/gds/callback?code=
|
623
|
+
Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 113)
|
624
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-07-28 10:11:14 +0000
|
625
|
+
Started GET "/auth/gds/callback?code=5Unedqs9r-W_C-K_4WgsScBjKNJpiS31nHl3fzP7OMs&state=83d3e8d784318705bce7d00f45e6a4eb68039fa61e3e5141" for 127.0.0.1 at 2020-07-28 10:11:14 +0000
|
959
626
|
Processing by AuthenticationsController#callback as HTML
|
960
|
-
Parameters: {"code"=>"
|
627
|
+
Parameters: {"code"=>"5Unedqs9r-W_C-K_4WgsScBjKNJpiS31nHl3fzP7OMs", "state"=>"83d3e8d784318705bce7d00f45e6a4eb68039fa61e3e5141"}
|
961
628
|
Authenticating with gds_sso strategy
|
962
|
-
[1m[36mUser Load (0.
|
963
|
-
[1m[35m (0.1ms)[0m begin transaction
|
964
|
-
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
965
|
-
[1m[35m (0.1ms)[0m begin transaction
|
966
|
-
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
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]]
|
967
630
|
Redirected to http://www.example-client.com/restricted
|
968
|
-
Completed 302 Found in
|
969
|
-
Started GET "/restricted" for 127.0.0.1 at
|
631
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.2ms | Allocations: 1016)
|
632
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-07-28 10:11:14 +0000
|
970
633
|
Processing by ExampleController#restricted as HTML
|
971
|
-
[1m[
|
972
|
-
|
973
|
-
|
974
|
-
|
975
|
-
|
976
|
-
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "t"], ["id", 1]]
|
977
|
-
[1m[35m (7.2ms)[0m commit transaction
|
978
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-07-18 13:21:03 +0000
|
634
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", 0], ["LIMIT", 1]]
|
635
|
+
Rendering text template
|
636
|
+
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
637
|
+
Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.1ms | Allocations: 706)
|
638
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-07-29 06:16:14 +0000
|
979
639
|
Processing by ExampleController#restricted as HTML
|
980
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
|
981
640
|
Authenticating with gds_sso strategy
|
982
|
-
Completed in 1ms (ActiveRecord: 0.
|
983
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
984
|
-
Started GET "/auth/gds/callback?code=
|
641
|
+
Completed in 1ms (ActiveRecord: 0.0ms | Allocations: 499)
|
642
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-07-29 06:16:14 +0000
|
643
|
+
Started GET "/auth/gds/callback?code=xMQ-HoOr0S2m7lo11s9LSrZjM7OcnnWvhEzjHLAo9yI&state=f75c8a45dfff87d84935f9c9775eb862203bf372a0158ecc" for 127.0.0.1 at 2020-07-29 06:16:14 +0000
|
985
644
|
Processing by AuthenticationsController#callback as HTML
|
986
|
-
Parameters: {"code"=>"
|
987
|
-
Authenticating with gds_sso strategy
|
988
|
-
[1m[
|
989
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
990
|
-
[1m[35m (0.1ms)[0m commit transaction
|
991
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
992
|
-
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ? [["remotely_signed_out", "f"], ["id", 1]]
|
993
|
-
[1m[36m (6.1ms)[0m [1mcommit transaction[0m
|
645
|
+
Parameters: {"code"=>"xMQ-HoOr0S2m7lo11s9LSrZjM7OcnnWvhEzjHLAo9yI", "state"=>"f75c8a45dfff87d84935f9c9775eb862203bf372a0158ecc"}
|
646
|
+
Authenticating with gds_sso strategy
|
647
|
+
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
994
648
|
Redirected to http://www.example-client.com/restricted
|
995
|
-
Completed 302 Found in
|
996
|
-
Started GET "/restricted" for 127.0.0.1 at
|
649
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.2ms | Allocations: 1218)
|
650
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-07-29 06:16:14 +0000
|
997
651
|
Processing by ExampleController#restricted as HTML
|
998
|
-
[1m[
|
999
|
-
|
1000
|
-
|
1001
|
-
|
652
|
+
[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", 0], ["LIMIT", 1]]
|
653
|
+
Rendering text template
|
654
|
+
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
655
|
+
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.2ms | Allocations: 931)
|
656
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-07-28 10:11:14 +0000
|
1002
657
|
Processing by ExampleController#restricted as HTML
|
1003
658
|
Authenticating with gds_sso strategy
|
1004
|
-
Completed in 0ms (ActiveRecord: 0.0ms)
|
1005
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
1006
|
-
Started GET "/auth/gds/callback?code=
|
659
|
+
Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 113)
|
660
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-07-28 10:11:14 +0000
|
661
|
+
Started GET "/auth/gds/callback?code=Agxoyv8mKmmRsiQnuIFYhe5fSfvO2G3qkzq_TL5SRfI&state=408db98efb6da62cb34c6f41e01cb5715e72ac856538e8fe" for 127.0.0.1 at 2020-07-28 10:11:14 +0000
|
1007
662
|
Processing by AuthenticationsController#callback as HTML
|
1008
|
-
Parameters: {"code"=>"
|
663
|
+
Parameters: {"code"=>"Agxoyv8mKmmRsiQnuIFYhe5fSfvO2G3qkzq_TL5SRfI", "state"=>"408db98efb6da62cb34c6f41e01cb5715e72ac856538e8fe"}
|
1009
664
|
Authenticating with gds_sso strategy
|
1010
|
-
[1m[36mUser Load (0.
|
1011
|
-
[1m[35m (0.1ms)[0m begin transaction
|
1012
|
-
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
1013
|
-
[1m[35m (0.0ms)[0m begin transaction
|
1014
|
-
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
665
|
+
[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]]
|
1015
666
|
Redirected to http://www.example-client.com/restricted
|
1016
|
-
Completed 302 Found in
|
1017
|
-
Started GET "/restricted" for 127.0.0.1 at
|
667
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.2ms | Allocations: 1016)
|
668
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-07-28 10:11:14 +0000
|
1018
669
|
Processing by ExampleController#restricted as HTML
|
1019
|
-
[1m[
|
1020
|
-
|
1021
|
-
|
1022
|
-
|
670
|
+
[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", 0], ["LIMIT", 1]]
|
671
|
+
Rendering text template
|
672
|
+
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
673
|
+
Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.2ms | Allocations: 706)
|
674
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-07-29 06:16:14 +0000
|
1023
675
|
Processing by ExampleController#restricted as HTML
|
1024
676
|
Authenticating with gds_sso strategy
|
1025
|
-
Completed in
|
1026
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
1027
|
-
Started GET "/restricted" for 127.0.0.1 at
|
677
|
+
Completed in 1ms (ActiveRecord: 0.0ms | Allocations: 499)
|
678
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-07-29 06:16:14 +0000
|
679
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-07-28 10:11:14 +0000
|
1028
680
|
Processing by ExampleController#restricted as HTML
|
1029
681
|
Authenticating with gds_sso strategy
|
1030
|
-
Completed in 0ms (ActiveRecord: 0.0ms)
|
1031
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
1032
|
-
Started GET "/auth/gds/callback?code=
|
682
|
+
Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 113)
|
683
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-07-28 10:11:14 +0000
|
684
|
+
Started GET "/auth/gds/callback?code=JAilgkkSwSh7mM0JcpjQ_pHblu106hx6MxAA_a3NVzM&state=9e438e307f854d56ff9e71f8662eeb4781f366b28276370c" for 127.0.0.1 at 2020-07-28 10:11:14 +0000
|
1033
685
|
Processing by AuthenticationsController#callback as HTML
|
1034
|
-
Parameters: {"code"=>"
|
686
|
+
Parameters: {"code"=>"JAilgkkSwSh7mM0JcpjQ_pHblu106hx6MxAA_a3NVzM", "state"=>"9e438e307f854d56ff9e71f8662eeb4781f366b28276370c"}
|
1035
687
|
Authenticating with gds_sso strategy
|
1036
|
-
[1m[36mUser Load (0.
|
1037
|
-
[1m[35m (0.1ms)[0m begin transaction
|
1038
|
-
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
1039
|
-
[1m[35m (0.0ms)[0m begin transaction
|
1040
|
-
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
688
|
+
[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]]
|
1041
689
|
Redirected to http://www.example-client.com/restricted
|
1042
|
-
Completed 302 Found in
|
1043
|
-
Started GET "/restricted" for 127.0.0.1 at
|
1044
|
-
Processing by ExampleController#restricted as HTML
|
1045
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
|
1046
|
-
Rendered text template (0.0ms)
|
1047
|
-
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
1048
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-07-19 09:26:04 +0000
|
690
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.2ms | Allocations: 1016)
|
691
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-07-28 10:11:14 +0000
|
1049
692
|
Processing by ExampleController#restricted as HTML
|
1050
|
-
|
1051
|
-
|
1052
|
-
|
1053
|
-
|
1054
|
-
|
1055
|
-
|
1056
|
-
|
1057
|
-
[1m[
|
1058
|
-
|
1059
|
-
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
1060
|
-
[1m[35m (0.1ms)[0m begin transaction
|
1061
|
-
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
1062
|
-
Redirected to http://www.example-client.com/restricted
|
1063
|
-
Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
|
1064
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-07-19 09:26:04 +0000
|
1065
|
-
Processing by ExampleController#restricted as HTML
|
1066
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
|
1067
|
-
Rendered text template (0.0ms)
|
1068
|
-
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
1069
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-07-18 13:21:04 +0000
|
693
|
+
[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", 0], ["LIMIT", 1]]
|
694
|
+
Rendering text template
|
695
|
+
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
696
|
+
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.1ms | Allocations: 706)
|
697
|
+
[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]]
|
698
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
699
|
+
[1m[36mUser Update (0.3ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", 1], ["id", 12]]
|
700
|
+
[1m[35m (4.9ms)[0m [1m[36mcommit transaction[0m
|
701
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-07-28 10:11:14 +0000
|
1070
702
|
Processing by ExampleController#restricted as HTML
|
703
|
+
[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", 0], ["LIMIT", 1]]
|
1071
704
|
Authenticating with gds_sso strategy
|
1072
|
-
Completed in
|
1073
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
1074
|
-
Started GET "/auth/gds/callback?code=
|
705
|
+
Completed in 1ms (ActiveRecord: 0.1ms | Allocations: 575)
|
706
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-07-28 10:11:14 +0000
|
707
|
+
Started GET "/auth/gds/callback?code=0CKodWNlhfpLIzo7X1jEXf3Vp2MlJhPeMvagU2OhLqU&state=6dc239a4a1e50e667c93ec1a9ff694589798cd05bcc3a671" for 127.0.0.1 at 2020-07-28 10:11:14 +0000
|
1075
708
|
Processing by AuthenticationsController#callback as HTML
|
1076
|
-
Parameters: {"code"=>"
|
709
|
+
Parameters: {"code"=>"0CKodWNlhfpLIzo7X1jEXf3Vp2MlJhPeMvagU2OhLqU", "state"=>"6dc239a4a1e50e667c93ec1a9ff694589798cd05bcc3a671"}
|
1077
710
|
Authenticating with gds_sso strategy
|
1078
|
-
[1m[36mUser Load (0.
|
1079
|
-
[1m[35m (0.1ms)[0m
|
1080
|
-
[1m[
|
1081
|
-
[1m[35m (
|
1082
|
-
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
711
|
+
[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]]
|
712
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
713
|
+
[1m[36mUser Update (0.3ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", 0], ["id", 12]]
|
714
|
+
[1m[35m (5.0ms)[0m [1m[36mcommit transaction[0m
|
1083
715
|
Redirected to http://www.example-client.com/restricted
|
1084
|
-
Completed 302 Found in
|
1085
|
-
Started GET "/restricted" for 127.0.0.1 at
|
1086
|
-
Processing by ExampleController#restricted as HTML
|
1087
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "integration-uid"], ["remotely_signed_out", "f"]]
|
1088
|
-
Rendered text template (0.0ms)
|
1089
|
-
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
1090
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-07-19 09:16:04 +0000
|
716
|
+
Completed 302 Found in 9ms (ActiveRecord: 5.6ms | Allocations: 1226)
|
717
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-07-28 10:11:15 +0000
|
1091
718
|
Processing by ExampleController#restricted as HTML
|
1092
|
-
[1m[36mUser Load (0.2ms)[0m [
|
1093
|
-
|
1094
|
-
|
1095
|
-
|
1096
|
-
|
1097
|
-
|
1098
|
-
[1m[
|
1099
|
-
[1m[35m (
|
1100
|
-
[1m[36mUser
|
1101
|
-
[1m[35m (
|
1102
|
-
[1m[
|
1103
|
-
[1m[
|
1104
|
-
[1m[
|
1105
|
-
|
1106
|
-
|
1107
|
-
|
1108
|
-
|
1109
|
-
Processing by
|
1110
|
-
|
1111
|
-
|
1112
|
-
|
1113
|
-
|
1114
|
-
|
1115
|
-
|
1116
|
-
|
1117
|
-
|
1118
|
-
|
1119
|
-
|
1120
|
-
|
1121
|
-
Processing by
|
1122
|
-
|
1123
|
-
[1m[
|
1124
|
-
[1m[
|
1125
|
-
[1m[
|
1126
|
-
[1m[
|
1127
|
-
|
1128
|
-
[1m[
|
1129
|
-
[1m[
|
1130
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d38152"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
|
1131
|
-
[1m[36m (4.4ms)[0m [1mcommit transaction[0m
|
1132
|
-
[1m[35m (0.0ms)[0m begin transaction
|
1133
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["uid", "a1s2d34363"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
1134
|
-
[1m[35m (5.1ms)[0m commit transaction
|
1135
|
-
Processing by Api::UserController#reauth as HTML
|
1136
|
-
Parameters: {"uid"=>"nonexistent-user"}
|
1137
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["uid", "nonexistent-user"]]
|
1138
|
-
Completed 200 OK in 1ms (ActiveRecord: 0.1ms)
|
1139
|
-
[1m[35m (0.0ms)[0m begin transaction
|
1140
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["uid", "a1s2d35000"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
|
1141
|
-
[1m[35m (3.8ms)[0m commit transaction
|
1142
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1143
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d35750"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
1144
|
-
[1m[36m (3.6ms)[0m [1mcommit transaction[0m
|
1145
|
-
Processing by Api::UserController#update as HTML
|
1146
|
-
Parameters: {"uid"=>"a1s2d35000"}
|
1147
|
-
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
1148
|
-
Rendered /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.3ms)
|
1149
|
-
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
1150
|
-
Completed 403 Forbidden in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)
|
1151
|
-
[1m[35m (0.0ms)[0m begin transaction
|
1152
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["uid", "a1s2d3182"], ["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"]]
|
1153
|
-
[1m[35m (6.0ms)[0m commit transaction
|
1154
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1155
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("uid", "email", "name", "permissions") VALUES (?, ?, ?, ?) [["uid", "a1s2d31071"], ["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
1156
|
-
[1m[36m (4.7ms)[0m [1mcommit transaction[0m
|
1157
|
-
Processing by Api::UserController#update as HTML
|
1158
|
-
Parameters: {"uid"=>"a1s2d3182"}
|
1159
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT 1 [["uid", "a1s2d3182"]]
|
1160
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1161
|
-
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "email" = ?, "name" = ?, "permissions" = ?, "organisation_slug" = ?, "organisation_content_id" = ? WHERE "users"."id" = ? [["email", "user@domain.com"], ["name", "Joshua Marshall"], ["permissions", "---\n- signin\n- new permission\n"], ["organisation_slug", "justice-league"], ["organisation_content_id", "aae1319e-5788-4677-998c-f1a53af528d0"], ["id", 11]]
|
1162
|
-
[1m[36m (4.9ms)[0m [1mcommit transaction[0m
|
1163
|
-
Completed 200 OK in 8ms (ActiveRecord: 5.3ms)
|
1164
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 11]]
|
1165
|
-
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["email", "dummyapiuser@domain.com"]]
|
1166
|
-
[1m[35m (0.0ms)[0m begin transaction
|
1167
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("email", "uid", "name", "permissions") VALUES (?, ?, ?, ?)[0m [["email", "dummyapiuser@domain.com"], ["uid", "2932"], ["name", "Dummy API user created by gds-sso"], ["permissions", "---\n- signin\n"]]
|
1168
|
-
[1m[35m (4.2ms)[0m commit transaction
|
1169
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1170
|
-
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = ? [["permissions", "---\n- signin\n- extra_permission\n"], ["id", 13]]
|
1171
|
-
[1m[36m (5.3ms)[0m [1mcommit transaction[0m
|
719
|
+
[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", 0], ["LIMIT", 1]]
|
720
|
+
Rendering text template
|
721
|
+
Rendered text template (Duration: 0.1ms | Allocations: 1)
|
722
|
+
Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.2ms | Allocations: 704)
|
723
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-07-28 10:11:15 +0000
|
724
|
+
Processing by ExampleController#this_requires_signin_permission as JSON
|
725
|
+
[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]]
|
726
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
727
|
+
[1m[36mUser Update (0.3ms)[0m [1m[33mUPDATE "users" SET "disabled" = ? WHERE "users"."id" = ?[0m [["disabled", nil], ["id", 12]]
|
728
|
+
[1m[35m (3.4ms)[0m [1m[36mcommit transaction[0m
|
729
|
+
[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]]
|
730
|
+
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
731
|
+
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
732
|
+
Rendering text template
|
733
|
+
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
734
|
+
Completed 200 OK in 96ms (Views: 0.3ms | ActiveRecord: 4.2ms | Allocations: 7451)
|
735
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-07-28 10:11:15 +0000
|
736
|
+
Processing by ExampleController#restricted as JSON
|
737
|
+
[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]]
|
738
|
+
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
739
|
+
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
740
|
+
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
741
|
+
Rendering text template
|
742
|
+
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
743
|
+
Completed 200 OK in 87ms (Views: 0.3ms | ActiveRecord: 0.3ms | Allocations: 6804)
|
744
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-07-28 10:11:15 +0000
|
745
|
+
Processing by ExampleController#restricted as JSON
|
746
|
+
Completed in 31ms (ActiveRecord: 0.0ms | Allocations: 1852)
|
747
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-07-28 10:11:15 +0000
|
748
|
+
Processing by ExampleController#restricted as JSON
|
749
|
+
Completed in 16ms (ActiveRecord: 0.0ms | Allocations: 1958)
|
750
|
+
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["email", "dummyapiuser@domain.com"], ["LIMIT", 1]]
|
751
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
752
|
+
[1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Dummy API user created by gds-sso"], ["uid", "2568"], ["email", "dummyapiuser@domain.com"], ["permissions", "---\n- signin\n"]]
|
753
|
+
[1m[35m (4.2ms)[0m [1m[36mcommit transaction[0m
|
754
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
755
|
+
[1m[36mUser Update (0.2ms)[0m [1m[33mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = ?[0m [["permissions", "---\n- signin\n- extra_permission\n"], ["id", 13]]
|
756
|
+
[1m[35m (4.0ms)[0m [1m[36mcommit transaction[0m
|
1172
757
|
[1m[35m (0.1ms)[0m [1m[35mDROP TABLE IF EXISTS "users"[0m
|
1173
|
-
[1m[35m (1.
|
1174
|
-
[1m[35m (
|
1175
|
-
[1m[35m (
|
758
|
+
[1m[35m (1.4ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
759
|
+
[1m[35m (4.0ms)[0m [1m[35mCREATE TABLE "users" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar NOT NULL, "uid" varchar NOT NULL, "email" varchar NOT NULL, "remotely_signed_out" boolean, "permissions" text, "organisation_slug" varchar, "organisation_content_id" varchar, "disabled" boolean DEFAULT 'f')[0m
|
760
|
+
[1m[35m (4.9ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
1176
761
|
[1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
1177
762
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1178
|
-
[1m[36mActiveRecord::InternalMetadata Create (0.
|
1179
|
-
[1m[35m (
|
1180
|
-
[1m[35m (
|
763
|
+
[1m[36mActiveRecord::InternalMetadata Create (0.2ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "environment"], ["value", "test"], ["created_at", "2020-07-28 10:11:20.563604"], ["updated_at", "2020-07-28 10:11:20.563604"]]
|
764
|
+
[1m[35m (4.7ms)[0m [1m[36mcommit transaction[0m
|
765
|
+
[1m[35m (3.3ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
|
1181
766
|
[1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
1182
767
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1183
768
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1184
769
|
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["email", "dummyapiuser@domain.com"], ["LIMIT", 1]]
|
1185
770
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1186
|
-
[1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Dummy API user created by gds-sso"], ["uid", "
|
1187
|
-
[1m[35m (
|
771
|
+
[1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Dummy API user created by gds-sso"], ["uid", "567"], ["email", "dummyapiuser@domain.com"], ["permissions", "---\n- signin\n"]]
|
772
|
+
[1m[35m (18.5ms)[0m [1m[36mcommit transaction[0m
|
1188
773
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1189
774
|
[1m[36mUser Update (0.3ms)[0m [1m[33mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = ?[0m [["permissions", "---\n- signin\n- extra_permission\n"], ["id", 1]]
|
1190
|
-
[1m[35m (
|
1191
|
-
|
775
|
+
[1m[35m (29.7ms)[0m [1m[36mcommit transaction[0m
|
776
|
+
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "asd"], ["LIMIT", 1]]
|
777
|
+
[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]]
|
778
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
779
|
+
[1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions", "organisation_slug", "organisation_content_id", "disabled") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["name", "A Name"], ["uid", "asd"], ["email", "user@example.com"], ["permissions", "---\n- signin\n"], ["organisation_slug", "hmrc"], ["organisation_content_id", "67a2b78d-eee3-45b3-80e2-792e7f71cecc"], ["disabled", nil]]
|
780
|
+
[1m[35m (14.3ms)[0m [1m[36mcommit transaction[0m
|
781
|
+
[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]]
|
782
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
783
|
+
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
784
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-07-28 10:11:21 +0000
|
1192
785
|
Processing by ExampleController#restricted as HTML
|
1193
786
|
Authenticating with gds_sso strategy
|
1194
787
|
Completed in 5ms (ActiveRecord: 0.0ms)
|
1195
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at
|
788
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-07-28 10:11:21 +0000
|
1196
789
|
Processing by ExampleController#this_requires_signin_permission as JSON
|
1197
|
-
[1m[36mUser Load (0.
|
790
|
+
[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]]
|
1198
791
|
[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]]
|
1199
792
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1200
793
|
[1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions", "disabled") VALUES (?, ?, ?, ?, ?)[0m [["name", "Test User"], ["uid", "integration-uid"], ["email", "test@example-client.com"], ["permissions", "---\n- signin\n"], ["disabled", nil]]
|
1201
|
-
[1m[35m (
|
794
|
+
[1m[35m (5.8ms)[0m [1m[36mcommit transaction[0m
|
1202
795
|
[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]]
|
1203
796
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1204
797
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
@@ -1207,171 +800,171 @@ Processing by ExampleController#this_requires_signin_permission as JSON
|
|
1207
800
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1208
801
|
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
1209
802
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1210
|
-
[1m[35m (0.
|
803
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1211
804
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1212
|
-
[1m[36mUser Update (0.3ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "f"], ["id",
|
1213
|
-
[1m[35m (
|
805
|
+
[1m[36mUser Update (0.3ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "f"], ["id", 3]]
|
806
|
+
[1m[35m (16.6ms)[0m [1m[36mcommit transaction[0m
|
1214
807
|
Rendering text template
|
1215
808
|
Rendered text template (0.0ms)
|
1216
|
-
Completed 200 OK in
|
1217
|
-
Started GET "/restricted" for 127.0.0.1 at
|
809
|
+
Completed 200 OK in 104ms (Views: 3.5ms | ActiveRecord: 24.1ms)
|
810
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-07-28 10:11:21 +0000
|
811
|
+
Processing by ExampleController#restricted as JSON
|
812
|
+
Completed in 18ms (ActiveRecord: 0.0ms)
|
813
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-07-28 10:11:21 +0000
|
1218
814
|
Processing by ExampleController#restricted as JSON
|
1219
|
-
Completed in
|
1220
|
-
Started GET "/restricted" for 127.0.0.1 at
|
815
|
+
Completed in 23ms (ActiveRecord: 0.0ms)
|
816
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-07-28 10:11:21 +0000
|
1221
817
|
Processing by ExampleController#restricted as JSON
|
1222
818
|
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
1223
819
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1224
820
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1225
821
|
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
1226
|
-
[1m[35m (0.
|
1227
|
-
[1m[35m (0.
|
822
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
823
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1228
824
|
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
1229
825
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1230
|
-
[1m[35m (0.
|
826
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1231
827
|
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
1232
828
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1233
|
-
[1m[35m (0.
|
829
|
+
[1m[35m (0.2ms)[0m [1m[36mcommit transaction[0m
|
1234
830
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1235
831
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1236
832
|
Rendering text template
|
1237
833
|
Rendered text template (0.0ms)
|
1238
|
-
Completed 200 OK in
|
1239
|
-
Started GET "/restricted" for 127.0.0.1 at
|
1240
|
-
Processing by ExampleController#restricted as
|
1241
|
-
|
1242
|
-
|
834
|
+
Completed 200 OK in 59ms (Views: 0.4ms | ActiveRecord: 0.9ms)
|
835
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-07-28 10:11:21 +0000
|
836
|
+
Processing by ExampleController#restricted as HTML
|
837
|
+
Authenticating with gds_sso strategy
|
838
|
+
Completed in 0ms (ActiveRecord: 0.0ms)
|
839
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-07-28 10:11:21 +0000
|
840
|
+
Started GET "/auth/gds/callback?code=P_LklHe2gx1uTfoC98GPH4WLvzyBTLts-VPXCS2FP7Y&state=f84bb098719835d98b54b321d635174357451dcf2d7fb07c" for 127.0.0.1 at 2020-07-28 10:11:22 +0000
|
841
|
+
Processing by AuthenticationsController#callback as HTML
|
842
|
+
Parameters: {"code"=>"P_LklHe2gx1uTfoC98GPH4WLvzyBTLts-VPXCS2FP7Y", "state"=>"f84bb098719835d98b54b321d635174357451dcf2d7fb07c"}
|
843
|
+
Authenticating with gds_sso strategy
|
844
|
+
[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]]
|
845
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
846
|
+
[1m[36mUser Update (0.3ms)[0m [1m[33mUPDATE "users" SET "disabled" = ? WHERE "users"."id" = ?[0m [["disabled", "f"], ["id", 3]]
|
847
|
+
[1m[35m (14.9ms)[0m [1m[36mcommit transaction[0m
|
848
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
849
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
850
|
+
Redirected to http://www.example-client.com/restricted
|
851
|
+
Completed 302 Found in 20ms (ActiveRecord: 15.5ms)
|
852
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-07-28 10:11:22 +0000
|
853
|
+
Processing by ExampleController#restricted as HTML
|
854
|
+
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
855
|
+
Rendering text template
|
856
|
+
Rendered text template (0.0ms)
|
857
|
+
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.2ms)
|
858
|
+
Started GET "/" for 127.0.0.1 at 2020-07-28 10:11:22 +0000
|
859
|
+
Processing by ExampleController#index as HTML
|
860
|
+
Rendering text template
|
861
|
+
Rendered text template (0.0ms)
|
862
|
+
Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
863
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-07-28 10:11:22 +0000
|
1243
864
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
1244
865
|
Authenticating with gds_sso strategy
|
1245
866
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
1246
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
1247
|
-
Started GET "/auth/gds/callback?code=
|
867
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-07-28 10:11:22 +0000
|
868
|
+
Started GET "/auth/gds/callback?code=ZN0r75qfZtwcnW6sVRGBHXb0qIrOaa3n93X6wzYWnSc&state=bb5593d63fd3eda7b2055ad46376964c8772acef1320a183" for 127.0.0.1 at 2020-07-28 10:11:22 +0000
|
1248
869
|
Processing by AuthenticationsController#callback as HTML
|
1249
|
-
Parameters: {"code"=>"
|
870
|
+
Parameters: {"code"=>"ZN0r75qfZtwcnW6sVRGBHXb0qIrOaa3n93X6wzYWnSc", "state"=>"bb5593d63fd3eda7b2055ad46376964c8772acef1320a183"}
|
1250
871
|
Authenticating with gds_sso strategy
|
1251
872
|
[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]]
|
1252
873
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1253
|
-
[1m[
|
1254
|
-
[1m[35m (7.7ms)[0m [1m[36mcommit transaction[0m
|
874
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1255
875
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1256
876
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1257
877
|
Redirected to http://www.example-client.com/this_requires_signin_permission
|
1258
|
-
Completed 302 Found in
|
1259
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at
|
878
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
|
879
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-07-28 10:11:22 +0000
|
1260
880
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
1261
|
-
[1m[36mUser Load (0.
|
881
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
1262
882
|
Rendering text template
|
1263
883
|
Rendered text template (0.0ms)
|
1264
|
-
Completed 200 OK in
|
1265
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at
|
884
|
+
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
885
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-07-28 10:11:22 +0000
|
1266
886
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
1267
887
|
Authenticating with gds_sso strategy
|
1268
888
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
1269
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
1270
|
-
Started GET "/auth/gds/callback?code=
|
889
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-07-28 10:11:22 +0000
|
890
|
+
Started GET "/auth/gds/callback?code=XtsuQ4QET_S_LEFerL4SktH8OuB2fop_qw4VQPvNw6c&state=5a09c642a67e0fbe4c5ca5ccf72f98dd5b4c377fe563f392" for 127.0.0.1 at 2020-07-28 10:11:22 +0000
|
1271
891
|
Processing by AuthenticationsController#callback as HTML
|
1272
|
-
Parameters: {"code"=>"
|
892
|
+
Parameters: {"code"=>"XtsuQ4QET_S_LEFerL4SktH8OuB2fop_qw4VQPvNw6c", "state"=>"5a09c642a67e0fbe4c5ca5ccf72f98dd5b4c377fe563f392"}
|
1273
893
|
Authenticating with gds_sso strategy
|
1274
894
|
[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]]
|
1275
895
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1276
896
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1277
897
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1278
|
-
[1m[35m (0.
|
898
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1279
899
|
Redirected to http://www.example-client.com/this_requires_signin_permission
|
1280
|
-
Completed 302 Found in
|
1281
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at
|
900
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
|
901
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-07-28 10:11:22 +0000
|
1282
902
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
1283
903
|
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
1284
904
|
Rendering text template
|
1285
905
|
Rendered text template (0.0ms)
|
1286
906
|
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
1287
|
-
Started GET "/restricted" for 127.0.0.1 at
|
907
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-07-28 10:11:22 +0000
|
1288
908
|
Processing by ExampleController#restricted as HTML
|
1289
909
|
Authenticating with gds_sso strategy
|
1290
|
-
Completed in
|
1291
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
1292
|
-
Started GET "/auth/gds/callback?code=
|
910
|
+
Completed in 0ms (ActiveRecord: 0.0ms)
|
911
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-07-28 10:11:22 +0000
|
912
|
+
Started GET "/auth/gds/callback?code=J8lwR8nnXnHwMNcdF_S81OwcCWATJVORinj2_XO5f18&state=1569939c766c6757642d0842377794a7f6e2aa0da000f731" for 127.0.0.1 at 2020-07-28 10:11:22 +0000
|
1293
913
|
Processing by AuthenticationsController#callback as HTML
|
1294
|
-
Parameters: {"code"=>"
|
914
|
+
Parameters: {"code"=>"J8lwR8nnXnHwMNcdF_S81OwcCWATJVORinj2_XO5f18", "state"=>"1569939c766c6757642d0842377794a7f6e2aa0da000f731"}
|
1295
915
|
Authenticating with gds_sso strategy
|
1296
916
|
[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]]
|
1297
917
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1298
|
-
[1m[35m (0.
|
1299
|
-
[1m[35m (0.
|
1300
|
-
[1m[35m (0.
|
918
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
919
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
920
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1301
921
|
Redirected to http://www.example-client.com/restricted
|
1302
922
|
Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
|
1303
|
-
Started GET "/restricted" for 127.0.0.1 at
|
923
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-07-28 10:11:22 +0000
|
1304
924
|
Processing by ExampleController#restricted as HTML
|
1305
925
|
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
1306
926
|
Rendering text template
|
1307
927
|
Rendered text template (0.0ms)
|
1308
928
|
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
1309
|
-
Started GET "/restricted" for 127.0.0.1 at
|
929
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-07-28 10:11:22 +0000
|
1310
930
|
Processing by ExampleController#restricted as HTML
|
1311
931
|
Authenticating with gds_sso strategy
|
1312
932
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
1313
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
1314
|
-
Started GET "/auth/gds/callback?code=
|
933
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-07-28 10:11:22 +0000
|
934
|
+
Started GET "/auth/gds/callback?code=blV2C8QALQ9e_f_NxQbtbqmeUixHRtnNwyHwEEr_k8o&state=520555c8cc018aadbfa6bee8f3f70f698a9b24bcafe43b85" for 127.0.0.1 at 2020-07-28 10:11:23 +0000
|
1315
935
|
Processing by AuthenticationsController#callback as HTML
|
1316
|
-
Parameters: {"code"=>"
|
936
|
+
Parameters: {"code"=>"blV2C8QALQ9e_f_NxQbtbqmeUixHRtnNwyHwEEr_k8o", "state"=>"520555c8cc018aadbfa6bee8f3f70f698a9b24bcafe43b85"}
|
1317
937
|
Authenticating with gds_sso strategy
|
1318
938
|
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
1319
|
-
[1m[35m (0.
|
1320
|
-
[1m[35m (0.
|
1321
|
-
[1m[35m (0.
|
939
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
940
|
+
[1m[35m (0.2ms)[0m [1m[36mcommit transaction[0m
|
941
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1322
942
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1323
943
|
Redirected to http://www.example-client.com/restricted
|
1324
944
|
Completed 302 Found in 4ms (ActiveRecord: 0.6ms)
|
1325
|
-
Started GET "/restricted" for 127.0.0.1 at
|
945
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-07-28 10:11:23 +0000
|
1326
946
|
Processing by ExampleController#restricted as HTML
|
1327
947
|
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
1328
948
|
Rendering text template
|
1329
949
|
Rendered text template (0.0ms)
|
1330
950
|
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
1331
|
-
Started GET "/restricted" for 127.0.0.1 at
|
951
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-07-28 10:11:23 +0000
|
1332
952
|
Processing by ExampleController#restricted as HTML
|
1333
953
|
Authenticating with gds_sso strategy
|
1334
954
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
1335
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
1336
|
-
Started GET "/auth/gds/callback?code=
|
955
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-07-28 10:11:23 +0000
|
956
|
+
Started GET "/auth/gds/callback?code=nYFRLgvp9Vh7yfvxdfyHawy3FV2pA008ZSkUYGAtagQ&state=5210e4a9a5a51d3b2702667414ec72d5149a6e5fc6c5c3bc" for 127.0.0.1 at 2020-07-28 10:11:23 +0000
|
1337
957
|
Processing by AuthenticationsController#callback as HTML
|
1338
|
-
Parameters: {"code"=>"
|
958
|
+
Parameters: {"code"=>"nYFRLgvp9Vh7yfvxdfyHawy3FV2pA008ZSkUYGAtagQ", "state"=>"5210e4a9a5a51d3b2702667414ec72d5149a6e5fc6c5c3bc"}
|
1339
959
|
Authenticating with gds_sso strategy
|
1340
960
|
[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]]
|
1341
961
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1342
|
-
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
1343
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1344
962
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1345
|
-
|
1346
|
-
Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
|
1347
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-07-18 13:21:12 +0000
|
1348
|
-
Processing by ExampleController#restricted as HTML
|
1349
|
-
[1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
1350
|
-
Rendering text template
|
1351
|
-
Rendered text template (0.0ms)
|
1352
|
-
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.5ms)
|
1353
|
-
Started GET "/" for 127.0.0.1 at 2019-07-18 13:21:12 +0000
|
1354
|
-
Processing by ExampleController#index as HTML
|
1355
|
-
Rendering text template
|
1356
|
-
Rendered text template (0.0ms)
|
1357
|
-
Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
1358
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-07-18 13:21:12 +0000
|
1359
|
-
Processing by ExampleController#restricted as HTML
|
1360
|
-
Authenticating with gds_sso strategy
|
1361
|
-
Completed in 1ms (ActiveRecord: 0.0ms)
|
1362
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2019-07-18 13:21:12 +0000
|
1363
|
-
Started GET "/auth/gds/callback?code=0736760cebe296a160898ed52b3443a379fb986b53667d2caa95e137f979536c&state=78082f113110abfee6a9b8e7828776c8949866c0945efc54" for 127.0.0.1 at 2019-07-18 13:21:13 +0000
|
1364
|
-
Processing by AuthenticationsController#callback as HTML
|
1365
|
-
Parameters: {"code"=>"0736760cebe296a160898ed52b3443a379fb986b53667d2caa95e137f979536c", "state"=>"78082f113110abfee6a9b8e7828776c8949866c0945efc54"}
|
1366
|
-
Authenticating with gds_sso strategy
|
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]]
|
1368
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1369
|
-
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
1370
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
963
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1371
964
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1372
965
|
Redirected to http://www.example-client.com/restricted
|
1373
966
|
Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
|
1374
|
-
Started GET "/restricted" for 127.0.0.1 at
|
967
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-07-28 10:11:23 +0000
|
1375
968
|
Processing by ExampleController#restricted as HTML
|
1376
969
|
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
1377
970
|
Rendering text template
|
@@ -1379,200 +972,541 @@ Processing by ExampleController#restricted as HTML
|
|
1379
972
|
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
1380
973
|
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["email", "test@example-client.com"], ["LIMIT", 1]]
|
1381
974
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1382
|
-
[1m[36mUser Update (0.3ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "t"], ["id",
|
1383
|
-
[1m[35m (
|
1384
|
-
Started GET "/restricted" for 127.0.0.1 at
|
975
|
+
[1m[36mUser Update (0.3ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "t"], ["id", 3]]
|
976
|
+
[1m[35m (4.1ms)[0m [1m[36mcommit transaction[0m
|
977
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-07-28 10:11:23 +0000
|
1385
978
|
Processing by ExampleController#restricted as HTML
|
1386
979
|
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
1387
980
|
Authenticating with gds_sso strategy
|
1388
|
-
Completed in
|
1389
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
1390
|
-
Started GET "/auth/gds/callback?code=
|
981
|
+
Completed in 1ms (ActiveRecord: 0.1ms)
|
982
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-07-28 10:11:23 +0000
|
983
|
+
Started GET "/auth/gds/callback?code=fCAi8JIcOFPJoTA2vL5a-PXCiUw9rzKafqtA0re-IgE&state=1938240ddcc5b1d715fd2191a14b8b0d0fd4bc733a50ae01" for 127.0.0.1 at 2020-07-28 10:11:23 +0000
|
1391
984
|
Processing by AuthenticationsController#callback as HTML
|
1392
|
-
Parameters: {"code"=>"
|
985
|
+
Parameters: {"code"=>"fCAi8JIcOFPJoTA2vL5a-PXCiUw9rzKafqtA0re-IgE", "state"=>"1938240ddcc5b1d715fd2191a14b8b0d0fd4bc733a50ae01"}
|
1393
986
|
Authenticating with gds_sso strategy
|
1394
987
|
[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]]
|
1395
988
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1396
989
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1397
|
-
[1m[35m (0.
|
1398
|
-
[1m[36mUser Update (0.
|
1399
|
-
[1m[35m (
|
990
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
991
|
+
[1m[36mUser Update (0.3ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "f"], ["id", 3]]
|
992
|
+
[1m[35m (4.1ms)[0m [1m[36mcommit transaction[0m
|
1400
993
|
Redirected to http://www.example-client.com/restricted
|
1401
|
-
Completed 302 Found in
|
1402
|
-
Started GET "/restricted" for 127.0.0.1 at
|
994
|
+
Completed 302 Found in 8ms (ActiveRecord: 4.7ms)
|
995
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-07-28 10:11:23 +0000
|
1403
996
|
Processing by ExampleController#restricted as HTML
|
1404
997
|
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
1405
998
|
Rendering text template
|
1406
999
|
Rendered text template (0.0ms)
|
1407
|
-
Completed 200 OK in
|
1408
|
-
Started GET "/restricted" for 127.0.0.1 at
|
1000
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
1001
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-07-28 10:11:23 +0000
|
1409
1002
|
Processing by ExampleController#restricted as HTML
|
1410
1003
|
Authenticating with gds_sso strategy
|
1411
1004
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
1412
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
1413
|
-
Started GET "/auth/gds/callback?code=
|
1005
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-07-28 10:11:23 +0000
|
1006
|
+
Started GET "/auth/gds/callback?code=WPs6YBEZPQypco2N5D-vHK55aJbmPOM12Ptdpm-G910&state=34cf706bcca8af2534e84758deb3357d60aa0e70ad1f4d2f" for 127.0.0.1 at 2020-07-28 10:11:23 +0000
|
1414
1007
|
Processing by AuthenticationsController#callback as HTML
|
1415
|
-
Parameters: {"code"=>"
|
1008
|
+
Parameters: {"code"=>"WPs6YBEZPQypco2N5D-vHK55aJbmPOM12Ptdpm-G910", "state"=>"34cf706bcca8af2534e84758deb3357d60aa0e70ad1f4d2f"}
|
1416
1009
|
Authenticating with gds_sso strategy
|
1417
1010
|
[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]]
|
1418
1011
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1419
|
-
[1m[35m (0.
|
1012
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1420
1013
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1421
|
-
[1m[35m (0.
|
1014
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1422
1015
|
Redirected to http://www.example-client.com/restricted
|
1423
1016
|
Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
|
1424
|
-
Started GET "/restricted" for 127.0.0.1 at
|
1425
|
-
Processing by ExampleController#restricted as HTML
|
1426
|
-
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
1427
|
-
Rendering text template
|
1428
|
-
Rendered text template (0.0ms)
|
1429
|
-
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.2ms)
|
1430
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-07-19 09:16:13 +0000
|
1017
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-07-28 10:11:23 +0000
|
1431
1018
|
Processing by ExampleController#restricted as HTML
|
1432
1019
|
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
1433
1020
|
Rendering text template
|
1434
1021
|
Rendered text template (0.0ms)
|
1435
|
-
Completed 200 OK in
|
1436
|
-
Started GET "/restricted" for 127.0.0.1 at
|
1022
|
+
Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.1ms)
|
1023
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-07-29 06:16:23 +0000
|
1437
1024
|
Processing by ExampleController#restricted as HTML
|
1438
1025
|
Authenticating with gds_sso strategy
|
1439
|
-
Completed in
|
1440
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
1441
|
-
Started GET "/auth/gds/callback?code=
|
1026
|
+
Completed in 1ms (ActiveRecord: 0.0ms)
|
1027
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-07-29 06:16:23 +0000
|
1028
|
+
Started GET "/auth/gds/callback?code=OYWbMAH0X6LIjZDJMTZT-57akHXHJ0dc5gsvchFSfYU&state=780869fba9ba3290e6a5ed74cb4dc1f4be362e657275990a" for 127.0.0.1 at 2020-07-29 06:16:23 +0000
|
1442
1029
|
Processing by AuthenticationsController#callback as HTML
|
1443
|
-
Parameters: {"code"=>"
|
1030
|
+
Parameters: {"code"=>"OYWbMAH0X6LIjZDJMTZT-57akHXHJ0dc5gsvchFSfYU", "state"=>"780869fba9ba3290e6a5ed74cb4dc1f4be362e657275990a"}
|
1444
1031
|
Authenticating with gds_sso strategy
|
1445
1032
|
[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]]
|
1446
1033
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1447
|
-
[1m[35m (0.
|
1034
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1448
1035
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1449
|
-
[1m[35m (0.
|
1036
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1450
1037
|
Redirected to http://www.example-client.com/restricted
|
1451
1038
|
Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
|
1452
|
-
Started GET "/restricted" for 127.0.0.1 at
|
1039
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-07-29 06:16:23 +0000
|
1453
1040
|
Processing by ExampleController#restricted as HTML
|
1454
1041
|
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
1455
1042
|
Rendering text template
|
1456
1043
|
Rendered text template (0.0ms)
|
1457
1044
|
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
1458
|
-
Started GET "/restricted" for 127.0.0.1 at
|
1459
|
-
Processing by ExampleController#restricted as HTML
|
1460
|
-
Authenticating with gds_sso strategy
|
1461
|
-
Completed in 1ms (ActiveRecord: 0.0ms)
|
1462
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2019-07-19 09:26:13 +0000
|
1463
|
-
Started GET "/restricted" for 127.0.0.1 at 2019-07-18 13:21:13 +0000
|
1045
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-07-28 10:11:23 +0000
|
1464
1046
|
Processing by ExampleController#restricted as HTML
|
1465
1047
|
Authenticating with gds_sso strategy
|
1466
1048
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
1467
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
1468
|
-
Started GET "/auth/gds/callback?code=
|
1049
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-07-28 10:11:23 +0000
|
1050
|
+
Started GET "/auth/gds/callback?code=uLPgIDvNdONxlHYAhrP-Z9qFihfQw8JccqQTnst9sFk&state=6dd140252e8d98b66bd282ff41d795913891fc09025b10b6" for 127.0.0.1 at 2020-07-28 10:11:24 +0000
|
1469
1051
|
Processing by AuthenticationsController#callback as HTML
|
1470
|
-
Parameters: {"code"=>"
|
1052
|
+
Parameters: {"code"=>"uLPgIDvNdONxlHYAhrP-Z9qFihfQw8JccqQTnst9sFk", "state"=>"6dd140252e8d98b66bd282ff41d795913891fc09025b10b6"}
|
1471
1053
|
Authenticating with gds_sso strategy
|
1472
1054
|
[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]]
|
1473
1055
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1474
|
-
[1m[35m (0.
|
1475
|
-
[1m[35m (0.
|
1056
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1057
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1476
1058
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1477
1059
|
Redirected to http://www.example-client.com/restricted
|
1478
|
-
Completed 302 Found in 4ms (ActiveRecord: 0.
|
1479
|
-
Started GET "/restricted" for 127.0.0.1 at
|
1060
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
|
1061
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-07-28 10:11:24 +0000
|
1480
1062
|
Processing by ExampleController#restricted as HTML
|
1481
1063
|
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
1482
1064
|
Rendering text template
|
1483
1065
|
Rendered text template (0.0ms)
|
1484
|
-
Completed 200 OK in
|
1485
|
-
Started GET "/restricted" for 127.0.0.1 at
|
1066
|
+
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
1067
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-07-29 06:06:24 +0000
|
1068
|
+
Processing by ExampleController#restricted as HTML
|
1069
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
1070
|
+
Rendering text template
|
1071
|
+
Rendered text template (0.0ms)
|
1072
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
1073
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-07-28 10:11:24 +0000
|
1486
1074
|
Processing by ExampleController#restricted as HTML
|
1487
1075
|
Authenticating with gds_sso strategy
|
1488
1076
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
1489
|
-
Started GET "/auth/gds" for 127.0.0.1 at
|
1490
|
-
Started GET "/auth/gds/callback?code=
|
1077
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-07-28 10:11:24 +0000
|
1078
|
+
Started GET "/auth/gds/callback?code=HyaBgBCoecHgzI0rmkV0BmJo4Gm3yU719FzMP8B5Z5I&state=f6ad088570995cb0cd16ad099e57194bba41b9e0d79e4095" for 127.0.0.1 at 2020-07-28 10:11:24 +0000
|
1491
1079
|
Processing by AuthenticationsController#callback as HTML
|
1492
|
-
Parameters: {"code"=>"
|
1080
|
+
Parameters: {"code"=>"HyaBgBCoecHgzI0rmkV0BmJo4Gm3yU719FzMP8B5Z5I", "state"=>"f6ad088570995cb0cd16ad099e57194bba41b9e0d79e4095"}
|
1493
1081
|
Authenticating with gds_sso strategy
|
1494
|
-
[1m[36mUser Load (0.
|
1495
|
-
[1m[35m (0.
|
1082
|
+
[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]]
|
1083
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1496
1084
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1497
1085
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1498
1086
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1499
1087
|
Redirected to http://www.example-client.com/restricted
|
1500
|
-
Completed 302 Found in
|
1501
|
-
Started GET "/restricted" for 127.0.0.1 at
|
1088
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
|
1089
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-07-28 10:11:24 +0000
|
1502
1090
|
Processing by ExampleController#restricted as HTML
|
1503
1091
|
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
1504
1092
|
Rendering text template
|
1505
1093
|
Rendered text template (0.0ms)
|
1506
|
-
Completed 200 OK in
|
1507
|
-
|
1508
|
-
|
1094
|
+
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
1095
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-07-29 06:16:24 +0000
|
1096
|
+
Processing by ExampleController#restricted as HTML
|
1097
|
+
Authenticating with gds_sso strategy
|
1098
|
+
Completed in 1ms (ActiveRecord: 0.0ms)
|
1099
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-07-29 06:16:24 +0000
|
1100
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1101
|
+
[1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d31368"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
1102
|
+
[1m[35m (3.5ms)[0m [1m[36mcommit transaction[0m
|
1509
1103
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1510
|
-
[1m[36mUser Create (0.
|
1511
|
-
[1m[35m (
|
1512
|
-
|
1104
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d39668"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
1105
|
+
[1m[35m (3.1ms)[0m [1m[36mcommit transaction[0m
|
1106
|
+
Processing by Api::UserController#update as HTML
|
1107
|
+
Parameters: {"uid"=>"a1s2d31368"}
|
1108
|
+
Rendering /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
|
1109
|
+
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
1110
|
+
Rendered /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.2ms)
|
1111
|
+
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
1112
|
+
Completed 403 Forbidden in 5ms (Views: 5.0ms | ActiveRecord: 0.0ms)
|
1513
1113
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1514
|
-
[1m[
|
1114
|
+
[1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d31349"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
1115
|
+
[1m[35m (3.3ms)[0m [1m[36mcommit transaction[0m
|
1116
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1117
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d39882"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
1118
|
+
[1m[35m (3.4ms)[0m [1m[36mcommit transaction[0m
|
1119
|
+
Processing by Api::UserController#update as HTML
|
1120
|
+
Parameters: {"uid"=>"a1s2d31349"}
|
1121
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "a1s2d31349"], ["LIMIT", 1]]
|
1122
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1123
|
+
[1m[36mUser Update (0.3ms)[0m [1m[33mUPDATE "users" SET "email" = ?, "name" = ?, "permissions" = ?, "organisation_slug" = ?, "organisation_content_id" = ? WHERE "users"."id" = ?[0m [["email", "user@domain.com"], ["name", "Joshua Marshall"], ["permissions", "---\n- signin\n- new permission\n"], ["organisation_slug", "justice-league"], ["organisation_content_id", "aae1319e-5788-4677-998c-f1a53af528d0"], ["id", 6]]
|
1124
|
+
[1m[35m (3.0ms)[0m [1m[36mcommit transaction[0m
|
1125
|
+
Completed 200 OK in 6ms (ActiveRecord: 3.5ms)
|
1126
|
+
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 6], ["LIMIT", 1]]
|
1515
1127
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1516
|
-
[1m[36mUser Create (0.
|
1517
|
-
[1m[35m (
|
1128
|
+
[1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d37989"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
1129
|
+
[1m[35m (4.9ms)[0m [1m[36mcommit transaction[0m
|
1518
1130
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1519
|
-
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "
|
1520
|
-
[1m[35m (
|
1131
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d31905"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
1132
|
+
[1m[35m (2.9ms)[0m [1m[36mcommit transaction[0m
|
1521
1133
|
Processing by Api::UserController#reauth as HTML
|
1522
1134
|
Parameters: {"uid"=>"nonexistent-user"}
|
1523
1135
|
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "nonexistent-user"], ["LIMIT", 1]]
|
1524
1136
|
Completed 200 OK in 1ms (ActiveRecord: 0.1ms)
|
1525
1137
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1526
|
-
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "
|
1527
|
-
[1m[35m (3.
|
1138
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d35833"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
1139
|
+
[1m[35m (3.3ms)[0m [1m[36mcommit transaction[0m
|
1528
1140
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1529
|
-
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "
|
1530
|
-
[1m[35m (
|
1141
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d37396"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
1142
|
+
[1m[35m (3.0ms)[0m [1m[36mcommit transaction[0m
|
1143
|
+
Processing by Api::UserController#reauth as HTML
|
1144
|
+
Parameters: {"uid"=>"a1s2d35833"}
|
1145
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "a1s2d35833"], ["LIMIT", 1]]
|
1146
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1147
|
+
[1m[36mUser Update (0.2ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "t"], ["id", 10]]
|
1148
|
+
[1m[35m (4.0ms)[0m [1m[36mcommit transaction[0m
|
1149
|
+
Completed 200 OK in 6ms (ActiveRecord: 4.3ms)
|
1150
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 10], ["LIMIT", 1]]
|
1151
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1152
|
+
[1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d34035"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
1153
|
+
[1m[35m (3.8ms)[0m [1m[36mcommit transaction[0m
|
1154
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1155
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d31271"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
1156
|
+
[1m[35m (3.7ms)[0m [1m[36mcommit transaction[0m
|
1531
1157
|
Processing by Api::UserController#reauth as HTML
|
1532
|
-
Parameters: {"uid"=>"
|
1158
|
+
Parameters: {"uid"=>"a1s2d34035"}
|
1533
1159
|
Rendering /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
|
1534
1160
|
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
1535
1161
|
Rendered /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.2ms)
|
1536
1162
|
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
1537
|
-
Completed 403 Forbidden in
|
1163
|
+
Completed 403 Forbidden in 1ms (Views: 0.9ms | ActiveRecord: 0.0ms)
|
1164
|
+
[1m[35m (1.5ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
1165
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
1166
|
+
[1m[35m (0.2ms)[0m [1m[35mDROP TABLE IF EXISTS "users"[0m
|
1167
|
+
[1m[35m (5.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 0)[0m
|
1168
|
+
[1m[35m (6.7ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL)[0m
|
1169
|
+
[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]]
|
1538
1170
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1539
|
-
[1m[
|
1540
|
-
[1m[35m (3.
|
1541
|
-
[1m[35m (
|
1542
|
-
[1m[
|
1543
|
-
[1m[35m (
|
1171
|
+
[1m[36mActiveRecord::InternalMetadata Create (0.3ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "environment"], ["value", "test"], ["created_at", "2020-07-28 10:11:32.682361"], ["updated_at", "2020-07-28 10:11:32.682361"]]
|
1172
|
+
[1m[35m (3.6ms)[0m [1m[36mcommit transaction[0m
|
1173
|
+
[1m[35m (3.4ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
|
1174
|
+
[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]]
|
1175
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
1176
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1177
|
+
[1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d36619"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
1178
|
+
[1m[35m (4.1ms)[0m [1m[36mcommit transaction[0m
|
1179
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1180
|
+
[1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d35636"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
1181
|
+
[1m[35m (3.4ms)[0m [1m[36mcommit transaction[0m
|
1544
1182
|
Processing by Api::UserController#reauth as HTML
|
1545
|
-
Parameters: {"uid"=>"
|
1546
|
-
[1m[36mUser Load (0.
|
1547
|
-
|
1548
|
-
[1m[
|
1549
|
-
[1m[
|
1550
|
-
|
1551
|
-
[1m[
|
1552
|
-
[1m[
|
1553
|
-
[1m[
|
1554
|
-
|
1555
|
-
|
1556
|
-
|
1557
|
-
|
1558
|
-
|
1559
|
-
|
1560
|
-
|
1561
|
-
[1m[35m (0.
|
1562
|
-
[1m[36mUser
|
1563
|
-
[1m[35m (
|
1564
|
-
|
1565
|
-
[1m[36mUser
|
1566
|
-
[1m[35m (
|
1567
|
-
|
1568
|
-
|
1569
|
-
[1m[
|
1570
|
-
[1m[
|
1571
|
-
[1m[
|
1183
|
+
Parameters: {"uid"=>"nonexistent-user"}
|
1184
|
+
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "nonexistent-user"], ["LIMIT", 1]]
|
1185
|
+
Completed 200 OK in 3ms (ActiveRecord: 0.2ms | Allocations: 1427)
|
1186
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1187
|
+
[1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d35989"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
1188
|
+
[1m[35m (6.0ms)[0m [1m[36mcommit transaction[0m
|
1189
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1190
|
+
[1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d33992"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
1191
|
+
[1m[35m (3.5ms)[0m [1m[36mcommit transaction[0m
|
1192
|
+
Processing by Api::UserController#reauth as HTML
|
1193
|
+
Parameters: {"uid"=>"a1s2d35989"}
|
1194
|
+
Rendering /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
|
1195
|
+
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
1196
|
+
Rendered /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (Duration: 1.1ms | Allocations: 201)
|
1197
|
+
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
1198
|
+
Completed 403 Forbidden in 7ms (Views: 6.3ms | ActiveRecord: 0.0ms | Allocations: 1977)
|
1199
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1200
|
+
[1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d38773"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
1201
|
+
[1m[35m (4.3ms)[0m [1m[36mcommit transaction[0m
|
1202
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1203
|
+
[1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d36879"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
1204
|
+
[1m[35m (3.5ms)[0m [1m[36mcommit transaction[0m
|
1205
|
+
Processing by Api::UserController#reauth as HTML
|
1206
|
+
Parameters: {"uid"=>"a1s2d38773"}
|
1207
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "a1s2d38773"], ["LIMIT", 1]]
|
1208
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1209
|
+
[1m[36mUser Update (0.2ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", 1], ["id", 5]]
|
1210
|
+
[1m[35m (3.4ms)[0m [1m[36mcommit transaction[0m
|
1211
|
+
Completed 200 OK in 6ms (ActiveRecord: 3.9ms | Allocations: 930)
|
1212
|
+
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 5], ["LIMIT", 1]]
|
1213
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1214
|
+
[1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d35174"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
1215
|
+
[1m[35m (4.2ms)[0m [1m[36mcommit transaction[0m
|
1216
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1217
|
+
[1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d33679"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
1218
|
+
[1m[35m (3.4ms)[0m [1m[36mcommit transaction[0m
|
1572
1219
|
Processing by Api::UserController#update as HTML
|
1573
|
-
Parameters: {"uid"=>"
|
1220
|
+
Parameters: {"uid"=>"a1s2d35174"}
|
1574
1221
|
Rendering /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
|
1575
1222
|
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
1576
|
-
Rendered /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.2ms)
|
1223
|
+
Rendered /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (Duration: 0.2ms | Allocations: 47)
|
1577
1224
|
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
1578
|
-
Completed 403 Forbidden in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)
|
1225
|
+
Completed 403 Forbidden in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms | Allocations: 510)
|
1226
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1227
|
+
[1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d34309"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
1228
|
+
[1m[35m (3.7ms)[0m [1m[36mcommit transaction[0m
|
1229
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1230
|
+
[1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d35617"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
1231
|
+
[1m[35m (4.2ms)[0m [1m[36mcommit transaction[0m
|
1232
|
+
Processing by Api::UserController#update as HTML
|
1233
|
+
Parameters: {"uid"=>"a1s2d34309"}
|
1234
|
+
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "a1s2d34309"], ["LIMIT", 1]]
|
1235
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1236
|
+
[1m[36mUser Update (0.3ms)[0m [1m[33mUPDATE "users" SET "email" = ?, "name" = ?, "permissions" = ?, "organisation_slug" = ?, "organisation_content_id" = ? WHERE "users"."id" = ?[0m [["email", "user@domain.com"], ["name", "Joshua Marshall"], ["permissions", "---\n- signin\n- new permission\n"], ["organisation_slug", "justice-league"], ["organisation_content_id", "aae1319e-5788-4677-998c-f1a53af528d0"], ["id", 9]]
|
1237
|
+
[1m[35m (3.9ms)[0m [1m[36mcommit transaction[0m
|
1238
|
+
Completed 200 OK in 7ms (ActiveRecord: 4.4ms | Allocations: 1227)
|
1239
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 9], ["LIMIT", 1]]
|
1240
|
+
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["email", "dummyapiuser@domain.com"], ["LIMIT", 1]]
|
1241
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1242
|
+
[1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Dummy API user created by gds-sso"], ["uid", "178"], ["email", "dummyapiuser@domain.com"], ["permissions", "---\n- signin\n"]]
|
1243
|
+
[1m[35m (3.6ms)[0m [1m[36mcommit transaction[0m
|
1244
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1245
|
+
[1m[36mUser Update (0.2ms)[0m [1m[33mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = ?[0m [["permissions", "---\n- signin\n- extra_permission\n"], ["id", 11]]
|
1246
|
+
[1m[35m (3.2ms)[0m [1m[36mcommit transaction[0m
|
1247
|
+
[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]]
|
1248
|
+
[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]]
|
1249
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1250
|
+
[1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions", "organisation_slug", "organisation_content_id", "disabled") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["name", "A Name"], ["uid", "asd"], ["email", "user@example.com"], ["permissions", "---\n- signin\n"], ["organisation_slug", "hmrc"], ["organisation_content_id", "67a2b78d-eee3-45b3-80e2-792e7f71cecc"], ["disabled", nil]]
|
1251
|
+
[1m[35m (3.6ms)[0m [1m[36mcommit transaction[0m
|
1252
|
+
[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]]
|
1253
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-07-28 10:11:33 +0000
|
1254
|
+
Processing by ExampleController#restricted as HTML
|
1255
|
+
Authenticating with gds_sso strategy
|
1256
|
+
Completed in 5ms (ActiveRecord: 0.0ms | Allocations: 151)
|
1257
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-07-28 10:11:33 +0000
|
1258
|
+
Started GET "/auth/gds/callback?code=Oj1D9udBilzd78OsJhnpbTQJLx4hXFgbR67DHw727LI&state=a886423e6e48f93b1942ddd0d78f58401e450f76e8246dfd" for 127.0.0.1 at 2020-07-28 10:11:33 +0000
|
1259
|
+
Processing by AuthenticationsController#callback as HTML
|
1260
|
+
Parameters: {"code"=>"Oj1D9udBilzd78OsJhnpbTQJLx4hXFgbR67DHw727LI", "state"=>"a886423e6e48f93b1942ddd0d78f58401e450f76e8246dfd"}
|
1261
|
+
Authenticating with gds_sso strategy
|
1262
|
+
[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]]
|
1263
|
+
[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]]
|
1264
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1265
|
+
[1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Test User"], ["uid", "integration-uid"], ["email", "test@example-client.com"], ["permissions", "---\n- signin\n"]]
|
1266
|
+
[1m[35m (5.9ms)[0m [1m[36mcommit transaction[0m
|
1267
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1268
|
+
[1m[36mUser Update (0.2ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", 0], ["id", 13]]
|
1269
|
+
[1m[35m (5.0ms)[0m [1m[36mcommit transaction[0m
|
1270
|
+
Redirected to http://www.example-client.com/restricted
|
1271
|
+
Completed 302 Found in 17ms (ActiveRecord: 11.9ms | Allocations: 1447)
|
1272
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-07-28 10:11:33 +0000
|
1273
|
+
Processing by ExampleController#restricted as HTML
|
1274
|
+
[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", 0], ["LIMIT", 1]]
|
1275
|
+
Rendering text template
|
1276
|
+
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
1277
|
+
Completed 200 OK in 3ms (Views: 1.1ms | ActiveRecord: 0.3ms | Allocations: 984)
|
1278
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-07-28 10:11:33 +0000
|
1279
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
1280
|
+
Authenticating with gds_sso strategy
|
1281
|
+
Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 103)
|
1282
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-07-28 10:11:33 +0000
|
1283
|
+
Started GET "/auth/gds/callback?code=XC0200_RbEtKPMFUFljPkmfCP9oONTmGQRHC7vHw-30&state=19e877bfb32e477fbefcad0bc8bdc4657ac412d389773cf1" for 127.0.0.1 at 2020-07-28 10:11:34 +0000
|
1284
|
+
Processing by AuthenticationsController#callback as HTML
|
1285
|
+
Parameters: {"code"=>"XC0200_RbEtKPMFUFljPkmfCP9oONTmGQRHC7vHw-30", "state"=>"19e877bfb32e477fbefcad0bc8bdc4657ac412d389773cf1"}
|
1286
|
+
Authenticating with gds_sso strategy
|
1287
|
+
[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]]
|
1288
|
+
Redirected to http://www.example-client.com/this_requires_signin_permission
|
1289
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.2ms | Allocations: 913)
|
1290
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-07-28 10:11:34 +0000
|
1291
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
1292
|
+
[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", 0], ["LIMIT", 1]]
|
1293
|
+
Rendering text template
|
1294
|
+
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
1295
|
+
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.2ms | Allocations: 652)
|
1296
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-07-28 10:11:34 +0000
|
1297
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
1298
|
+
Authenticating with gds_sso strategy
|
1299
|
+
Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 103)
|
1300
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-07-28 10:11:34 +0000
|
1301
|
+
Started GET "/auth/gds/callback?code=dso8fTwunwLSSxMq8aftUdfsCJmXMLWM7UVSkKwTKlM&state=80e4f134de98379e8f5d0caff3b19bea7a0c0f10247f2f53" for 127.0.0.1 at 2020-07-28 10:11:34 +0000
|
1302
|
+
Processing by AuthenticationsController#callback as HTML
|
1303
|
+
Parameters: {"code"=>"dso8fTwunwLSSxMq8aftUdfsCJmXMLWM7UVSkKwTKlM", "state"=>"80e4f134de98379e8f5d0caff3b19bea7a0c0f10247f2f53"}
|
1304
|
+
Authenticating with gds_sso strategy
|
1305
|
+
[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]]
|
1306
|
+
Redirected to http://www.example-client.com/this_requires_signin_permission
|
1307
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.2ms | Allocations: 913)
|
1308
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-07-28 10:11:34 +0000
|
1309
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
1310
|
+
[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", 0], ["LIMIT", 1]]
|
1311
|
+
Rendering text template
|
1312
|
+
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
1313
|
+
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.1ms | Allocations: 652)
|
1314
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-07-28 10:11:34 +0000
|
1315
|
+
Processing by ExampleController#restricted as HTML
|
1316
|
+
Authenticating with gds_sso strategy
|
1317
|
+
Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 103)
|
1318
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-07-28 10:11:34 +0000
|
1319
|
+
Started GET "/auth/gds/callback?code=xVeVplpFbmzCdPKHt5pMQDxM4fDXTDnR3JuTFBQpwW4&state=83c0b531feddb39d11b6d324f20fc2e1a97d81e5124aed5d" for 127.0.0.1 at 2020-07-28 10:11:34 +0000
|
1320
|
+
Processing by AuthenticationsController#callback as HTML
|
1321
|
+
Parameters: {"code"=>"xVeVplpFbmzCdPKHt5pMQDxM4fDXTDnR3JuTFBQpwW4", "state"=>"83c0b531feddb39d11b6d324f20fc2e1a97d81e5124aed5d"}
|
1322
|
+
Authenticating with gds_sso strategy
|
1323
|
+
[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]]
|
1324
|
+
Redirected to http://www.example-client.com/restricted
|
1325
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.2ms | Allocations: 913)
|
1326
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-07-28 10:11:34 +0000
|
1327
|
+
Processing by ExampleController#restricted as HTML
|
1328
|
+
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", 0], ["LIMIT", 1]]
|
1329
|
+
Rendering text template
|
1330
|
+
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
1331
|
+
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.2ms | Allocations: 655)
|
1332
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-07-28 10:11:34 +0000
|
1333
|
+
Processing by ExampleController#restricted as HTML
|
1334
|
+
Authenticating with gds_sso strategy
|
1335
|
+
Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 103)
|
1336
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-07-28 10:11:34 +0000
|
1337
|
+
Started GET "/auth/gds/callback?code=vcaFlA1VZB0JvaIvCGfDWpZSZvixa97R1ikQNiZxK9I&state=fb740bb80a69463c6e419ce29d72f9e7439dc16d34826c9d" for 127.0.0.1 at 2020-07-28 10:11:34 +0000
|
1338
|
+
Processing by AuthenticationsController#callback as HTML
|
1339
|
+
Parameters: {"code"=>"vcaFlA1VZB0JvaIvCGfDWpZSZvixa97R1ikQNiZxK9I", "state"=>"fb740bb80a69463c6e419ce29d72f9e7439dc16d34826c9d"}
|
1340
|
+
Authenticating with gds_sso strategy
|
1341
|
+
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
1342
|
+
Redirected to http://www.example-client.com/restricted
|
1343
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.2ms | Allocations: 915)
|
1344
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-07-28 10:11:34 +0000
|
1345
|
+
Processing by ExampleController#restricted as HTML
|
1346
|
+
[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", 0], ["LIMIT", 1]]
|
1347
|
+
Rendering text template
|
1348
|
+
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
1349
|
+
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.1ms | Allocations: 653)
|
1350
|
+
Started GET "/" for 127.0.0.1 at 2020-07-28 10:11:34 +0000
|
1351
|
+
Processing by ExampleController#index as HTML
|
1352
|
+
Rendering text template
|
1353
|
+
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
1354
|
+
Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms | Allocations: 137)
|
1355
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-07-28 10:11:34 +0000
|
1356
|
+
Processing by ExampleController#restricted as HTML
|
1357
|
+
Authenticating with gds_sso strategy
|
1358
|
+
Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 103)
|
1359
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-07-28 10:11:34 +0000
|
1360
|
+
Started GET "/auth/gds/callback?code=4H8LH6jbmLmbqb8xc0DJdHTb6II1aaCnOneJQZA7GFU&state=072113ca0beac7394405bcad7cd25d5d65e44f73af659c3d" for 127.0.0.1 at 2020-07-28 10:11:35 +0000
|
1361
|
+
Processing by AuthenticationsController#callback as HTML
|
1362
|
+
Parameters: {"code"=>"4H8LH6jbmLmbqb8xc0DJdHTb6II1aaCnOneJQZA7GFU", "state"=>"072113ca0beac7394405bcad7cd25d5d65e44f73af659c3d"}
|
1363
|
+
Authenticating with gds_sso strategy
|
1364
|
+
[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]]
|
1365
|
+
Redirected to http://www.example-client.com/restricted
|
1366
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.2ms | Allocations: 913)
|
1367
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-07-28 10:11:35 +0000
|
1368
|
+
Processing by ExampleController#restricted as HTML
|
1369
|
+
[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", 0], ["LIMIT", 1]]
|
1370
|
+
Rendering text template
|
1371
|
+
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
1372
|
+
Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.1ms | Allocations: 652)
|
1373
|
+
[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]]
|
1374
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1375
|
+
[1m[36mUser Update (0.3ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", 1], ["id", 13]]
|
1376
|
+
[1m[35m (5.4ms)[0m [1m[36mcommit transaction[0m
|
1377
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-07-28 10:11:35 +0000
|
1378
|
+
Processing by ExampleController#restricted as HTML
|
1379
|
+
[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", 0], ["LIMIT", 1]]
|
1380
|
+
Authenticating with gds_sso strategy
|
1381
|
+
Completed in 1ms (ActiveRecord: 0.1ms | Allocations: 533)
|
1382
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-07-28 10:11:35 +0000
|
1383
|
+
Started GET "/auth/gds/callback?code=4k3GTNNvVGyA_D7WzbeC1adZSkzeJyvzQP-zUEAerRM&state=faf8f1a7b56c569e308b9df75875150d993e06c7a6927412" for 127.0.0.1 at 2020-07-28 10:11:35 +0000
|
1384
|
+
Processing by AuthenticationsController#callback as HTML
|
1385
|
+
Parameters: {"code"=>"4k3GTNNvVGyA_D7WzbeC1adZSkzeJyvzQP-zUEAerRM", "state"=>"faf8f1a7b56c569e308b9df75875150d993e06c7a6927412"}
|
1386
|
+
Authenticating with gds_sso strategy
|
1387
|
+
[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]]
|
1388
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1389
|
+
[1m[36mUser Update (0.3ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", 0], ["id", 13]]
|
1390
|
+
[1m[35m (3.6ms)[0m [1m[36mcommit transaction[0m
|
1391
|
+
Redirected to http://www.example-client.com/restricted
|
1392
|
+
Completed 302 Found in 8ms (ActiveRecord: 4.2ms | Allocations: 1104)
|
1393
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-07-28 10:11:35 +0000
|
1394
|
+
Processing by ExampleController#restricted as HTML
|
1395
|
+
[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", 0], ["LIMIT", 1]]
|
1396
|
+
Rendering text template
|
1397
|
+
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
1398
|
+
Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.1ms | Allocations: 650)
|
1399
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-07-28 10:11:35 +0000
|
1400
|
+
Processing by ExampleController#restricted as HTML
|
1401
|
+
Authenticating with gds_sso strategy
|
1402
|
+
Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 103)
|
1403
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-07-28 10:11:35 +0000
|
1404
|
+
Started GET "/auth/gds/callback?code=n37NLIGMdzx5QimD-cSPPlTVH-9HFe5xu4O1d5TnnSc&state=264e446faf159b884add968d8ad5f004d32bff57cbe582e4" for 127.0.0.1 at 2020-07-28 10:11:35 +0000
|
1405
|
+
Processing by AuthenticationsController#callback as HTML
|
1406
|
+
Parameters: {"code"=>"n37NLIGMdzx5QimD-cSPPlTVH-9HFe5xu4O1d5TnnSc", "state"=>"264e446faf159b884add968d8ad5f004d32bff57cbe582e4"}
|
1407
|
+
Authenticating with gds_sso strategy
|
1408
|
+
[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]]
|
1409
|
+
Redirected to http://www.example-client.com/restricted
|
1410
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.2ms | Allocations: 914)
|
1411
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-07-28 10:11:35 +0000
|
1412
|
+
Processing by ExampleController#restricted as HTML
|
1413
|
+
[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", 0], ["LIMIT", 1]]
|
1414
|
+
Rendering text template
|
1415
|
+
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
1416
|
+
Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.2ms | Allocations: 655)
|
1417
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-07-29 06:16:35 +0000
|
1418
|
+
Processing by ExampleController#restricted as HTML
|
1419
|
+
Authenticating with gds_sso strategy
|
1420
|
+
Completed in 1ms (ActiveRecord: 0.0ms | Allocations: 480)
|
1421
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-07-29 06:16:35 +0000
|
1422
|
+
Started GET "/auth/gds/callback?code=KIHHM2-vQD7P2spez07YxyRpTwjuwkBrAWakVC00ezk&state=aec0498ead34d9b6a62a15a9894ffec6ed6e34facb724d40" for 127.0.0.1 at 2020-07-29 06:16:35 +0000
|
1423
|
+
Processing by AuthenticationsController#callback as HTML
|
1424
|
+
Parameters: {"code"=>"KIHHM2-vQD7P2spez07YxyRpTwjuwkBrAWakVC00ezk", "state"=>"aec0498ead34d9b6a62a15a9894ffec6ed6e34facb724d40"}
|
1425
|
+
Authenticating with gds_sso strategy
|
1426
|
+
[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]]
|
1427
|
+
Redirected to http://www.example-client.com/restricted
|
1428
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.2ms | Allocations: 1115)
|
1429
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-07-29 06:16:35 +0000
|
1430
|
+
Processing by ExampleController#restricted as HTML
|
1431
|
+
[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", 0], ["LIMIT", 1]]
|
1432
|
+
Rendering text template
|
1433
|
+
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
1434
|
+
Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.2ms | Allocations: 877)
|
1435
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-07-28 10:11:35 +0000
|
1436
|
+
Processing by ExampleController#restricted as HTML
|
1437
|
+
Authenticating with gds_sso strategy
|
1438
|
+
Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 103)
|
1439
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-07-28 10:11:35 +0000
|
1440
|
+
Started GET "/auth/gds/callback?code=6Yrr-jvsw4txE1DJUE9cBsTcYutw-AEKGjzJfpmOPHY&state=15589942c994ae56728d00e99838552c7d35c8500859c285" for 127.0.0.1 at 2020-07-28 10:11:35 +0000
|
1441
|
+
Processing by AuthenticationsController#callback as HTML
|
1442
|
+
Parameters: {"code"=>"6Yrr-jvsw4txE1DJUE9cBsTcYutw-AEKGjzJfpmOPHY", "state"=>"15589942c994ae56728d00e99838552c7d35c8500859c285"}
|
1443
|
+
Authenticating with gds_sso strategy
|
1444
|
+
[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]]
|
1445
|
+
Redirected to http://www.example-client.com/restricted
|
1446
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.3ms | Allocations: 913)
|
1447
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-07-28 10:11:35 +0000
|
1448
|
+
Processing by ExampleController#restricted as HTML
|
1449
|
+
[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", 0], ["LIMIT", 1]]
|
1450
|
+
Rendering text template
|
1451
|
+
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
1452
|
+
Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.2ms | Allocations: 652)
|
1453
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-07-29 06:16:35 +0000
|
1454
|
+
Processing by ExampleController#restricted as HTML
|
1455
|
+
Authenticating with gds_sso strategy
|
1456
|
+
Completed in 1ms (ActiveRecord: 0.0ms | Allocations: 480)
|
1457
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-07-29 06:16:35 +0000
|
1458
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-07-28 10:11:35 +0000
|
1459
|
+
Processing by ExampleController#restricted as HTML
|
1460
|
+
Authenticating with gds_sso strategy
|
1461
|
+
Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 103)
|
1462
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-07-28 10:11:35 +0000
|
1463
|
+
Started GET "/auth/gds/callback?code=V4C4G085QyxJZbkrmdwghKBuEppEmkyf5b1oOLW-A-0&state=486c0ea1075520065090312235e3f52e48d040b8df6cac5a" for 127.0.0.1 at 2020-07-28 10:11:36 +0000
|
1464
|
+
Processing by AuthenticationsController#callback as HTML
|
1465
|
+
Parameters: {"code"=>"V4C4G085QyxJZbkrmdwghKBuEppEmkyf5b1oOLW-A-0", "state"=>"486c0ea1075520065090312235e3f52e48d040b8df6cac5a"}
|
1466
|
+
Authenticating with gds_sso strategy
|
1467
|
+
[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]]
|
1468
|
+
Redirected to http://www.example-client.com/restricted
|
1469
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.2ms | Allocations: 915)
|
1470
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-07-28 10:11:36 +0000
|
1471
|
+
Processing by ExampleController#restricted as HTML
|
1472
|
+
[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", 0], ["LIMIT", 1]]
|
1473
|
+
Rendering text template
|
1474
|
+
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
1475
|
+
Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.2ms | Allocations: 655)
|
1476
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-07-29 06:06:36 +0000
|
1477
|
+
Processing by ExampleController#restricted as HTML
|
1478
|
+
[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", 0], ["LIMIT", 1]]
|
1479
|
+
Rendering text template
|
1480
|
+
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
1481
|
+
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.1ms | Allocations: 875)
|
1482
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-07-28 10:11:36 +0000
|
1483
|
+
Processing by ExampleController#restricted as HTML
|
1484
|
+
Authenticating with gds_sso strategy
|
1485
|
+
Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 105)
|
1486
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-07-28 10:11:36 +0000
|
1487
|
+
Processing by ExampleController#this_requires_signin_permission as JSON
|
1488
|
+
[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]]
|
1489
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1490
|
+
[1m[36mUser Update (0.3ms)[0m [1m[33mUPDATE "users" SET "disabled" = ? WHERE "users"."id" = ?[0m [["disabled", nil], ["id", 13]]
|
1491
|
+
[1m[35m (3.6ms)[0m [1m[36mcommit transaction[0m
|
1492
|
+
[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]]
|
1493
|
+
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
1494
|
+
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
1495
|
+
Rendering text template
|
1496
|
+
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
1497
|
+
Completed 200 OK in 65ms (Views: 0.5ms | ActiveRecord: 4.5ms | Allocations: 6880)
|
1498
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-07-28 10:11:36 +0000
|
1499
|
+
Processing by ExampleController#restricted as JSON
|
1500
|
+
Completed in 21ms (ActiveRecord: 0.0ms | Allocations: 1754)
|
1501
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-07-28 10:11:36 +0000
|
1502
|
+
Processing by ExampleController#restricted as JSON
|
1503
|
+
[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]]
|
1504
|
+
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
1505
|
+
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
1506
|
+
[1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
1507
|
+
Rendering text template
|
1508
|
+
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
1509
|
+
Completed 200 OK in 62ms (Views: 0.5ms | ActiveRecord: 0.3ms | Allocations: 6323)
|
1510
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-07-28 10:11:36 +0000
|
1511
|
+
Processing by ExampleController#restricted as JSON
|
1512
|
+
Completed in 15ms (ActiveRecord: 0.0ms | Allocations: 1855)
|