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