gds-sso 15.0.1 → 15.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +23 -56
- data/config/routes.rb +1 -1
- data/lib/gds-sso.rb +3 -1
- data/lib/gds-sso/config.rb +5 -8
- data/lib/gds-sso/controller_methods.rb +2 -2
- data/lib/gds-sso/failure_app.rb +1 -1
- data/lib/gds-sso/railtie.rb +12 -0
- data/lib/gds-sso/version.rb +1 -1
- data/spec/internal/db/combustion_test.sqlite +0 -0
- data/spec/internal/log/test.log +995 -995
- data/spec/unit/railtie_spec.rb +14 -0
- metadata +37 -20
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d9939f8497b777014a8a39d2cf78cf00c70d9951c18d6e9fe6a64b74d5d8ad5a
|
4
|
+
data.tar.gz: 8d9d5ecedb3f70038be1708fd61e3306d8b6ea198dbb50e8b74245504f38aede
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 765326eafa7ccc1827c905c289a653bd0f6bfcd345f61b074b030d035e5b136281181ed157582163ffb328bc40183c252fbf0bfe97bec337a2bd22eb5a7ad8cf
|
7
|
+
data.tar.gz: 2a19bf5a37e1d4ac3aa3c98f6d653b3684baa30c5a898c9616a263e3f6a933aeec4379a1f366781e6962d7c11b3ceedc2e6d1504a12d20070a5fde53b7aa683d
|
data/README.md
CHANGED
@@ -14,55 +14,26 @@ Some of the applications that use this gem:
|
|
14
14
|
|
15
15
|
### Integration with a Rails 4+ app
|
16
16
|
|
17
|
-
|
18
|
-
These can be provided by one of the team with admin access to Signon.
|
17
|
+
- Include the gem in your Gemfile:
|
19
18
|
|
20
|
-
|
19
|
+
```ruby
|
20
|
+
gem 'gds-sso', '<version>'
|
21
|
+
```
|
21
22
|
|
22
|
-
|
23
|
-
gem 'gds-sso', '<version>'
|
24
|
-
```
|
25
|
-
|
26
|
-
Create a `config/initializers/gds-sso.rb` that looks like:
|
27
|
-
|
28
|
-
```ruby
|
29
|
-
GDS::SSO.config do |config|
|
30
|
-
config.user_model = 'User'
|
31
|
-
|
32
|
-
# set up ID and Secret in a way which doesn't require it to be checked in to source control...
|
33
|
-
config.oauth_id = ENV['OAUTH_ID']
|
34
|
-
config.oauth_secret = ENV['OAUTH_SECRET']
|
23
|
+
- Create a "users" table in the database: ([example migration with all the necessary fields](https://github.com/alphagov/content-publisher/blob/16c58a40745c1ea61ec241e5aeb702ae15238f98/db/migrate/20160622154200_create_users.rb))
|
35
24
|
|
36
|
-
|
37
|
-
config.oauth_root_url = "http://localhost:3001"
|
38
|
-
|
39
|
-
# Pass in a caching adapter cache bearer token requests.
|
40
|
-
config.cache = Rails.cache
|
41
|
-
end
|
42
|
-
```
|
43
|
-
|
44
|
-
The user model must include the `GDS::SSO::User` module.
|
45
|
-
|
46
|
-
It should have the following fields:
|
47
|
-
|
48
|
-
```ruby
|
49
|
-
string "name"
|
50
|
-
string "email"
|
51
|
-
string "uid"
|
52
|
-
string "organisation_slug"
|
53
|
-
string "organisation_content_id"
|
54
|
-
array "permissions"
|
55
|
-
boolean "remotely_signed_out", :default => false
|
56
|
-
boolean "disabled", :default => false
|
57
|
-
```
|
25
|
+
- Create a User model with the following:
|
58
26
|
|
59
|
-
|
27
|
+
```ruby
|
28
|
+
serialize :permissions, Array
|
29
|
+
```
|
60
30
|
|
61
|
-
|
31
|
+
- Add to your `ApplicationController`:
|
62
32
|
|
63
|
-
```ruby
|
64
|
-
|
65
|
-
|
33
|
+
```ruby
|
34
|
+
include GDS::SSO::ControllerMethods
|
35
|
+
before_action :authenticate_user!
|
36
|
+
```
|
66
37
|
|
67
38
|
### Securing your application
|
68
39
|
|
@@ -113,22 +84,11 @@ as an [API user](https://signon.publishing.service.gov.uk/api_users).
|
|
113
84
|
To authorise with a bearer token, a request has to be made with the header:
|
114
85
|
|
115
86
|
```
|
87
|
+
# See https://github.com/alphagov/gds-api-adapters/blob/41e9cbf12bec738489340bd9dc63d62427ee3fe7/lib/gds_api/json_client.rb#L122
|
116
88
|
Authorization: Bearer your-token-here
|
117
89
|
```
|
118
90
|
|
119
|
-
|
120
|
-
valid, the API client will be authorised in the same way as a single-sign-on
|
121
|
-
user. The [gds-api-adapters gem](https://github.com/alphagov/gds-api-adapters#app-level-authentication)
|
122
|
-
has functionality for sending the bearer token for each request. To avoid making
|
123
|
-
these requests for each incoming request, specify a caching adapter like `Rails.cache`:
|
124
|
-
|
125
|
-
```ruby
|
126
|
-
GDS::SSO.config do |config|
|
127
|
-
# ...
|
128
|
-
# Pass in a caching adapter cache bearer token requests.
|
129
|
-
config.cache = Rails.cache
|
130
|
-
end
|
131
|
-
```
|
91
|
+
To avoid making these requests for each incoming request, this gem will [automatically cache a successful response](https://github.com/alphagov/gds-sso/blob/master/lib/gds-sso/bearer_token.rb), using the [Rails cache](https://github.com/alphagov/gds-sso/blob/master/lib/gds-sso/railtie.rb).
|
132
92
|
|
133
93
|
If you are using a Rails 5 app in
|
134
94
|
[api_only](http://guides.rubyonrails.org/api_app.html) mode this gem will
|
@@ -143,6 +103,13 @@ GDS::SSO.config do |config|
|
|
143
103
|
end
|
144
104
|
```
|
145
105
|
|
106
|
+
### Use in production mode
|
107
|
+
|
108
|
+
To use gds-sso in production you will need to setup the following environment variables, which we look for in [the config](https://github.com/alphagov/gds-sso/blob/master/lib/gds-sso/config.rb). You will need to have admin access to Signon to get these.
|
109
|
+
|
110
|
+
- OAUTH_ID
|
111
|
+
- OAUTH_SECRET
|
112
|
+
|
146
113
|
### Use in development mode
|
147
114
|
|
148
115
|
In development, you generally want to be able to run an application without needing to run your own SSO server to be running as well. GDS-SSO facilitates this by using a 'mock' mode in development. Mock mode loads an arbitrary user from the local application's user tables:
|
data/config/routes.rb
CHANGED
data/lib/gds-sso.rb
CHANGED
@@ -6,6 +6,8 @@ require "gds-sso/warden_config"
|
|
6
6
|
require "omniauth"
|
7
7
|
require "omniauth-gds"
|
8
8
|
|
9
|
+
require "gds-sso/railtie" if defined?(Rails)
|
10
|
+
|
9
11
|
module GDS
|
10
12
|
module SSO
|
11
13
|
autoload :FailureApp, "gds-sso/failure_app"
|
@@ -26,7 +28,7 @@ module GDS
|
|
26
28
|
config.before_eager_load(&:reload_routes!)
|
27
29
|
|
28
30
|
config.app_middleware.use ::OmniAuth::Builder do
|
29
|
-
next if GDS::SSO::Config.api_only
|
31
|
+
next if GDS::SSO::Config.api_only
|
30
32
|
|
31
33
|
provider :gds, GDS::SSO::Config.oauth_id, GDS::SSO::Config.oauth_secret,
|
32
34
|
client_options: {
|
data/lib/gds-sso/config.rb
CHANGED
@@ -1,4 +1,5 @@
|
|
1
1
|
require "active_support/cache/null_store"
|
2
|
+
require "plek"
|
2
3
|
|
3
4
|
module GDS
|
4
5
|
module SSO
|
@@ -11,13 +12,15 @@ module GDS
|
|
11
12
|
|
12
13
|
# OAuth ID
|
13
14
|
mattr_accessor :oauth_id
|
15
|
+
@@oauth_id = ENV.fetch("OAUTH_ID", "test-oauth-id")
|
14
16
|
|
15
17
|
# OAuth Secret
|
16
18
|
mattr_accessor :oauth_secret
|
19
|
+
@@oauth_secret = ENV.fetch("OAUTH_SECRET", "test-oauth-secret")
|
17
20
|
|
18
21
|
# Location of the OAuth server
|
19
22
|
mattr_accessor :oauth_root_url
|
20
|
-
@@oauth_root_url = "
|
23
|
+
@@oauth_root_url = Plek.new.external_url_for("signon")
|
21
24
|
|
22
25
|
mattr_accessor :auth_valid_for
|
23
26
|
@@auth_valid_for = 20 * 3600
|
@@ -25,7 +28,7 @@ module GDS
|
|
25
28
|
mattr_accessor :cache
|
26
29
|
@@cache = ActiveSupport::Cache::NullStore.new
|
27
30
|
|
28
|
-
|
31
|
+
mattr_accessor :api_only
|
29
32
|
|
30
33
|
mattr_accessor :additional_mock_permissions_required
|
31
34
|
|
@@ -54,12 +57,6 @@ module GDS
|
|
54
57
|
ENV.fetch("GDS_SSO_STRATEGY", default_strategy) == "mock"
|
55
58
|
end
|
56
59
|
|
57
|
-
def self.api_only?
|
58
|
-
config = Rails.configuration
|
59
|
-
default = config.respond_to?(:api_only) ? config.api_only : false
|
60
|
-
@@api_only.nil? ? default : @@api_only
|
61
|
-
end
|
62
|
-
|
63
60
|
# rubocop:enable Style/ClassVars
|
64
61
|
end
|
65
62
|
end
|
@@ -6,14 +6,14 @@ module GDS
|
|
6
6
|
|
7
7
|
def self.included(base)
|
8
8
|
base.rescue_from PermissionDeniedException do |e|
|
9
|
-
if GDS::SSO::Config.api_only
|
9
|
+
if GDS::SSO::Config.api_only
|
10
10
|
render json: { message: e.message }, status: :forbidden
|
11
11
|
else
|
12
12
|
render "authorisations/unauthorised", layout: "unauthorised", status: :forbidden, locals: { message: e.message }
|
13
13
|
end
|
14
14
|
end
|
15
15
|
|
16
|
-
unless GDS::SSO::Config.api_only
|
16
|
+
unless GDS::SSO::Config.api_only
|
17
17
|
base.helper_method :user_signed_in?
|
18
18
|
base.helper_method :current_user
|
19
19
|
end
|
data/lib/gds-sso/failure_app.rb
CHANGED
@@ -18,7 +18,7 @@ module GDS
|
|
18
18
|
def self.call(env)
|
19
19
|
if GDS::SSO::ApiAccess.api_call?(env)
|
20
20
|
action(:api_invalid_token).call(env)
|
21
|
-
elsif GDS::SSO::Config.api_only
|
21
|
+
elsif GDS::SSO::Config.api_only
|
22
22
|
action(:api_missing_token).call(env)
|
23
23
|
else
|
24
24
|
action(:redirect).call(env)
|
data/lib/gds-sso/version.rb
CHANGED
Binary file
|
data/spec/internal/log/test.log
CHANGED
@@ -1,371 +1,307 @@
|
|
1
1
|
[1m[35m (0.1ms)[0m [1m[35mDROP TABLE IF EXISTS "users"[0m
|
2
|
-
[1m[35m (
|
3
|
-
[1m[35m (
|
4
|
-
[1m[35m (
|
5
|
-
[1m[36mActiveRecord::InternalMetadata Load (0.
|
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-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
|
-
[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.1ms)[0m [1m[36mbegin transaction[0m
|
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]]
|
15
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
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]]
|
19
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
20
|
-
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
21
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin 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
|
24
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
25
|
-
[1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d32885"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
26
|
-
[1m[35m (3.4ms)[0m [1m[36mcommit transaction[0m
|
27
|
-
Processing by Api::UserController#reauth as HTML
|
28
|
-
Parameters: {"uid"=>"a1s2d33188"}
|
29
|
-
Rendering /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
|
30
|
-
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
31
|
-
Rendered /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.2ms)
|
32
|
-
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
33
|
-
Completed 403 Forbidden in 7ms (Views: 6.9ms | ActiveRecord: 0.0ms)
|
2
|
+
[1m[35m (0.9ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
3
|
+
[1m[35m (8.1ms)[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 (37.2ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
5
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
34
6
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
35
|
-
[1m[
|
36
|
-
[1m[35m (
|
37
|
-
[1m[35m (
|
38
|
-
[1m[
|
39
|
-
[1m[35m (4.3ms)[0m [1m[36mcommit transaction[0m
|
40
|
-
Processing by Api::UserController#reauth as HTML
|
41
|
-
Parameters: {"uid"=>"nonexistent-user"}
|
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]]
|
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]]
|
58
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
59
|
-
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d32525"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
60
|
-
[1m[35m (3.6ms)[0m [1m[36mcommit transaction[0m
|
7
|
+
[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-10-26 14:50:59.688219"], ["updated_at", "2020-10-26 14:50:59.688219"]]
|
8
|
+
[1m[35m (6.0ms)[0m [1m[36mcommit transaction[0m
|
9
|
+
[1m[35m (6.0ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
|
10
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
61
11
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
62
|
-
[1m[
|
63
|
-
[1m[
|
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
|
12
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
13
|
+
[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]]
|
74
14
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
75
|
-
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "
|
76
|
-
[1m[35m (
|
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]]
|
15
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Dummy API user created by gds-sso"], ["uid", "1000"], ["email", "dummyapiuser@domain.com"], ["permissions", "---\n- signin\n"]]
|
16
|
+
[1m[35m (4.1ms)[0m [1m[36mcommit transaction[0m
|
80
17
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
81
|
-
[1m[36mUser Update (0.
|
82
|
-
[1m[35m (
|
83
|
-
|
84
|
-
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."
|
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]]
|
18
|
+
[1m[36mUser Update (0.1ms)[0m [1m[33mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = ?[0m [["permissions", "---\n- signin\n- extra_permission\n"], ["id", 1]]
|
19
|
+
[1m[35m (6.0ms)[0m [1m[36mcommit transaction[0m
|
20
|
+
[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]]
|
21
|
+
[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]]
|
86
22
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
87
|
-
[1m[36mUser Create (0.
|
88
|
-
[1m[35m (
|
23
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions", "organisation_slug", "organisation_content_id", "disabled") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["name", "A Name"], ["uid", "asd"], ["email", "user@example.com"], ["permissions", "---\n- signin\n"], ["organisation_slug", "hmrc"], ["organisation_content_id", "67a2b78d-eee3-45b3-80e2-792e7f71cecc"], ["disabled", nil]]
|
24
|
+
[1m[35m (4.9ms)[0m [1m[36mcommit transaction[0m
|
25
|
+
[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]]
|
89
26
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
90
|
-
[1m[
|
91
|
-
|
92
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-07-28 10:10:59 +0000
|
27
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
28
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:00 +0000
|
93
29
|
Processing by ExampleController#restricted as HTML
|
94
30
|
Authenticating with gds_sso strategy
|
95
|
-
Completed in
|
96
|
-
Started GET "/" for 127.0.0.1 at 2020-
|
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
|
31
|
+
Completed in 4ms (ActiveRecord: 0.0ms)
|
32
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:00 +0000
|
102
33
|
Processing by ExampleController#restricted as HTML
|
103
34
|
Authenticating with gds_sso strategy
|
104
35
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
105
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2020-
|
106
|
-
Started GET "/auth/gds/callback?code=
|
36
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-10-26 14:51:00 +0000
|
37
|
+
Started GET "/auth/gds/callback?code=qlgWGND49FA4hmi1xxwtSmNDpxMu8JdbWneB08p7_qU&state=eae923f804055f5089297e4d477619f6307606c3c9445704" for 127.0.0.1 at 2020-10-26 14:51:00 +0000
|
107
38
|
Processing by AuthenticationsController#callback as HTML
|
108
|
-
Parameters: {"code"=>"
|
39
|
+
Parameters: {"code"=>"qlgWGND49FA4hmi1xxwtSmNDpxMu8JdbWneB08p7_qU", "state"=>"eae923f804055f5089297e4d477619f6307606c3c9445704"}
|
109
40
|
Authenticating with gds_sso strategy
|
110
|
-
[1m[36mUser Load (0.
|
41
|
+
[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]]
|
111
42
|
[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
|
115
43
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
116
|
-
[1m[36mUser
|
117
|
-
[1m[35m (
|
44
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Test User"], ["uid", "integration-uid"], ["email", "test@example-client.com"], ["permissions", "---\n- signin\n"]]
|
45
|
+
[1m[35m (8.9ms)[0m [1m[36mcommit transaction[0m
|
46
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
47
|
+
[1m[36mUser Update (0.1ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "f"], ["id", 3]]
|
48
|
+
[1m[35m (5.4ms)[0m [1m[36mcommit transaction[0m
|
118
49
|
Redirected to http://www.example-client.com/restricted
|
119
|
-
Completed 302 Found in
|
120
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-
|
50
|
+
Completed 302 Found in 18ms (ActiveRecord: 14.9ms)
|
51
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:00 +0000
|
121
52
|
Processing by ExampleController#restricted as HTML
|
122
53
|
[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]]
|
123
54
|
Rendering text template
|
124
55
|
Rendered text template (0.0ms)
|
125
|
-
Completed 200 OK in
|
126
|
-
Started GET "/
|
127
|
-
Processing by ExampleController#
|
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]]
|
136
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
137
|
-
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
138
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
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]]
|
56
|
+
Completed 200 OK in 3ms (Views: 1.9ms | ActiveRecord: 0.2ms)
|
57
|
+
Started GET "/" for 127.0.0.1 at 2020-10-26 14:51:00 +0000
|
58
|
+
Processing by ExampleController#index as HTML
|
145
59
|
Rendering text template
|
146
60
|
Rendered text template (0.0ms)
|
147
|
-
Completed 200 OK in
|
148
|
-
Started GET "/
|
149
|
-
Processing by ExampleController#
|
61
|
+
Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
62
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-10-26 14:51:00 +0000
|
63
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
150
64
|
Authenticating with gds_sso strategy
|
151
65
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
152
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2020-
|
153
|
-
Started GET "/auth/gds/callback?code=
|
66
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-10-26 14:51:00 +0000
|
67
|
+
Started GET "/auth/gds/callback?code=N3zgRiV63CM3n82JL5m4VJybtab5jqD9T8rdOUfOjfQ&state=44c677e6a122e188c1897be58e35ca209ce417e5a7a5b5d0" for 127.0.0.1 at 2020-10-26 14:51:00 +0000
|
154
68
|
Processing by AuthenticationsController#callback as HTML
|
155
|
-
Parameters: {"code"=>"
|
69
|
+
Parameters: {"code"=>"N3zgRiV63CM3n82JL5m4VJybtab5jqD9T8rdOUfOjfQ", "state"=>"44c677e6a122e188c1897be58e35ca209ce417e5a7a5b5d0"}
|
156
70
|
Authenticating with gds_sso strategy
|
157
|
-
[1m[36mUser Load (0.
|
158
|
-
[1m[35m (0.
|
71
|
+
[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]]
|
72
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
159
73
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
160
74
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
161
75
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
162
|
-
Redirected to http://www.example-client.com/
|
163
|
-
Completed 302 Found in
|
164
|
-
Started GET "/
|
165
|
-
Processing by ExampleController#
|
76
|
+
Redirected to http://www.example-client.com/this_requires_signin_permission
|
77
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.2ms)
|
78
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-10-26 14:51:00 +0000
|
79
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
166
80
|
[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]]
|
167
81
|
Rendering text template
|
168
82
|
Rendered text template (0.0ms)
|
169
83
|
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-
|
84
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-10-26 14:51:00 +0000
|
171
85
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
172
86
|
Authenticating with gds_sso strategy
|
173
87
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
174
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2020-
|
175
|
-
Started GET "/auth/gds/callback?code=
|
88
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-10-26 14:51:00 +0000
|
89
|
+
Started GET "/auth/gds/callback?code=QvJd4HB0b8Qg-S6I1iAFJ4yp6HTUHa-BoZ1x1dud5J8&state=0e6eb994121ee71c83cb083646a8529a53e979e1262f8742" for 127.0.0.1 at 2020-10-26 14:51:00 +0000
|
176
90
|
Processing by AuthenticationsController#callback as HTML
|
177
|
-
Parameters: {"code"=>"
|
91
|
+
Parameters: {"code"=>"QvJd4HB0b8Qg-S6I1iAFJ4yp6HTUHa-BoZ1x1dud5J8", "state"=>"0e6eb994121ee71c83cb083646a8529a53e979e1262f8742"}
|
178
92
|
Authenticating with gds_sso strategy
|
179
|
-
[1m[36mUser Load (0.
|
180
|
-
[1m[35m (0.
|
181
|
-
[1m[35m (0.
|
182
|
-
[1m[35m (0.
|
93
|
+
[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]]
|
94
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
95
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
96
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
183
97
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
184
98
|
Redirected to http://www.example-client.com/this_requires_signin_permission
|
185
|
-
Completed 302 Found in
|
186
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-
|
99
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.2ms)
|
100
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-10-26 14:51:00 +0000
|
187
101
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
188
102
|
[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]]
|
189
103
|
Rendering text template
|
190
104
|
Rendered text template (0.0ms)
|
191
|
-
Completed 200 OK in 1ms (Views: 0.
|
192
|
-
Started GET "/
|
193
|
-
Processing by ExampleController#
|
105
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
106
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:00 +0000
|
107
|
+
Processing by ExampleController#restricted as HTML
|
194
108
|
Authenticating with gds_sso strategy
|
195
109
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
196
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2020-
|
197
|
-
Started GET "/auth/gds/callback?code=
|
110
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-10-26 14:51:00 +0000
|
111
|
+
Started GET "/auth/gds/callback?code=t3e9CdalZQIChrxQZWpw0C4kcAIpf4dCS7G1hh65b3o&state=38ba7880dfb04b0b344a5cc201d904c51afc8bcfaf4444cf" for 127.0.0.1 at 2020-10-26 14:51:00 +0000
|
198
112
|
Processing by AuthenticationsController#callback as HTML
|
199
|
-
Parameters: {"code"=>"
|
113
|
+
Parameters: {"code"=>"t3e9CdalZQIChrxQZWpw0C4kcAIpf4dCS7G1hh65b3o", "state"=>"38ba7880dfb04b0b344a5cc201d904c51afc8bcfaf4444cf"}
|
200
114
|
Authenticating with gds_sso strategy
|
201
|
-
[1m[36mUser Load (0.
|
202
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
203
|
-
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
115
|
+
[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]]
|
204
116
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
205
117
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
206
|
-
|
207
|
-
|
208
|
-
|
209
|
-
|
118
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
119
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
120
|
+
Redirected to http://www.example-client.com/restricted
|
121
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.2ms)
|
122
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:00 +0000
|
123
|
+
Processing by ExampleController#restricted as HTML
|
210
124
|
[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]]
|
211
125
|
Rendering text template
|
212
126
|
Rendered text template (0.0ms)
|
213
|
-
Completed 200 OK in
|
214
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-
|
127
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
128
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:00 +0000
|
215
129
|
Processing by ExampleController#restricted as HTML
|
216
130
|
Authenticating with gds_sso strategy
|
217
131
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
218
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2020-
|
219
|
-
Started GET "/auth/gds/callback?code=
|
132
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-10-26 14:51:00 +0000
|
133
|
+
Started GET "/auth/gds/callback?code=2YP0egP8EK9BjzxAFLSlCetha4Lpip5E3_0-aCoT2vw&state=320c0056d754ab4a4a58c33809306ce636054ce148fd3f62" for 127.0.0.1 at 2020-10-26 14:51:00 +0000
|
220
134
|
Processing by AuthenticationsController#callback as HTML
|
221
|
-
Parameters: {"code"=>"
|
135
|
+
Parameters: {"code"=>"2YP0egP8EK9BjzxAFLSlCetha4Lpip5E3_0-aCoT2vw", "state"=>"320c0056d754ab4a4a58c33809306ce636054ce148fd3f62"}
|
222
136
|
Authenticating with gds_sso strategy
|
223
|
-
[1m[36mUser Load (0.
|
224
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
225
|
-
[1m[35m (0.4ms)[0m [1m[36mcommit transaction[0m
|
137
|
+
[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]]
|
226
138
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
227
|
-
[1m[35m (0.
|
139
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
140
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
141
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
228
142
|
Redirected to http://www.example-client.com/restricted
|
229
|
-
Completed 302 Found in
|
230
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-
|
143
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.2ms)
|
144
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:00 +0000
|
231
145
|
Processing by ExampleController#restricted as HTML
|
232
146
|
[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]]
|
233
147
|
Rendering text template
|
234
148
|
Rendered text template (0.0ms)
|
235
|
-
Completed 200 OK in
|
236
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-
|
237
|
-
Processing by ExampleController#restricted as HTML
|
238
|
-
Authenticating with gds_sso strategy
|
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
|
149
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
150
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:00 +0000
|
242
151
|
Processing by ExampleController#restricted as HTML
|
243
152
|
Authenticating with gds_sso strategy
|
244
153
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
245
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2020-
|
246
|
-
Started GET "/auth/gds/callback?code=
|
154
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-10-26 14:51:00 +0000
|
155
|
+
Started GET "/auth/gds/callback?code=hLgxcit_ayAHov_NJbBYdr6FHspd3885lUbCY_kbD_A&state=90adbdefeb4f7bd88b3c95756a7bbda0f791377ed8063fcd" for 127.0.0.1 at 2020-10-26 14:51:00 +0000
|
247
156
|
Processing by AuthenticationsController#callback as HTML
|
248
|
-
Parameters: {"code"=>"
|
157
|
+
Parameters: {"code"=>"hLgxcit_ayAHov_NJbBYdr6FHspd3885lUbCY_kbD_A", "state"=>"90adbdefeb4f7bd88b3c95756a7bbda0f791377ed8063fcd"}
|
249
158
|
Authenticating with gds_sso strategy
|
250
|
-
[1m[36mUser Load (0.
|
251
|
-
[1m[35m (0.
|
252
|
-
[1m[35m (0.
|
253
|
-
[1m[35m (0.
|
254
|
-
[1m[35m (0.
|
159
|
+
[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]]
|
160
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
161
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
162
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
163
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
255
164
|
Redirected to http://www.example-client.com/restricted
|
256
|
-
Completed 302 Found in
|
257
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-
|
165
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.2ms)
|
166
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:00 +0000
|
258
167
|
Processing by ExampleController#restricted as HTML
|
259
168
|
[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]]
|
260
169
|
Rendering text template
|
261
170
|
Rendered text template (0.0ms)
|
262
|
-
Completed 200 OK in 1ms (Views: 0.
|
263
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-
|
171
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
172
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-10-27 10:56:00 +0000
|
264
173
|
Processing by ExampleController#restricted as HTML
|
265
174
|
Authenticating with gds_sso strategy
|
266
175
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
267
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2020-
|
268
|
-
Started GET "/auth/gds/callback?code=
|
176
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-10-27 10:56:00 +0000
|
177
|
+
Started GET "/auth/gds/callback?code=L9OOGVZzZXA-A8yjejj5D-a6TMKqHAU0R2KzZpDfA-Y&state=940afe6d5b93445643da282f1a71fcd431d61585e8a93515" for 127.0.0.1 at 2020-10-27 10:56:00 +0000
|
269
178
|
Processing by AuthenticationsController#callback as HTML
|
270
|
-
Parameters: {"code"=>"
|
179
|
+
Parameters: {"code"=>"L9OOGVZzZXA-A8yjejj5D-a6TMKqHAU0R2KzZpDfA-Y", "state"=>"940afe6d5b93445643da282f1a71fcd431d61585e8a93515"}
|
271
180
|
Authenticating with gds_sso strategy
|
272
181
|
[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.
|
182
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
183
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
184
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
274
185
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
275
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
276
|
-
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
277
186
|
Redirected to http://www.example-client.com/restricted
|
278
|
-
Completed 302 Found in
|
279
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-
|
187
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.2ms)
|
188
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-10-27 10:56:00 +0000
|
280
189
|
Processing by ExampleController#restricted as HTML
|
281
190
|
[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]]
|
282
191
|
Rendering text template
|
283
192
|
Rendered text template (0.0ms)
|
284
|
-
Completed 200 OK in 1ms (Views: 0.
|
285
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-
|
193
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
194
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:00 +0000
|
286
195
|
Processing by ExampleController#restricted as HTML
|
287
196
|
Authenticating with gds_sso strategy
|
288
197
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
289
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2020-
|
290
|
-
Started GET "/auth/gds/callback?code=
|
198
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-10-26 14:51:00 +0000
|
199
|
+
Started GET "/auth/gds/callback?code=5ic6sOKhJSYDURBYZoFJHexP5G2bfXJjIV79xqDNFJ4&state=80aabeb7042e4b14007db50f5bbedc7f49363322faeb15c9" for 127.0.0.1 at 2020-10-26 14:51:00 +0000
|
291
200
|
Processing by AuthenticationsController#callback as HTML
|
292
|
-
Parameters: {"code"=>"
|
201
|
+
Parameters: {"code"=>"5ic6sOKhJSYDURBYZoFJHexP5G2bfXJjIV79xqDNFJ4", "state"=>"80aabeb7042e4b14007db50f5bbedc7f49363322faeb15c9"}
|
293
202
|
Authenticating with gds_sso strategy
|
294
|
-
[1m[36mUser Load (0.
|
295
|
-
[1m[35m (0.
|
203
|
+
[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]]
|
204
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
296
205
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
297
206
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
298
207
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
299
208
|
Redirected to http://www.example-client.com/restricted
|
300
|
-
Completed 302 Found in
|
301
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-
|
209
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.2ms)
|
210
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:00 +0000
|
302
211
|
Processing by ExampleController#restricted as HTML
|
303
212
|
[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]]
|
304
213
|
Rendering text template
|
305
214
|
Rendered text template (0.0ms)
|
306
|
-
Completed 200 OK in 1ms (Views: 0.
|
307
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-
|
215
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
216
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-10-27 10:46:00 +0000
|
308
217
|
Processing by ExampleController#restricted as HTML
|
309
218
|
[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]]
|
310
219
|
Rendering text template
|
311
220
|
Rendered text template (0.0ms)
|
312
|
-
Completed 200 OK in 1ms (Views: 0.
|
313
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-
|
221
|
+
Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.1ms)
|
222
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:00 +0000
|
314
223
|
Processing by ExampleController#restricted as HTML
|
315
224
|
Authenticating with gds_sso strategy
|
316
225
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
317
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2020-
|
318
|
-
Started GET "/auth/gds/callback?code=
|
226
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-10-26 14:51:00 +0000
|
227
|
+
Started GET "/auth/gds/callback?code=5unc36p8g7n2ZSWxVmKzQJqtfQHU46Ize10_86EatxE&state=e66c42d4403f0a73e63f057037a7b9a79659047a0281a7c5" for 127.0.0.1 at 2020-10-26 14:51:01 +0000
|
319
228
|
Processing by AuthenticationsController#callback as HTML
|
320
|
-
Parameters: {"code"=>"
|
229
|
+
Parameters: {"code"=>"5unc36p8g7n2ZSWxVmKzQJqtfQHU46Ize10_86EatxE", "state"=>"e66c42d4403f0a73e63f057037a7b9a79659047a0281a7c5"}
|
321
230
|
Authenticating with gds_sso strategy
|
322
|
-
[1m[36mUser Load (0.
|
323
|
-
[1m[35m (0.
|
231
|
+
[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]]
|
232
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
324
233
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
325
234
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
326
235
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
327
236
|
Redirected to http://www.example-client.com/restricted
|
328
|
-
Completed 302 Found in
|
329
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-
|
237
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.2ms)
|
238
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:01 +0000
|
330
239
|
Processing by ExampleController#restricted as HTML
|
331
240
|
[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]]
|
332
241
|
Rendering text template
|
333
242
|
Rendered text template (0.0ms)
|
334
|
-
Completed 200 OK in 1ms (Views: 0.
|
335
|
-
|
336
|
-
|
337
|
-
|
338
|
-
|
339
|
-
Started GET "/
|
243
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
244
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-10-27 10:56:01 +0000
|
245
|
+
Processing by ExampleController#restricted as HTML
|
246
|
+
Authenticating with gds_sso strategy
|
247
|
+
Completed in 0ms (ActiveRecord: 0.0ms)
|
248
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-10-27 10:56:01 +0000
|
249
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:01 +0000
|
250
|
+
Processing by ExampleController#restricted as HTML
|
251
|
+
Authenticating with gds_sso strategy
|
252
|
+
Completed in 0ms (ActiveRecord: 0.0ms)
|
253
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-10-26 14:51:01 +0000
|
254
|
+
Started GET "/auth/gds/callback?code=9DCTU1hpKPN8xOmtADg00cg7HVlQHEgSIs_qH8_8eQg&state=ba7a01e8e51a2c83e7c233d7757fce6ecc8d35737dca4067" for 127.0.0.1 at 2020-10-26 14:51:01 +0000
|
255
|
+
Processing by AuthenticationsController#callback as HTML
|
256
|
+
Parameters: {"code"=>"9DCTU1hpKPN8xOmtADg00cg7HVlQHEgSIs_qH8_8eQg", "state"=>"ba7a01e8e51a2c83e7c233d7757fce6ecc8d35737dca4067"}
|
257
|
+
Authenticating with gds_sso strategy
|
258
|
+
[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]]
|
259
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
260
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
261
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
262
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
263
|
+
Redirected to http://www.example-client.com/restricted
|
264
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.3ms)
|
265
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:01 +0000
|
266
|
+
Processing by ExampleController#restricted as HTML
|
267
|
+
[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]]
|
268
|
+
Rendering text template
|
269
|
+
Rendered text template (0.0ms)
|
270
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
271
|
+
[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]]
|
272
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
273
|
+
[1m[36mUser Update (0.2ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "t"], ["id", 3]]
|
274
|
+
[1m[35m (6.6ms)[0m [1m[36mcommit transaction[0m
|
275
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:01 +0000
|
340
276
|
Processing by ExampleController#restricted as HTML
|
341
277
|
[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]]
|
342
278
|
Authenticating with gds_sso strategy
|
343
279
|
Completed in 1ms (ActiveRecord: 0.1ms)
|
344
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2020-
|
345
|
-
Started GET "/auth/gds/callback?code=
|
280
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-10-26 14:51:01 +0000
|
281
|
+
Started GET "/auth/gds/callback?code=eXlvYYRe2IqnS8eEnMRI7woLmtLres33w6NsssIPWfM&state=553b4734786e1342b14853bfac88a9c543fbe33785db4164" for 127.0.0.1 at 2020-10-26 14:51:01 +0000
|
346
282
|
Processing by AuthenticationsController#callback as HTML
|
347
|
-
Parameters: {"code"=>"
|
283
|
+
Parameters: {"code"=>"eXlvYYRe2IqnS8eEnMRI7woLmtLres33w6NsssIPWfM", "state"=>"553b4734786e1342b14853bfac88a9c543fbe33785db4164"}
|
348
284
|
Authenticating with gds_sso strategy
|
349
|
-
[1m[36mUser Load (0.
|
350
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
351
|
-
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
285
|
+
[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]]
|
352
286
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
353
|
-
[1m[
|
354
|
-
[1m[35m (
|
287
|
+
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
288
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
289
|
+
[1m[36mUser Update (0.2ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "f"], ["id", 3]]
|
290
|
+
[1m[35m (4.5ms)[0m [1m[36mcommit transaction[0m
|
355
291
|
Redirected to http://www.example-client.com/restricted
|
356
|
-
Completed 302 Found in
|
357
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-
|
292
|
+
Completed 302 Found in 7ms (ActiveRecord: 4.9ms)
|
293
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:01 +0000
|
358
294
|
Processing by ExampleController#restricted as HTML
|
359
|
-
[1m[36mUser Load (0.
|
295
|
+
[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]]
|
360
296
|
Rendering text template
|
361
297
|
Rendered text template (0.0ms)
|
362
|
-
Completed 200 OK in
|
363
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-
|
298
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
299
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:01 +0000
|
364
300
|
Processing by ExampleController#restricted as JSON
|
365
|
-
[1m[36mUser Load (0.
|
301
|
+
[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]]
|
366
302
|
[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",
|
368
|
-
[1m[35m (
|
303
|
+
[1m[36mUser Update (0.2ms)[0m [1m[33mUPDATE "users" SET "disabled" = ? WHERE "users"."id" = ?[0m [["disabled", nil], ["id", 3]]
|
304
|
+
[1m[35m (6.5ms)[0m [1m[36mcommit transaction[0m
|
369
305
|
[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
306
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
371
307
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
@@ -379,15 +315,15 @@ Processing by ExampleController#restricted as JSON
|
|
379
315
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
380
316
|
Rendering text template
|
381
317
|
Rendered text template (0.0ms)
|
382
|
-
Completed 200 OK in
|
383
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-
|
318
|
+
Completed 200 OK in 21ms (Views: 0.2ms | ActiveRecord: 7.1ms)
|
319
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:01 +0000
|
384
320
|
Processing by ExampleController#restricted as JSON
|
385
|
-
Completed in
|
386
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-
|
321
|
+
Completed in 12ms (ActiveRecord: 0.0ms)
|
322
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-10-26 14:51:01 +0000
|
387
323
|
Processing by ExampleController#this_requires_signin_permission as JSON
|
388
324
|
[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
325
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
390
|
-
[1m[35m (0.
|
326
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
391
327
|
[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
328
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
393
329
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
@@ -395,1118 +331,1182 @@ Processing by ExampleController#this_requires_signin_permission as JSON
|
|
395
331
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
396
332
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
397
333
|
[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]]
|
398
|
-
[1m[35m (0.
|
399
|
-
[1m[35m (0.
|
334
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
335
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
400
336
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
401
337
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
402
338
|
Rendering text template
|
403
339
|
Rendered text template (0.0ms)
|
404
|
-
Completed 200 OK in
|
405
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-
|
340
|
+
Completed 200 OK in 5ms (Views: 0.2ms | ActiveRecord: 0.4ms)
|
341
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:01 +0000
|
406
342
|
Processing by ExampleController#restricted as JSON
|
407
|
-
Completed in
|
408
|
-
[1m[35m (
|
409
|
-
[1m[
|
410
|
-
[1m[35m (
|
411
|
-
[1m[35m (
|
412
|
-
[1m[
|
413
|
-
[1m[
|
414
|
-
|
415
|
-
|
416
|
-
[1m[
|
417
|
-
[1m[35m (
|
418
|
-
[1m[
|
419
|
-
[1m[35m (
|
420
|
-
|
421
|
-
[1m[36mUser Load (0.
|
422
|
-
[1m[35m (0.
|
423
|
-
[1m[36mUser Create (0.
|
424
|
-
[1m[35m (
|
425
|
-
[1m[
|
426
|
-
[1m[
|
427
|
-
[1m[
|
428
|
-
|
429
|
-
|
430
|
-
[1m[36mUser
|
431
|
-
|
432
|
-
|
433
|
-
|
434
|
-
|
343
|
+
Completed in 7ms (ActiveRecord: 0.0ms)
|
344
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
345
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d36751"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
346
|
+
[1m[35m (7.0ms)[0m [1m[36mcommit transaction[0m
|
347
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
348
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d37112"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
349
|
+
[1m[35m (6.0ms)[0m [1m[36mcommit transaction[0m
|
350
|
+
Processing by Api::UserController#reauth as HTML
|
351
|
+
Parameters: {"uid"=>"a1s2d36751"}
|
352
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "a1s2d36751"], ["LIMIT", 1]]
|
353
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
354
|
+
[1m[36mUser Update (0.2ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "t"], ["id", 4]]
|
355
|
+
[1m[35m (4.6ms)[0m [1m[36mcommit transaction[0m
|
356
|
+
Completed 200 OK in 6ms (ActiveRecord: 4.9ms)
|
357
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 4], ["LIMIT", 1]]
|
358
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
359
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d39451"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
360
|
+
[1m[35m (9.7ms)[0m [1m[36mcommit transaction[0m
|
361
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
362
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d38478"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
363
|
+
[1m[35m (15.0ms)[0m [1m[36mcommit transaction[0m
|
364
|
+
Processing by Api::UserController#reauth as HTML
|
365
|
+
Parameters: {"uid"=>"nonexistent-user"}
|
366
|
+
[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]]
|
367
|
+
Completed 200 OK in 1ms (ActiveRecord: 0.1ms)
|
368
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
369
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d36453"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
370
|
+
[1m[35m (4.2ms)[0m [1m[36mcommit transaction[0m
|
371
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
372
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d3600"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
373
|
+
[1m[35m (4.5ms)[0m [1m[36mcommit transaction[0m
|
374
|
+
Processing by Api::UserController#reauth as HTML
|
375
|
+
Parameters: {"uid"=>"a1s2d36453"}
|
376
|
+
Rendering /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
|
435
377
|
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
|
378
|
+
Rendered /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.2ms)
|
437
379
|
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
438
|
-
Completed 403 Forbidden in
|
439
|
-
[1m[35m (0.
|
440
|
-
[1m[36mUser Create (0.
|
441
|
-
[1m[35m (
|
442
|
-
[1m[35m (0.
|
443
|
-
[1m[36mUser Create (0.
|
444
|
-
[1m[35m (
|
380
|
+
Completed 403 Forbidden in 3ms (Views: 3.1ms | ActiveRecord: 0.0ms)
|
381
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
382
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d37723"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
383
|
+
[1m[35m (5.4ms)[0m [1m[36mcommit transaction[0m
|
384
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
385
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d36478"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
386
|
+
[1m[35m (4.2ms)[0m [1m[36mcommit transaction[0m
|
445
387
|
Processing by Api::UserController#update as HTML
|
446
|
-
Parameters: {"uid"=>"
|
447
|
-
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT
|
448
|
-
[1m[35m (0.
|
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",
|
450
|
-
[1m[35m (
|
451
|
-
Completed 200 OK in 6ms (ActiveRecord:
|
452
|
-
[1m[36mUser Load (0.
|
453
|
-
[1m[35m (0.
|
454
|
-
[1m[36mUser Create (0.
|
455
|
-
[1m[35m (
|
456
|
-
[1m[35m (0.
|
457
|
-
[1m[36mUser Create (0.
|
458
|
-
[1m[35m (
|
388
|
+
Parameters: {"uid"=>"a1s2d37723"}
|
389
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "a1s2d37723"], ["LIMIT", 1]]
|
390
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
391
|
+
[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]]
|
392
|
+
[1m[35m (4.2ms)[0m [1m[36mcommit transaction[0m
|
393
|
+
Completed 200 OK in 6ms (ActiveRecord: 4.5ms)
|
394
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 10], ["LIMIT", 1]]
|
395
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
396
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d31835"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
397
|
+
[1m[35m (5.2ms)[0m [1m[36mcommit transaction[0m
|
398
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
399
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d34167"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
400
|
+
[1m[35m (4.0ms)[0m [1m[36mcommit transaction[0m
|
401
|
+
Processing by Api::UserController#update as HTML
|
402
|
+
Parameters: {"uid"=>"a1s2d31835"}
|
403
|
+
Rendering /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
|
404
|
+
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
405
|
+
Rendered /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.1ms)
|
406
|
+
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
407
|
+
Completed 403 Forbidden in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
|
408
|
+
[1m[35m (1.0ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
409
|
+
[1m[35m (0.0ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
410
|
+
[1m[35m (0.1ms)[0m [1m[35mDROP TABLE IF EXISTS "users"[0m
|
411
|
+
[1m[35m (8.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 (6.2ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL)[0m
|
413
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
414
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
415
|
+
[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-10-26 14:51:09.395508"], ["updated_at", "2020-10-26 14:51:09.395508"]]
|
416
|
+
[1m[35m (5.1ms)[0m [1m[36mcommit transaction[0m
|
417
|
+
[1m[35m (4.2ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
|
418
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
419
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
420
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
421
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d3521"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
422
|
+
[1m[35m (8.8ms)[0m [1m[36mcommit transaction[0m
|
423
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
424
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d31612"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
425
|
+
[1m[35m (9.4ms)[0m [1m[36mcommit transaction[0m
|
426
|
+
Processing by Api::UserController#reauth as HTML
|
427
|
+
Parameters: {"uid"=>"a1s2d3521"}
|
428
|
+
Rendering /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
|
429
|
+
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
430
|
+
Rendered /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (Duration: 0.5ms | Allocations: 266)
|
431
|
+
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
432
|
+
Completed 403 Forbidden in 5ms (Views: 3.6ms | ActiveRecord: 0.0ms | Allocations: 3270)
|
433
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
434
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d35772"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
435
|
+
[1m[35m (5.7ms)[0m [1m[36mcommit transaction[0m
|
436
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
437
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d39235"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
438
|
+
[1m[35m (7.3ms)[0m [1m[36mcommit transaction[0m
|
439
|
+
Processing by Api::UserController#reauth as HTML
|
440
|
+
Parameters: {"uid"=>"a1s2d35772"}
|
441
|
+
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "a1s2d35772"], ["LIMIT", 1]]
|
442
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
443
|
+
[1m[36mUser Update (0.1ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", 1], ["id", 3]]
|
444
|
+
[1m[35m (7.3ms)[0m [1m[36mcommit transaction[0m
|
445
|
+
Completed 200 OK in 10ms (ActiveRecord: 7.7ms | Allocations: 1138)
|
446
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 3], ["LIMIT", 1]]
|
447
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
448
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d35156"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
449
|
+
[1m[35m (7.9ms)[0m [1m[36mcommit transaction[0m
|
450
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
451
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d34813"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
452
|
+
[1m[35m (5.1ms)[0m [1m[36mcommit transaction[0m
|
459
453
|
Processing by Api::UserController#reauth as HTML
|
460
454
|
Parameters: {"uid"=>"nonexistent-user"}
|
461
455
|
[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:
|
463
|
-
[1m[35m (0.
|
464
|
-
[1m[36mUser Create (0.
|
465
|
-
[1m[35m (
|
466
|
-
[1m[35m (0.
|
467
|
-
[1m[36mUser Create (0.
|
468
|
-
[1m[35m (
|
469
|
-
Processing by Api::UserController#
|
470
|
-
Parameters: {"uid"=>"
|
471
|
-
|
456
|
+
Completed 200 OK in 1ms (ActiveRecord: 0.1ms | Allocations: 521)
|
457
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
458
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d34405"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
459
|
+
[1m[35m (5.0ms)[0m [1m[36mcommit transaction[0m
|
460
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
461
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d3951"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
462
|
+
[1m[35m (7.0ms)[0m [1m[36mcommit transaction[0m
|
463
|
+
Processing by Api::UserController#update as HTML
|
464
|
+
Parameters: {"uid"=>"a1s2d34405"}
|
465
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "a1s2d34405"], ["LIMIT", 1]]
|
466
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
467
|
+
[1m[36mUser Update (0.1ms)[0m [1m[33mUPDATE "users" SET "email" = ?, "name" = ?, "permissions" = ?, "organisation_slug" = ?, "organisation_content_id" = ? WHERE "users"."id" = ?[0m [["email", "user@domain.com"], ["name", "Joshua Marshall"], ["permissions", "---\n- signin\n- new permission\n"], ["organisation_slug", "justice-league"], ["organisation_content_id", "aae1319e-5788-4677-998c-f1a53af528d0"], ["id", 7]]
|
468
|
+
[1m[35m (6.3ms)[0m [1m[36mcommit transaction[0m
|
469
|
+
Completed 200 OK in 8ms (ActiveRecord: 6.6ms | Allocations: 1284)
|
470
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 7], ["LIMIT", 1]]
|
471
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
472
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d34335"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
473
|
+
[1m[35m (9.8ms)[0m [1m[36mcommit transaction[0m
|
474
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
475
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d39368"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
476
|
+
[1m[35m (7.4ms)[0m [1m[36mcommit transaction[0m
|
477
|
+
Processing by Api::UserController#update as HTML
|
478
|
+
Parameters: {"uid"=>"a1s2d34335"}
|
479
|
+
Rendering /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
|
472
480
|
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
|
481
|
+
Rendered /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (Duration: 0.1ms | Allocations: 56)
|
474
482
|
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
475
|
-
Completed 403 Forbidden in
|
476
|
-
[1m[
|
477
|
-
[1m[
|
478
|
-
[1m[
|
479
|
-
[1m[35m (
|
480
|
-
[1m[
|
481
|
-
[1m[
|
482
|
-
|
483
|
-
|
484
|
-
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."
|
485
|
-
[1m[35m (0.
|
486
|
-
[1m[36mUser
|
487
|
-
[1m[35m (
|
488
|
-
|
489
|
-
|
490
|
-
|
491
|
-
Processing by ExampleController#restricted as HTML
|
492
|
-
Authenticating with gds_sso strategy
|
493
|
-
Completed in 4ms (ActiveRecord: 0.0ms | Allocations: 162)
|
494
|
-
Started GET "/" for 127.0.0.1 at 2020-07-28 10:11:12 +0000
|
495
|
-
Processing by ExampleController#index as HTML
|
496
|
-
Rendering text template
|
497
|
-
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
498
|
-
Completed 200 OK in 1ms (Views: 1.0ms | ActiveRecord: 0.0ms | Allocations: 475)
|
499
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-07-28 10:11:12 +0000
|
500
|
-
Processing by ExampleController#restricted as HTML
|
483
|
+
Completed 403 Forbidden in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms | Allocations: 514)
|
484
|
+
[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]]
|
485
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
486
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Dummy API user created by gds-sso"], ["uid", "3749"], ["email", "dummyapiuser@domain.com"], ["permissions", "---\n- signin\n"]]
|
487
|
+
[1m[35m (11.3ms)[0m [1m[36mcommit transaction[0m
|
488
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
489
|
+
[1m[36mUser Update (0.1ms)[0m [1m[33mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = ?[0m [["permissions", "---\n- signin\n- extra_permission\n"], ["id", 11]]
|
490
|
+
[1m[35m (13.2ms)[0m [1m[36mcommit transaction[0m
|
491
|
+
[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]]
|
492
|
+
[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]]
|
493
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
494
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions", "organisation_slug", "organisation_content_id", "disabled") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["name", "A Name"], ["uid", "asd"], ["email", "user@example.com"], ["permissions", "---\n- signin\n"], ["organisation_slug", "hmrc"], ["organisation_content_id", "67a2b78d-eee3-45b3-80e2-792e7f71cecc"], ["disabled", nil]]
|
495
|
+
[1m[35m (6.9ms)[0m [1m[36mcommit transaction[0m
|
496
|
+
[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]]
|
497
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-10-26 14:51:10 +0000
|
498
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
501
499
|
Authenticating with gds_sso strategy
|
502
|
-
Completed in
|
503
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2020-
|
504
|
-
Started GET "/auth/gds/callback?code=
|
500
|
+
Completed in 4ms (ActiveRecord: 0.0ms | Allocations: 161)
|
501
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-10-26 14:51:10 +0000
|
502
|
+
Started GET "/auth/gds/callback?code=CcfEoM1MpM4hcEeZL5WZUmoWjkNxiM0Oa1L7rWJLKBs&state=156fe842e93761b639e9a74480699111a72a9be4a4fc1e17" for 127.0.0.1 at 2020-10-26 14:51:10 +0000
|
505
503
|
Processing by AuthenticationsController#callback as HTML
|
506
|
-
Parameters: {"code"=>"
|
504
|
+
Parameters: {"code"=>"CcfEoM1MpM4hcEeZL5WZUmoWjkNxiM0Oa1L7rWJLKBs", "state"=>"156fe842e93761b639e9a74480699111a72a9be4a4fc1e17"}
|
507
505
|
Authenticating with gds_sso strategy
|
508
|
-
[1m[36mUser Load (0.
|
506
|
+
[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]]
|
509
507
|
[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.
|
511
|
-
[1m[36mUser Create (0.
|
512
|
-
[1m[35m (
|
513
|
-
[1m[35m (0.
|
514
|
-
[1m[36mUser Update (0.
|
515
|
-
[1m[35m (4.
|
516
|
-
Redirected to http://www.example-client.com/
|
517
|
-
Completed 302 Found in
|
518
|
-
Started GET "/
|
519
|
-
Processing by ExampleController#
|
508
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
509
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Test User"], ["uid", "integration-uid"], ["email", "test@example-client.com"], ["permissions", "---\n- signin\n"]]
|
510
|
+
[1m[35m (5.3ms)[0m [1m[36mcommit transaction[0m
|
511
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
512
|
+
[1m[36mUser Update (0.1ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", 0], ["id", 13]]
|
513
|
+
[1m[35m (4.2ms)[0m [1m[36mcommit transaction[0m
|
514
|
+
Redirected to http://www.example-client.com/this_requires_signin_permission
|
515
|
+
Completed 302 Found in 13ms (ActiveRecord: 10.1ms | Allocations: 1593)
|
516
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-10-26 14:51:10 +0000
|
517
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
520
518
|
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", 0], ["LIMIT", 1]]
|
521
519
|
Rendering text template
|
522
520
|
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
523
|
-
Completed 200 OK in 2ms (Views: 0.
|
524
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-
|
521
|
+
Completed 200 OK in 2ms (Views: 0.8ms | ActiveRecord: 0.2ms | Allocations: 1054)
|
522
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-10-26 14:51:10 +0000
|
525
523
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
526
524
|
Authenticating with gds_sso strategy
|
527
|
-
Completed in 0ms (ActiveRecord: 0.0ms | Allocations:
|
528
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2020-
|
529
|
-
Started GET "/auth/gds/callback?code=
|
525
|
+
Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 112)
|
526
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-10-26 14:51:10 +0000
|
527
|
+
Started GET "/auth/gds/callback?code=P_GEjdhe51Awp_rBVMBHcqmzzX64bBiYtbzHlOCLd1A&state=a3e67583ddbdc93e9a05d777b9f8f47211da874e1bf08a89" for 127.0.0.1 at 2020-10-26 14:51:10 +0000
|
530
528
|
Processing by AuthenticationsController#callback as HTML
|
531
|
-
Parameters: {"code"=>"
|
529
|
+
Parameters: {"code"=>"P_GEjdhe51Awp_rBVMBHcqmzzX64bBiYtbzHlOCLd1A", "state"=>"a3e67583ddbdc93e9a05d777b9f8f47211da874e1bf08a89"}
|
532
530
|
Authenticating with gds_sso strategy
|
533
|
-
[1m[36mUser Load (0.
|
531
|
+
[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]]
|
534
532
|
Redirected to http://www.example-client.com/this_requires_signin_permission
|
535
|
-
Completed 302 Found in
|
536
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-
|
533
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.1ms | Allocations: 1019)
|
534
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-10-26 14:51:10 +0000
|
537
535
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
538
536
|
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", 0], ["LIMIT", 1]]
|
539
537
|
Rendering text template
|
540
538
|
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
541
|
-
Completed 200 OK in
|
542
|
-
Started GET "/
|
543
|
-
Processing by ExampleController#
|
539
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations: 709)
|
540
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:10 +0000
|
541
|
+
Processing by ExampleController#restricted as HTML
|
544
542
|
Authenticating with gds_sso strategy
|
545
|
-
Completed in 0ms (ActiveRecord: 0.0ms | Allocations:
|
546
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2020-
|
547
|
-
Started GET "/auth/gds/callback?code=
|
543
|
+
Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 112)
|
544
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-10-26 14:51:10 +0000
|
545
|
+
Started GET "/auth/gds/callback?code=vw71a-deJx87P19bBjLXxD9r3B3vPQRW7movQkxVyg4&state=f086f068f227e08a5a6c23086c801305a3bf33eacae3c724" for 127.0.0.1 at 2020-10-26 14:51:10 +0000
|
548
546
|
Processing by AuthenticationsController#callback as HTML
|
549
|
-
Parameters: {"code"=>"
|
547
|
+
Parameters: {"code"=>"vw71a-deJx87P19bBjLXxD9r3B3vPQRW7movQkxVyg4", "state"=>"f086f068f227e08a5a6c23086c801305a3bf33eacae3c724"}
|
550
548
|
Authenticating with gds_sso strategy
|
551
|
-
[1m[36mUser Load (0.
|
552
|
-
Redirected to http://www.example-client.com/
|
553
|
-
Completed 302 Found in
|
554
|
-
Started GET "/
|
555
|
-
Processing by ExampleController#
|
556
|
-
[1m[36mUser Load (0.
|
549
|
+
[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]]
|
550
|
+
Redirected to http://www.example-client.com/restricted
|
551
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.1ms | Allocations: 1015)
|
552
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:10 +0000
|
553
|
+
Processing by ExampleController#restricted as HTML
|
554
|
+
[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]]
|
557
555
|
Rendering text template
|
558
556
|
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
559
|
-
Completed 200 OK in
|
560
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-
|
557
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations: 706)
|
558
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:10 +0000
|
561
559
|
Processing by ExampleController#restricted as HTML
|
562
560
|
Authenticating with gds_sso strategy
|
563
|
-
Completed in 0ms (ActiveRecord: 0.0ms | Allocations:
|
564
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2020-
|
565
|
-
Started GET "/auth/gds/callback?code=
|
561
|
+
Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 112)
|
562
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-10-26 14:51:10 +0000
|
563
|
+
Started GET "/auth/gds/callback?code=gKSQCO3T605t6Bd3ty3fTGxwcWnUBnKKQ0WS_qsE9Sg&state=85c6bc6df2137b74f313bcab3e7fe9a031c3961c98396d4b" for 127.0.0.1 at 2020-10-26 14:51:10 +0000
|
566
564
|
Processing by AuthenticationsController#callback as HTML
|
567
|
-
Parameters: {"code"=>"
|
565
|
+
Parameters: {"code"=>"gKSQCO3T605t6Bd3ty3fTGxwcWnUBnKKQ0WS_qsE9Sg", "state"=>"85c6bc6df2137b74f313bcab3e7fe9a031c3961c98396d4b"}
|
568
566
|
Authenticating with gds_sso strategy
|
569
|
-
[1m[36mUser Load (0.
|
567
|
+
[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]]
|
570
568
|
Redirected to http://www.example-client.com/restricted
|
571
|
-
Completed 302 Found in
|
572
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-
|
569
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.1ms | Allocations: 1015)
|
570
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:10 +0000
|
573
571
|
Processing by ExampleController#restricted as HTML
|
574
572
|
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", 0], ["LIMIT", 1]]
|
575
573
|
Rendering text template
|
576
574
|
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
577
|
-
Completed 200 OK in
|
578
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-
|
575
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations: 706)
|
576
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:10 +0000
|
579
577
|
Processing by ExampleController#restricted as HTML
|
580
578
|
Authenticating with gds_sso strategy
|
581
|
-
Completed in 0ms (ActiveRecord: 0.0ms | Allocations:
|
582
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2020-
|
583
|
-
Started GET "/auth/gds/callback?code=
|
579
|
+
Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 112)
|
580
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-10-26 14:51:10 +0000
|
581
|
+
Started GET "/auth/gds/callback?code=BnFkDrfN9Z2hyimBvnmSqcPfovbOQyFvaIG9cohTHfM&state=ebc1316410d9746f3da5be6009e776a648c23afa996ed286" for 127.0.0.1 at 2020-10-26 14:51:10 +0000
|
584
582
|
Processing by AuthenticationsController#callback as HTML
|
585
|
-
Parameters: {"code"=>"
|
583
|
+
Parameters: {"code"=>"BnFkDrfN9Z2hyimBvnmSqcPfovbOQyFvaIG9cohTHfM", "state"=>"ebc1316410d9746f3da5be6009e776a648c23afa996ed286"}
|
586
584
|
Authenticating with gds_sso strategy
|
587
|
-
[1m[36mUser Load (0.
|
585
|
+
[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]]
|
588
586
|
Redirected to http://www.example-client.com/restricted
|
589
|
-
Completed 302 Found in
|
590
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-
|
587
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.1ms | Allocations: 1015)
|
588
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:10 +0000
|
591
589
|
Processing by ExampleController#restricted as HTML
|
592
590
|
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", 0], ["LIMIT", 1]]
|
593
591
|
Rendering text template
|
594
592
|
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
595
|
-
Completed 200 OK in
|
596
|
-
Started GET "/
|
593
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations: 706)
|
594
|
+
Started GET "/" for 127.0.0.1 at 2020-10-26 14:51:10 +0000
|
595
|
+
Processing by ExampleController#index as HTML
|
596
|
+
Rendering text template
|
597
|
+
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
598
|
+
Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms | Allocations: 153)
|
599
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:10 +0000
|
597
600
|
Processing by ExampleController#restricted as HTML
|
598
601
|
Authenticating with gds_sso strategy
|
599
|
-
Completed in 0ms (ActiveRecord: 0.0ms | Allocations:
|
600
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2020-
|
601
|
-
Started GET "/auth/gds/callback?code=
|
602
|
+
Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 112)
|
603
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-10-26 14:51:10 +0000
|
604
|
+
Started GET "/auth/gds/callback?code=APoibDDfGWp4YOYOb-mlhAGZ4ddhM99vujOTRaNe8fM&state=31b2dd657ea3fb2f658a27903cd6731ae4b5a1b5e4a31a35" for 127.0.0.1 at 2020-10-26 14:51:10 +0000
|
602
605
|
Processing by AuthenticationsController#callback as HTML
|
603
|
-
Parameters: {"code"=>"
|
606
|
+
Parameters: {"code"=>"APoibDDfGWp4YOYOb-mlhAGZ4ddhM99vujOTRaNe8fM", "state"=>"31b2dd657ea3fb2f658a27903cd6731ae4b5a1b5e4a31a35"}
|
604
607
|
Authenticating with gds_sso strategy
|
605
|
-
[1m[36mUser Load (0.
|
608
|
+
[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]]
|
606
609
|
Redirected to http://www.example-client.com/restricted
|
607
|
-
Completed 302 Found in
|
608
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-
|
609
|
-
Processing by ExampleController#restricted as HTML
|
610
|
-
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", 0], ["LIMIT", 1]]
|
611
|
-
Rendering text template
|
612
|
-
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
613
|
-
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.1ms | Allocations: 709)
|
614
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-07-29 06:06:13 +0000
|
610
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.1ms | Allocations: 1019)
|
611
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:10 +0000
|
615
612
|
Processing by ExampleController#restricted as HTML
|
616
613
|
[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
614
|
Rendering text template
|
618
615
|
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
619
|
-
Completed 200 OK in 1ms (Views: 0.
|
620
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-
|
616
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations: 709)
|
617
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-10-27 10:56:10 +0000
|
621
618
|
Processing by ExampleController#restricted as HTML
|
622
619
|
Authenticating with gds_sso strategy
|
623
|
-
Completed in 0ms (ActiveRecord: 0.0ms | Allocations:
|
624
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2020-
|
625
|
-
Started GET "/auth/gds/callback?code=
|
620
|
+
Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 498)
|
621
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-10-27 10:56:10 +0000
|
622
|
+
Started GET "/auth/gds/callback?code=7K72nCsn8CzZstyeITpn5_tqeSamkl20rDOAnjEAvhE&state=39077c375107ad6496606d3943549c493bdc6ed4fd38c558" for 127.0.0.1 at 2020-10-27 10:56:10 +0000
|
626
623
|
Processing by AuthenticationsController#callback as HTML
|
627
|
-
Parameters: {"code"=>"
|
624
|
+
Parameters: {"code"=>"7K72nCsn8CzZstyeITpn5_tqeSamkl20rDOAnjEAvhE", "state"=>"39077c375107ad6496606d3943549c493bdc6ed4fd38c558"}
|
628
625
|
Authenticating with gds_sso strategy
|
629
|
-
[1m[36mUser Load (0.
|
626
|
+
[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]]
|
630
627
|
Redirected to http://www.example-client.com/restricted
|
631
|
-
Completed 302 Found in
|
632
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-
|
628
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.1ms | Allocations: 1217)
|
629
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-10-27 10:56:10 +0000
|
633
630
|
Processing by ExampleController#restricted as HTML
|
634
631
|
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", 0], ["LIMIT", 1]]
|
635
632
|
Rendering text template
|
636
633
|
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
637
|
-
Completed 200 OK in
|
638
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-
|
634
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations: 931)
|
635
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:10 +0000
|
639
636
|
Processing by ExampleController#restricted as HTML
|
640
637
|
Authenticating with gds_sso strategy
|
641
|
-
Completed in
|
642
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2020-
|
643
|
-
Started GET "/auth/gds/callback?code=
|
638
|
+
Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 112)
|
639
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-10-26 14:51:10 +0000
|
640
|
+
Started GET "/auth/gds/callback?code=IT_etADQWF1aJWi9LF93q_RAkpAR81y52ZPecBrS4RE&state=4cdc532d5e0d6b31f8dd68839f3ab032ebf1396f521219a0" for 127.0.0.1 at 2020-10-26 14:51:10 +0000
|
644
641
|
Processing by AuthenticationsController#callback as HTML
|
645
|
-
Parameters: {"code"=>"
|
642
|
+
Parameters: {"code"=>"IT_etADQWF1aJWi9LF93q_RAkpAR81y52ZPecBrS4RE", "state"=>"4cdc532d5e0d6b31f8dd68839f3ab032ebf1396f521219a0"}
|
646
643
|
Authenticating with gds_sso strategy
|
647
|
-
[1m[36mUser Load (0.
|
644
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
648
645
|
Redirected to http://www.example-client.com/restricted
|
649
|
-
Completed 302 Found in
|
650
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-
|
646
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.1ms | Allocations: 1015)
|
647
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:10 +0000
|
651
648
|
Processing by ExampleController#restricted as HTML
|
652
|
-
[1m[36mUser Load (0.
|
649
|
+
[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]]
|
653
650
|
Rendering text template
|
654
651
|
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
655
|
-
Completed 200 OK in
|
656
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-
|
652
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations: 706)
|
653
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-10-27 10:56:10 +0000
|
654
|
+
Processing by ExampleController#restricted as HTML
|
655
|
+
Authenticating with gds_sso strategy
|
656
|
+
Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 498)
|
657
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-10-27 10:56:10 +0000
|
658
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:10 +0000
|
657
659
|
Processing by ExampleController#restricted as HTML
|
658
660
|
Authenticating with gds_sso strategy
|
659
|
-
Completed in 0ms (ActiveRecord: 0.0ms | Allocations:
|
660
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2020-
|
661
|
-
Started GET "/auth/gds/callback?code=
|
661
|
+
Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 112)
|
662
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-10-26 14:51:10 +0000
|
663
|
+
Started GET "/auth/gds/callback?code=O4wvIT3_l7tiliaqAACJZ20qbUqq_pVNmbXZ7LQb-nw&state=8485936984b0a357019f3679e1a0c3cb257b9125fe85d1c4" for 127.0.0.1 at 2020-10-26 14:51:10 +0000
|
662
664
|
Processing by AuthenticationsController#callback as HTML
|
663
|
-
Parameters: {"code"=>"
|
665
|
+
Parameters: {"code"=>"O4wvIT3_l7tiliaqAACJZ20qbUqq_pVNmbXZ7LQb-nw", "state"=>"8485936984b0a357019f3679e1a0c3cb257b9125fe85d1c4"}
|
664
666
|
Authenticating with gds_sso strategy
|
665
|
-
[1m[36mUser Load (0.
|
667
|
+
[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]]
|
666
668
|
Redirected to http://www.example-client.com/restricted
|
667
|
-
Completed 302 Found in
|
668
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-
|
669
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.1ms | Allocations: 1015)
|
670
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:10 +0000
|
669
671
|
Processing by ExampleController#restricted as HTML
|
670
|
-
[1m[36mUser Load (0.
|
672
|
+
[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]]
|
671
673
|
Rendering text template
|
672
674
|
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
673
|
-
Completed 200 OK in
|
674
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-
|
675
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations: 706)
|
676
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-10-27 10:46:10 +0000
|
675
677
|
Processing by ExampleController#restricted as HTML
|
676
|
-
|
677
|
-
|
678
|
-
|
679
|
-
|
678
|
+
[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]]
|
679
|
+
Rendering text template
|
680
|
+
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
681
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations: 929)
|
682
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:10 +0000
|
680
683
|
Processing by ExampleController#restricted as HTML
|
681
684
|
Authenticating with gds_sso strategy
|
682
|
-
Completed in 0ms (ActiveRecord: 0.0ms | Allocations:
|
683
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2020-
|
684
|
-
Started GET "/auth/gds/callback?code=
|
685
|
+
Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 112)
|
686
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-10-26 14:51:10 +0000
|
687
|
+
Started GET "/auth/gds/callback?code=h5AvSzO9-B-1cin-UDSU-p1dIsEbFKeD7lweCROjrho&state=9e8442a545bde8802ef556f04e1c8fdde3db5c75819d3b4c" for 127.0.0.1 at 2020-10-26 14:51:10 +0000
|
685
688
|
Processing by AuthenticationsController#callback as HTML
|
686
|
-
Parameters: {"code"=>"
|
689
|
+
Parameters: {"code"=>"h5AvSzO9-B-1cin-UDSU-p1dIsEbFKeD7lweCROjrho", "state"=>"9e8442a545bde8802ef556f04e1c8fdde3db5c75819d3b4c"}
|
687
690
|
Authenticating with gds_sso strategy
|
688
|
-
[1m[36mUser Load (0.
|
691
|
+
[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]]
|
689
692
|
Redirected to http://www.example-client.com/restricted
|
690
|
-
Completed 302 Found in
|
691
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-
|
693
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.1ms | Allocations: 1019)
|
694
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:10 +0000
|
692
695
|
Processing by ExampleController#restricted as HTML
|
693
696
|
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", 0], ["LIMIT", 1]]
|
694
697
|
Rendering text template
|
695
698
|
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
696
|
-
Completed 200 OK in
|
699
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations: 708)
|
697
700
|
[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.
|
699
|
-
[1m[36mUser Update (0.
|
700
|
-
[1m[35m (4.
|
701
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-
|
701
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
702
|
+
[1m[36mUser Update (0.2ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", 1], ["id", 13]]
|
703
|
+
[1m[35m (4.1ms)[0m [1m[36mcommit transaction[0m
|
704
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:10 +0000
|
702
705
|
Processing by ExampleController#restricted as HTML
|
703
706
|
[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]]
|
704
707
|
Authenticating with gds_sso strategy
|
705
|
-
Completed in 1ms (ActiveRecord: 0.1ms | Allocations:
|
706
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2020-
|
707
|
-
Started GET "/auth/gds/callback?code=
|
708
|
+
Completed in 1ms (ActiveRecord: 0.1ms | Allocations: 574)
|
709
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-10-26 14:51:10 +0000
|
710
|
+
Started GET "/auth/gds/callback?code=B40rOBHLorgUVjtPFZSVFMxf4QnH7ryN4p6tUQR1vtg&state=c6e381ce1a1c9c84ae78a3e18e447ad294b0ed65cf25130f" for 127.0.0.1 at 2020-10-26 14:51:10 +0000
|
708
711
|
Processing by AuthenticationsController#callback as HTML
|
709
|
-
Parameters: {"code"=>"
|
712
|
+
Parameters: {"code"=>"B40rOBHLorgUVjtPFZSVFMxf4QnH7ryN4p6tUQR1vtg", "state"=>"c6e381ce1a1c9c84ae78a3e18e447ad294b0ed65cf25130f"}
|
710
713
|
Authenticating with gds_sso strategy
|
711
|
-
[1m[36mUser Load (0.
|
714
|
+
[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]]
|
712
715
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
713
|
-
[1m[36mUser Update (0.
|
714
|
-
[1m[35m (5.
|
716
|
+
[1m[36mUser Update (0.2ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", 0], ["id", 13]]
|
717
|
+
[1m[35m (5.2ms)[0m [1m[36mcommit transaction[0m
|
715
718
|
Redirected to http://www.example-client.com/restricted
|
716
|
-
Completed 302 Found in
|
717
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-
|
719
|
+
Completed 302 Found in 8ms (ActiveRecord: 5.5ms | Allocations: 1225)
|
720
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:10 +0000
|
718
721
|
Processing by ExampleController#restricted as HTML
|
719
|
-
[1m[36mUser Load (0.
|
722
|
+
[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]]
|
720
723
|
Rendering text template
|
721
|
-
Rendered text template (Duration: 0.
|
722
|
-
Completed 200 OK in
|
723
|
-
Started GET "/
|
724
|
-
Processing by ExampleController#
|
725
|
-
|
724
|
+
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
725
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations: 704)
|
726
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:10 +0000
|
727
|
+
Processing by ExampleController#restricted as JSON
|
728
|
+
Completed in 14ms (ActiveRecord: 0.0ms | Allocations: 2116)
|
729
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:10 +0000
|
730
|
+
Processing by ExampleController#restricted as JSON
|
731
|
+
Completed in 7ms (ActiveRecord: 0.0ms | Allocations: 1871)
|
732
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:10 +0000
|
733
|
+
Processing by ExampleController#restricted as JSON
|
734
|
+
[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]]
|
726
735
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
727
|
-
[1m[36mUser Update (0.
|
728
|
-
[1m[35m (
|
729
|
-
[1m[36mUser Load (0.
|
736
|
+
[1m[36mUser Update (0.2ms)[0m [1m[33mUPDATE "users" SET "disabled" = ? WHERE "users"."id" = ?[0m [["disabled", nil], ["id", 13]]
|
737
|
+
[1m[35m (5.2ms)[0m [1m[36mcommit transaction[0m
|
738
|
+
[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]]
|
730
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]]
|
731
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]]
|
732
741
|
Rendering text template
|
733
742
|
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
734
|
-
Completed 200 OK in
|
735
|
-
Started GET "/
|
736
|
-
Processing by ExampleController#
|
737
|
-
[1m[36mUser Load (0.
|
743
|
+
Completed 200 OK in 11ms (Views: 0.2ms | ActiveRecord: 5.7ms | Allocations: 3631)
|
744
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-10-26 14:51:10 +0000
|
745
|
+
Processing by ExampleController#this_requires_signin_permission as JSON
|
746
|
+
[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]]
|
738
747
|
[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
748
|
[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
749
|
[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
750
|
Rendering text template
|
742
751
|
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
743
|
-
Completed 200 OK in
|
744
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-
|
745
|
-
Processing by ExampleController#restricted as
|
746
|
-
|
747
|
-
|
748
|
-
Processing by ExampleController#restricted as JSON
|
749
|
-
Completed in 16ms (ActiveRecord: 0.0ms | Allocations: 1958)
|
750
|
-
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["email", "dummyapiuser@domain.com"], ["LIMIT", 1]]
|
751
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
752
|
-
[1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Dummy API user created by gds-sso"], ["uid", "2568"], ["email", "dummyapiuser@domain.com"], ["permissions", "---\n- signin\n"]]
|
753
|
-
[1m[35m (4.2ms)[0m [1m[36mcommit transaction[0m
|
754
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
755
|
-
[1m[36mUser Update (0.2ms)[0m [1m[33mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = ?[0m [["permissions", "---\n- signin\n- extra_permission\n"], ["id", 13]]
|
756
|
-
[1m[35m (4.0ms)[0m [1m[36mcommit transaction[0m
|
752
|
+
Completed 200 OK in 5ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations: 3319)
|
753
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:10 +0000
|
754
|
+
Processing by ExampleController#restricted as HTML
|
755
|
+
Authenticating with gds_sso strategy
|
756
|
+
Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 114)
|
757
757
|
[1m[35m (0.1ms)[0m [1m[35mDROP TABLE IF EXISTS "users"[0m
|
758
|
-
[1m[35m (
|
759
|
-
[1m[35m (
|
760
|
-
[1m[35m (
|
761
|
-
[1m[36mActiveRecord::InternalMetadata Load (0.
|
762
|
-
[1m[35m (0.
|
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 (
|
766
|
-
[1m[36mActiveRecord::InternalMetadata Load (0.
|
758
|
+
[1m[35m (0.9ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
759
|
+
[1m[35m (17.8ms)[0m [1m[35mCREATE TABLE "users" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar NOT NULL, "uid" varchar NOT NULL, "email" varchar NOT NULL, "remotely_signed_out" boolean, "permissions" text, "organisation_slug" varchar, "organisation_content_id" varchar, "disabled" boolean DEFAULT 'f')[0m
|
760
|
+
[1m[35m (8.8ms)[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
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
762
|
+
[1m[35m (0.0ms)[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-10-26 14:51:15.152563"], ["updated_at", "2020-10-26 14:51:15.152563"]]
|
764
|
+
[1m[35m (5.6ms)[0m [1m[36mcommit transaction[0m
|
765
|
+
[1m[35m (5.9ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
|
766
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
767
767
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
768
768
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
769
|
-
[1m[36mUser Load (0.
|
770
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
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
|
773
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
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
|
776
|
-
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "asd"], ["LIMIT", 1]]
|
777
|
-
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["email", "user@example.com"], ["LIMIT", 1]]
|
769
|
+
[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]]
|
778
770
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
779
|
-
[1m[36mUser Create (
|
780
|
-
[1m[35m (
|
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]]
|
771
|
+
[1m[36mUser Create (1.0ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Dummy API user created by gds-sso"], ["uid", "2686"], ["email", "dummyapiuser@domain.com"], ["permissions", "---\n- signin\n"]]
|
772
|
+
[1m[35m (5.2ms)[0m [1m[36mcommit transaction[0m
|
782
773
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
783
|
-
[1m[
|
784
|
-
|
785
|
-
|
786
|
-
|
787
|
-
|
788
|
-
|
789
|
-
|
790
|
-
[1m[
|
791
|
-
|
792
|
-
|
793
|
-
|
774
|
+
[1m[36mUser Update (0.2ms)[0m [1m[33mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = ?[0m [["permissions", "---\n- signin\n- extra_permission\n"], ["id", 1]]
|
775
|
+
[1m[35m (4.2ms)[0m [1m[36mcommit transaction[0m
|
776
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
777
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d31161"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
778
|
+
[1m[35m (4.7ms)[0m [1m[36mcommit transaction[0m
|
779
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
780
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d34234"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
781
|
+
[1m[35m (5.1ms)[0m [1m[36mcommit transaction[0m
|
782
|
+
Processing by Api::UserController#update as HTML
|
783
|
+
Parameters: {"uid"=>"a1s2d31161"}
|
784
|
+
Rendering /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
|
785
|
+
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
786
|
+
Rendered /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (1.2ms)
|
787
|
+
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
788
|
+
Completed 403 Forbidden in 7ms (Views: 6.6ms | ActiveRecord: 0.0ms)
|
789
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
790
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d32959"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
791
|
+
[1m[35m (5.7ms)[0m [1m[36mcommit transaction[0m
|
792
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
793
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d39467"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
794
794
|
[1m[35m (5.8ms)[0m [1m[36mcommit transaction[0m
|
795
|
-
|
796
|
-
|
797
|
-
[1m[
|
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]]
|
799
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
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]]
|
802
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
803
|
-
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
795
|
+
Processing by Api::UserController#update as HTML
|
796
|
+
Parameters: {"uid"=>"a1s2d32959"}
|
797
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "a1s2d32959"], ["LIMIT", 1]]
|
804
798
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
805
|
-
[1m[36mUser Update (0.
|
806
|
-
[1m[35m (
|
807
|
-
|
808
|
-
|
809
|
-
Completed 200 OK in 104ms (Views: 3.5ms | ActiveRecord: 24.1ms)
|
810
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-07-28 10:11:21 +0000
|
811
|
-
Processing by ExampleController#restricted as JSON
|
812
|
-
Completed in 18ms (ActiveRecord: 0.0ms)
|
813
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-07-28 10:11:21 +0000
|
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]]
|
819
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
820
|
-
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
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]]
|
799
|
+
[1m[36mUser Update (0.1ms)[0m [1m[33mUPDATE "users" SET "email" = ?, "name" = ?, "permissions" = ?, "organisation_slug" = ?, "organisation_content_id" = ? WHERE "users"."id" = ?[0m [["email", "user@domain.com"], ["name", "Joshua Marshall"], ["permissions", "---\n- signin\n- new permission\n"], ["organisation_slug", "justice-league"], ["organisation_content_id", "aae1319e-5788-4677-998c-f1a53af528d0"], ["id", 4]]
|
800
|
+
[1m[35m (5.1ms)[0m [1m[36mcommit transaction[0m
|
801
|
+
Completed 200 OK in 9ms (ActiveRecord: 5.4ms)
|
802
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 4], ["LIMIT", 1]]
|
822
803
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
823
|
-
[1m[
|
824
|
-
[1m[
|
825
|
-
[1m[35m (0.
|
826
|
-
[1m[
|
827
|
-
[1m[
|
828
|
-
|
829
|
-
|
804
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d34570"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
805
|
+
[1m[35m (4.1ms)[0m [1m[36mcommit transaction[0m
|
806
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
807
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d39231"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
808
|
+
[1m[35m (4.2ms)[0m [1m[36mcommit transaction[0m
|
809
|
+
Processing by Api::UserController#reauth as HTML
|
810
|
+
Parameters: {"uid"=>"a1s2d34570"}
|
811
|
+
Rendering /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
|
812
|
+
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
813
|
+
Rendered /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.1ms)
|
814
|
+
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
815
|
+
Completed 403 Forbidden in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
|
816
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
817
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d314"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
818
|
+
[1m[35m (5.1ms)[0m [1m[36mcommit transaction[0m
|
819
|
+
[1m[35m (1.0ms)[0m [1m[36mbegin transaction[0m
|
820
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d35325"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
821
|
+
[1m[35m (5.1ms)[0m [1m[36mcommit transaction[0m
|
822
|
+
Processing by Api::UserController#reauth as HTML
|
823
|
+
Parameters: {"uid"=>"a1s2d314"}
|
824
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "a1s2d314"], ["LIMIT", 1]]
|
825
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
826
|
+
[1m[36mUser Update (0.1ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "t"], ["id", 8]]
|
827
|
+
[1m[35m (5.1ms)[0m [1m[36mcommit transaction[0m
|
828
|
+
Completed 200 OK in 7ms (ActiveRecord: 5.3ms)
|
829
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 8], ["LIMIT", 1]]
|
830
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
831
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d37331"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
832
|
+
[1m[35m (4.8ms)[0m [1m[36mcommit transaction[0m
|
833
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
834
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d3677"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
835
|
+
[1m[35m (5.4ms)[0m [1m[36mcommit transaction[0m
|
836
|
+
Processing by Api::UserController#reauth as HTML
|
837
|
+
Parameters: {"uid"=>"nonexistent-user"}
|
838
|
+
[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]]
|
839
|
+
Completed 200 OK in 2ms (ActiveRecord: 0.1ms)
|
840
|
+
[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]]
|
841
|
+
[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]]
|
842
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
843
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions", "organisation_slug", "organisation_content_id", "disabled") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["name", "A Name"], ["uid", "asd"], ["email", "user@example.com"], ["permissions", "---\n- signin\n"], ["organisation_slug", "hmrc"], ["organisation_content_id", "67a2b78d-eee3-45b3-80e2-792e7f71cecc"], ["disabled", nil]]
|
844
|
+
[1m[35m (4.6ms)[0m [1m[36mcommit transaction[0m
|
845
|
+
[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]]
|
830
846
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
831
847
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
832
|
-
|
833
|
-
Rendered text template (0.0ms)
|
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
|
848
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:15 +0000
|
836
849
|
Processing by ExampleController#restricted as HTML
|
837
850
|
Authenticating with gds_sso strategy
|
838
|
-
Completed in
|
839
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2020-
|
840
|
-
Started GET "/auth/gds/callback?code=
|
851
|
+
Completed in 4ms (ActiveRecord: 0.0ms)
|
852
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-10-26 14:51:15 +0000
|
853
|
+
Started GET "/auth/gds/callback?code=Q9Xym_iQS39k93lYjTQmU_M46Qh7yfKef1UwVv273B8&state=a888e7930f94b3210e33ee38ef27f2f6c59989749a591104" for 127.0.0.1 at 2020-10-26 14:51:15 +0000
|
841
854
|
Processing by AuthenticationsController#callback as HTML
|
842
|
-
Parameters: {"code"=>"
|
855
|
+
Parameters: {"code"=>"Q9Xym_iQS39k93lYjTQmU_M46Qh7yfKef1UwVv273B8", "state"=>"a888e7930f94b3210e33ee38ef27f2f6c59989749a591104"}
|
843
856
|
Authenticating with gds_sso strategy
|
844
|
-
[1m[36mUser Load (0.
|
845
|
-
[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
|
857
|
+
[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]]
|
858
|
+
[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]]
|
848
859
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
849
|
-
[1m[
|
860
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Test User"], ["uid", "integration-uid"], ["email", "test@example-client.com"], ["permissions", "---\n- signin\n"]]
|
861
|
+
[1m[35m (5.1ms)[0m [1m[36mcommit transaction[0m
|
862
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
863
|
+
[1m[36mUser Update (0.1ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "f"], ["id", 13]]
|
864
|
+
[1m[35m (4.2ms)[0m [1m[36mcommit transaction[0m
|
850
865
|
Redirected to http://www.example-client.com/restricted
|
851
|
-
Completed 302 Found in
|
852
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-
|
866
|
+
Completed 302 Found in 13ms (ActiveRecord: 9.9ms)
|
867
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:15 +0000
|
853
868
|
Processing by ExampleController#restricted as HTML
|
854
|
-
[1m[36mUser Load (0.
|
855
|
-
Rendering text template
|
856
|
-
Rendered text template (0.0ms)
|
857
|
-
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.2ms)
|
858
|
-
Started GET "/" for 127.0.0.1 at 2020-07-28 10:11:22 +0000
|
859
|
-
Processing by ExampleController#index as HTML
|
869
|
+
[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]]
|
860
870
|
Rendering text template
|
861
871
|
Rendered text template (0.0ms)
|
862
|
-
Completed 200 OK in
|
863
|
-
Started GET "/
|
864
|
-
Processing by ExampleController#
|
872
|
+
Completed 200 OK in 2ms (Views: 0.7ms | ActiveRecord: 0.1ms)
|
873
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:15 +0000
|
874
|
+
Processing by ExampleController#restricted as HTML
|
865
875
|
Authenticating with gds_sso strategy
|
866
876
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
867
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2020-
|
868
|
-
Started GET "/auth/gds/callback?code=
|
877
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-10-26 14:51:15 +0000
|
878
|
+
Started GET "/auth/gds/callback?code=sseENFS7d6YBWzqiG7fpzVhhedUEcvD5PY7jKg9lHzo&state=135f1b3de39cee89529dcae630868efd0e66c62948fe6fad" for 127.0.0.1 at 2020-10-26 14:51:16 +0000
|
869
879
|
Processing by AuthenticationsController#callback as HTML
|
870
|
-
Parameters: {"code"=>"
|
880
|
+
Parameters: {"code"=>"sseENFS7d6YBWzqiG7fpzVhhedUEcvD5PY7jKg9lHzo", "state"=>"135f1b3de39cee89529dcae630868efd0e66c62948fe6fad"}
|
871
881
|
Authenticating with gds_sso strategy
|
872
|
-
[1m[36mUser Load (0.
|
873
|
-
[1m[35m (0.
|
882
|
+
[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]]
|
883
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
874
884
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
875
885
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
876
886
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
877
|
-
Redirected to http://www.example-client.com/
|
878
|
-
Completed 302 Found in
|
879
|
-
Started GET "/
|
880
|
-
Processing by ExampleController#
|
887
|
+
Redirected to http://www.example-client.com/restricted
|
888
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.2ms)
|
889
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:16 +0000
|
890
|
+
Processing by ExampleController#restricted as HTML
|
881
891
|
[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]]
|
882
892
|
Rendering text template
|
883
893
|
Rendered text template (0.0ms)
|
884
|
-
Completed 200 OK in
|
885
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-
|
894
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
895
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-10-26 14:51:16 +0000
|
886
896
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
887
897
|
Authenticating with gds_sso strategy
|
888
898
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
889
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2020-
|
890
|
-
Started GET "/auth/gds/callback?code=
|
899
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-10-26 14:51:16 +0000
|
900
|
+
Started GET "/auth/gds/callback?code=QID8NNYuBDTecvsjSiD-nYSJchn1zEou8UuDw9wfo5g&state=d42a09f463c9f9256d77595275b83baf607fc9f326a95764" for 127.0.0.1 at 2020-10-26 14:51:16 +0000
|
891
901
|
Processing by AuthenticationsController#callback as HTML
|
892
|
-
Parameters: {"code"=>"
|
902
|
+
Parameters: {"code"=>"QID8NNYuBDTecvsjSiD-nYSJchn1zEou8UuDw9wfo5g", "state"=>"d42a09f463c9f9256d77595275b83baf607fc9f326a95764"}
|
893
903
|
Authenticating with gds_sso strategy
|
894
|
-
[1m[36mUser Load (0.
|
895
|
-
[1m[35m (0.
|
904
|
+
[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]]
|
905
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
896
906
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
897
907
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
898
908
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
899
909
|
Redirected to http://www.example-client.com/this_requires_signin_permission
|
900
|
-
Completed 302 Found in
|
901
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-
|
910
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.2ms)
|
911
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-10-26 14:51:16 +0000
|
902
912
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
903
913
|
[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]]
|
904
914
|
Rendering text template
|
905
915
|
Rendered text template (0.0ms)
|
906
|
-
Completed 200 OK in
|
907
|
-
Started GET "/
|
908
|
-
Processing by ExampleController#
|
916
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
917
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-10-26 14:51:16 +0000
|
918
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
909
919
|
Authenticating with gds_sso strategy
|
910
920
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
911
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2020-
|
912
|
-
Started GET "/auth/gds/callback?code=
|
921
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-10-26 14:51:16 +0000
|
922
|
+
Started GET "/auth/gds/callback?code=fRqwvJN7sEVyv-ak_G85JDH9aG72tj15sEfXqHMEVNo&state=4da89b2888a3812c467f79184df679a0fca58af49dbf8bef" for 127.0.0.1 at 2020-10-26 14:51:16 +0000
|
913
923
|
Processing by AuthenticationsController#callback as HTML
|
914
|
-
Parameters: {"code"=>"
|
924
|
+
Parameters: {"code"=>"fRqwvJN7sEVyv-ak_G85JDH9aG72tj15sEfXqHMEVNo", "state"=>"4da89b2888a3812c467f79184df679a0fca58af49dbf8bef"}
|
915
925
|
Authenticating with gds_sso strategy
|
916
|
-
[1m[36mUser Load (0.
|
917
|
-
[1m[35m (0.
|
926
|
+
[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]]
|
927
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
918
928
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
919
929
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
920
930
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
921
|
-
Redirected to http://www.example-client.com/
|
922
|
-
Completed 302 Found in
|
923
|
-
Started GET "/
|
924
|
-
Processing by ExampleController#
|
931
|
+
Redirected to http://www.example-client.com/this_requires_signin_permission
|
932
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.2ms)
|
933
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-10-26 14:51:16 +0000
|
934
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
925
935
|
[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]]
|
926
936
|
Rendering text template
|
927
937
|
Rendered text template (0.0ms)
|
928
|
-
Completed 200 OK in
|
929
|
-
Started GET "/
|
930
|
-
Processing by ExampleController#
|
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
|
935
|
-
Processing by AuthenticationsController#callback as HTML
|
936
|
-
Parameters: {"code"=>"blV2C8QALQ9e_f_NxQbtbqmeUixHRtnNwyHwEEr_k8o", "state"=>"520555c8cc018aadbfa6bee8f3f70f698a9b24bcafe43b85"}
|
937
|
-
Authenticating with gds_sso strategy
|
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]]
|
939
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
940
|
-
[1m[35m (0.2ms)[0m [1m[36mcommit transaction[0m
|
941
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
942
|
-
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
943
|
-
Redirected to http://www.example-client.com/restricted
|
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
|
946
|
-
Processing by ExampleController#restricted as HTML
|
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]]
|
938
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
939
|
+
Started GET "/" for 127.0.0.1 at 2020-10-26 14:51:16 +0000
|
940
|
+
Processing by ExampleController#index as HTML
|
948
941
|
Rendering text template
|
949
942
|
Rendered text template (0.0ms)
|
950
|
-
Completed 200 OK in
|
951
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-
|
943
|
+
Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
944
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:16 +0000
|
952
945
|
Processing by ExampleController#restricted as HTML
|
953
946
|
Authenticating with gds_sso strategy
|
954
947
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
955
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2020-
|
956
|
-
Started GET "/auth/gds/callback?code=
|
948
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-10-26 14:51:16 +0000
|
949
|
+
Started GET "/auth/gds/callback?code=0my6EyJ18tST4xHWoxB70-9MIbZe4Y96U3eQuNLxMWA&state=b5a0ee528dcf895b4ca52d06b2e1a77b2d1b03913e412e65" for 127.0.0.1 at 2020-10-26 14:51:16 +0000
|
957
950
|
Processing by AuthenticationsController#callback as HTML
|
958
|
-
Parameters: {"code"=>"
|
951
|
+
Parameters: {"code"=>"0my6EyJ18tST4xHWoxB70-9MIbZe4Y96U3eQuNLxMWA", "state"=>"b5a0ee528dcf895b4ca52d06b2e1a77b2d1b03913e412e65"}
|
959
952
|
Authenticating with gds_sso strategy
|
960
953
|
[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]]
|
961
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
962
|
-
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
963
954
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
964
955
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
956
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
957
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
965
958
|
Redirected to http://www.example-client.com/restricted
|
966
|
-
Completed 302 Found in
|
967
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-
|
959
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.3ms)
|
960
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:16 +0000
|
968
961
|
Processing by ExampleController#restricted as HTML
|
969
962
|
[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]]
|
970
963
|
Rendering text template
|
971
964
|
Rendered text template (0.0ms)
|
972
|
-
Completed 200 OK in
|
973
|
-
|
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
|
965
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
966
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:16 +0000
|
978
967
|
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]]
|
980
968
|
Authenticating with gds_sso strategy
|
981
|
-
Completed in
|
982
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2020-
|
983
|
-
Started GET "/auth/gds/callback?code=
|
969
|
+
Completed in 0ms (ActiveRecord: 0.0ms)
|
970
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-10-26 14:51:16 +0000
|
971
|
+
Started GET "/auth/gds/callback?code=PMYkbsLpF3HdAt-tuGm2z7SZ9ql0Unbkm6JytGmT7k0&state=c5c3d7f8011877996153f7d94658f795bb7909298c18a0f6" for 127.0.0.1 at 2020-10-26 14:51:16 +0000
|
984
972
|
Processing by AuthenticationsController#callback as HTML
|
985
|
-
Parameters: {"code"=>"
|
973
|
+
Parameters: {"code"=>"PMYkbsLpF3HdAt-tuGm2z7SZ9ql0Unbkm6JytGmT7k0", "state"=>"c5c3d7f8011877996153f7d94658f795bb7909298c18a0f6"}
|
986
974
|
Authenticating with gds_sso strategy
|
987
|
-
[1m[36mUser Load (0.
|
975
|
+
[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]]
|
988
976
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
989
|
-
[1m[35m (0.
|
977
|
+
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
990
978
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
991
|
-
[1m[
|
992
|
-
[1m[35m (4.1ms)[0m [1m[36mcommit transaction[0m
|
979
|
+
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
993
980
|
Redirected to http://www.example-client.com/restricted
|
994
|
-
Completed 302 Found in
|
995
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-
|
981
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.4ms)
|
982
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:16 +0000
|
996
983
|
Processing by ExampleController#restricted as HTML
|
997
984
|
[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
985
|
Rendering text template
|
999
986
|
Rendered text template (0.0ms)
|
1000
|
-
Completed 200 OK in
|
1001
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-
|
987
|
+
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
988
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-10-27 10:56:16 +0000
|
989
|
+
Processing by ExampleController#restricted as HTML
|
990
|
+
Authenticating with gds_sso strategy
|
991
|
+
Completed in 1ms (ActiveRecord: 0.0ms)
|
992
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-10-27 10:56:16 +0000
|
993
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:16 +0000
|
1002
994
|
Processing by ExampleController#restricted as HTML
|
1003
995
|
Authenticating with gds_sso strategy
|
1004
996
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
1005
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2020-
|
1006
|
-
Started GET "/auth/gds/callback?code=
|
997
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-10-26 14:51:16 +0000
|
998
|
+
Started GET "/auth/gds/callback?code=Q_rMbceGZWd_zjBYuOFHd6NKfHBcHGgwVDcXV6UZI48&state=e65b340ea778029e7fbfe50f2b416bd2ddeee9460b159533" for 127.0.0.1 at 2020-10-26 14:51:16 +0000
|
1007
999
|
Processing by AuthenticationsController#callback as HTML
|
1008
|
-
Parameters: {"code"=>"
|
1000
|
+
Parameters: {"code"=>"Q_rMbceGZWd_zjBYuOFHd6NKfHBcHGgwVDcXV6UZI48", "state"=>"e65b340ea778029e7fbfe50f2b416bd2ddeee9460b159533"}
|
1009
1001
|
Authenticating with gds_sso strategy
|
1010
|
-
[1m[36mUser Load (0.
|
1002
|
+
[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]]
|
1011
1003
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1012
1004
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1013
1005
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1014
1006
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1015
1007
|
Redirected to http://www.example-client.com/restricted
|
1016
|
-
Completed 302 Found in
|
1017
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-
|
1008
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.3ms)
|
1009
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:16 +0000
|
1018
1010
|
Processing by ExampleController#restricted as HTML
|
1019
1011
|
[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]]
|
1020
1012
|
Rendering text template
|
1021
1013
|
Rendered text template (0.0ms)
|
1022
|
-
Completed 200 OK in
|
1023
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-
|
1014
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
1015
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-10-27 10:56:16 +0000
|
1024
1016
|
Processing by ExampleController#restricted as HTML
|
1025
1017
|
Authenticating with gds_sso strategy
|
1026
|
-
Completed in
|
1027
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2020-
|
1028
|
-
Started GET "/auth/gds/callback?code=
|
1018
|
+
Completed in 0ms (ActiveRecord: 0.0ms)
|
1019
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-10-27 10:56:16 +0000
|
1020
|
+
Started GET "/auth/gds/callback?code=F1Azm4-OYL03Kgox-DnlpMRjNDOIEOXswvjl5JRie0U&state=857bddb98bab5f7375cfe3c884d90a4d4afbef44c9b6b702" for 127.0.0.1 at 2020-10-27 10:56:16 +0000
|
1029
1021
|
Processing by AuthenticationsController#callback as HTML
|
1030
|
-
Parameters: {"code"=>"
|
1022
|
+
Parameters: {"code"=>"F1Azm4-OYL03Kgox-DnlpMRjNDOIEOXswvjl5JRie0U", "state"=>"857bddb98bab5f7375cfe3c884d90a4d4afbef44c9b6b702"}
|
1031
1023
|
Authenticating with gds_sso strategy
|
1032
|
-
[1m[36mUser Load (0.
|
1033
|
-
[1m[35m (0.
|
1024
|
+
[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]]
|
1025
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1034
1026
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1035
1027
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1036
1028
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1037
1029
|
Redirected to http://www.example-client.com/restricted
|
1038
|
-
Completed 302 Found in
|
1039
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-
|
1030
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.2ms)
|
1031
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-10-27 10:56:16 +0000
|
1040
1032
|
Processing by ExampleController#restricted as HTML
|
1041
1033
|
[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]]
|
1042
1034
|
Rendering text template
|
1043
1035
|
Rendered text template (0.0ms)
|
1044
|
-
Completed 200 OK in
|
1045
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-
|
1036
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
1037
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:16 +0000
|
1046
1038
|
Processing by ExampleController#restricted as HTML
|
1047
1039
|
Authenticating with gds_sso strategy
|
1048
1040
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
1049
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2020-
|
1050
|
-
Started GET "/auth/gds/callback?code=
|
1041
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-10-26 14:51:16 +0000
|
1042
|
+
Started GET "/auth/gds/callback?code=V5VabBRBYodhQsV5Yk7m5jo6ks4vj5FDHrZTlHnxBZ4&state=7756d177cb339841b9f792b67023ba169c9d08181456fb96" for 127.0.0.1 at 2020-10-26 14:51:16 +0000
|
1051
1043
|
Processing by AuthenticationsController#callback as HTML
|
1052
|
-
Parameters: {"code"=>"
|
1044
|
+
Parameters: {"code"=>"V5VabBRBYodhQsV5Yk7m5jo6ks4vj5FDHrZTlHnxBZ4", "state"=>"7756d177cb339841b9f792b67023ba169c9d08181456fb96"}
|
1053
1045
|
Authenticating with gds_sso strategy
|
1054
|
-
[1m[36mUser Load (0.
|
1055
|
-
[1m[35m (0.
|
1046
|
+
[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]]
|
1047
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1056
1048
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1057
|
-
[1m[35m (0.
|
1049
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1058
1050
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1059
1051
|
Redirected to http://www.example-client.com/restricted
|
1060
|
-
Completed 302 Found in
|
1061
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-
|
1052
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.2ms)
|
1053
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:16 +0000
|
1062
1054
|
Processing by ExampleController#restricted as HTML
|
1063
1055
|
[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]]
|
1064
1056
|
Rendering text template
|
1065
1057
|
Rendered text template (0.0ms)
|
1066
|
-
Completed 200 OK in
|
1067
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-
|
1058
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
1059
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-10-27 10:46:16 +0000
|
1068
1060
|
Processing by ExampleController#restricted as HTML
|
1069
1061
|
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", "f"], ["LIMIT", 1]]
|
1070
1062
|
Rendering text template
|
1071
1063
|
Rendered text template (0.0ms)
|
1072
1064
|
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
1073
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-
|
1065
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:16 +0000
|
1074
1066
|
Processing by ExampleController#restricted as HTML
|
1075
1067
|
Authenticating with gds_sso strategy
|
1076
1068
|
Completed in 0ms (ActiveRecord: 0.0ms)
|
1077
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2020-
|
1078
|
-
Started GET "/auth/gds/callback?code=
|
1069
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-10-26 14:51:16 +0000
|
1070
|
+
Started GET "/auth/gds/callback?code=Zv6qwzvfJxFkdQi6YdvVmQOnasH1DwSBT581CaKM3JI&state=c70be6f7328e80c7b899b0fcd0601cdcc7c1b57542ddc96f" for 127.0.0.1 at 2020-10-26 14:51:16 +0000
|
1079
1071
|
Processing by AuthenticationsController#callback as HTML
|
1080
|
-
Parameters: {"code"=>"
|
1072
|
+
Parameters: {"code"=>"Zv6qwzvfJxFkdQi6YdvVmQOnasH1DwSBT581CaKM3JI", "state"=>"c70be6f7328e80c7b899b0fcd0601cdcc7c1b57542ddc96f"}
|
1081
1073
|
Authenticating with gds_sso strategy
|
1082
|
-
[1m[36mUser Load (0.
|
1083
|
-
[1m[35m (0.
|
1074
|
+
[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]]
|
1075
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1084
1076
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1085
1077
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1086
1078
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1087
1079
|
Redirected to http://www.example-client.com/restricted
|
1088
|
-
Completed 302 Found in
|
1089
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-
|
1080
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.2ms)
|
1081
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:16 +0000
|
1090
1082
|
Processing by ExampleController#restricted as HTML
|
1091
1083
|
[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
1084
|
Rendering text template
|
1093
1085
|
Rendered text template (0.0ms)
|
1094
|
-
Completed 200 OK in
|
1095
|
-
|
1086
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
1087
|
+
[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]]
|
1088
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1089
|
+
[1m[36mUser Update (0.2ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "t"], ["id", 13]]
|
1090
|
+
[1m[35m (12.8ms)[0m [1m[36mcommit transaction[0m
|
1091
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:16 +0000
|
1096
1092
|
Processing by ExampleController#restricted as HTML
|
1093
|
+
[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]]
|
1097
1094
|
Authenticating with gds_sso strategy
|
1098
|
-
Completed in 1ms (ActiveRecord: 0.
|
1099
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2020-
|
1100
|
-
|
1101
|
-
|
1102
|
-
|
1095
|
+
Completed in 1ms (ActiveRecord: 0.1ms)
|
1096
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-10-26 14:51:16 +0000
|
1097
|
+
Started GET "/auth/gds/callback?code=sc6BrE3I9al5FWLj-6W1Kimm3naOqZo-zhU3eDLeno0&state=e49cc60c6430580f953d5de40f1a7f3263d66e0d707adbbe" for 127.0.0.1 at 2020-10-26 14:51:16 +0000
|
1098
|
+
Processing by AuthenticationsController#callback as HTML
|
1099
|
+
Parameters: {"code"=>"sc6BrE3I9al5FWLj-6W1Kimm3naOqZo-zhU3eDLeno0", "state"=>"e49cc60c6430580f953d5de40f1a7f3263d66e0d707adbbe"}
|
1100
|
+
Authenticating with gds_sso strategy
|
1101
|
+
[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]]
|
1103
1102
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1104
|
-
[1m[
|
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)
|
1103
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1113
1104
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1114
|
-
[1m[36mUser
|
1115
|
-
[1m[35m (
|
1105
|
+
[1m[36mUser Update (0.2ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", "f"], ["id", 13]]
|
1106
|
+
[1m[35m (6.5ms)[0m [1m[36mcommit transaction[0m
|
1107
|
+
Redirected to http://www.example-client.com/restricted
|
1108
|
+
Completed 302 Found in 9ms (ActiveRecord: 6.9ms)
|
1109
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:16 +0000
|
1110
|
+
Processing by ExampleController#restricted as HTML
|
1111
|
+
[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]]
|
1112
|
+
Rendering text template
|
1113
|
+
Rendered text template (0.0ms)
|
1114
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
1115
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:16 +0000
|
1116
|
+
Processing by ExampleController#restricted as HTML
|
1117
|
+
Authenticating with gds_sso strategy
|
1118
|
+
Completed in 0ms (ActiveRecord: 0.0ms)
|
1119
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:16 +0000
|
1120
|
+
Processing by ExampleController#restricted as JSON
|
1121
|
+
Completed in 9ms (ActiveRecord: 0.0ms)
|
1122
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:16 +0000
|
1123
|
+
Processing by ExampleController#restricted as JSON
|
1124
|
+
[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]]
|
1116
1125
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1117
|
-
[1m[36mUser
|
1118
|
-
[1m[35m (
|
1119
|
-
|
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]]
|
1126
|
+
[1m[36mUser Update (0.2ms)[0m [1m[33mUPDATE "users" SET "disabled" = ? WHERE "users"."id" = ?[0m [["disabled", nil], ["id", 13]]
|
1127
|
+
[1m[35m (6.0ms)[0m [1m[36mcommit transaction[0m
|
1128
|
+
[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]]
|
1127
1129
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1128
|
-
[1m[
|
1129
|
-
[1m[
|
1130
|
+
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
1131
|
+
[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]]
|
1130
1132
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1131
|
-
[1m[
|
1132
|
-
[1m[
|
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)
|
1133
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1134
|
+
[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]]
|
1137
1135
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1138
|
-
[1m[
|
1139
|
-
[1m[35m (3.3ms)[0m [1m[36mcommit transaction[0m
|
1136
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1140
1137
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1141
|
-
[1m[
|
1142
|
-
|
1143
|
-
|
1144
|
-
|
1145
|
-
|
1138
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1139
|
+
Rendering text template
|
1140
|
+
Rendered text template (0.0ms)
|
1141
|
+
Completed 200 OK in 13ms (Views: 0.2ms | ActiveRecord: 6.7ms)
|
1142
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-10-26 14:51:16 +0000
|
1143
|
+
Processing by ExampleController#this_requires_signin_permission as JSON
|
1144
|
+
[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]]
|
1146
1145
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1147
|
-
[1m[
|
1148
|
-
[1m[
|
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]]
|
1146
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1147
|
+
[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]]
|
1151
1148
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1152
|
-
[1m[
|
1153
|
-
[1m[
|
1149
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1150
|
+
[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]]
|
1154
1151
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1155
|
-
[1m[
|
1156
|
-
[1m[
|
1157
|
-
|
1158
|
-
|
1159
|
-
|
1160
|
-
|
1161
|
-
|
1162
|
-
|
1163
|
-
Completed
|
1164
|
-
|
1165
|
-
|
1166
|
-
|
1167
|
-
[1m[35m (
|
1168
|
-
[1m[35m (
|
1169
|
-
[1m[
|
1170
|
-
[1m[35m (
|
1171
|
-
[1m[
|
1172
|
-
[1m[
|
1173
|
-
[1m[35m (
|
1174
|
-
[1m[36mActiveRecord::InternalMetadata
|
1152
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1153
|
+
[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]]
|
1154
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1155
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1156
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1157
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1158
|
+
Rendering text template
|
1159
|
+
Rendered text template (0.0ms)
|
1160
|
+
Completed 200 OK in 6ms (Views: 0.2ms | ActiveRecord: 0.4ms)
|
1161
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:16 +0000
|
1162
|
+
Processing by ExampleController#restricted as JSON
|
1163
|
+
Completed in 13ms (ActiveRecord: 0.0ms)
|
1164
|
+
[1m[35m (1.0ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
1165
|
+
[1m[35m (0.0ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
1166
|
+
[1m[35m (0.1ms)[0m [1m[35mDROP TABLE IF EXISTS "users"[0m
|
1167
|
+
[1m[35m (7.4ms)[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 (7.1ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL)[0m
|
1169
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
1170
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1171
|
+
[1m[36mActiveRecord::InternalMetadata Create (0.1ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "environment"], ["value", "test"], ["created_at", "2020-10-26 14:51:22.380901"], ["updated_at", "2020-10-26 14:51:22.380901"]]
|
1172
|
+
[1m[35m (5.6ms)[0m [1m[36mcommit transaction[0m
|
1173
|
+
[1m[35m (5.6ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
|
1174
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
1175
1175
|
[1m[35m (0.1ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
1176
|
-
[1m[
|
1177
|
-
[1m[
|
1178
|
-
[1m[
|
1179
|
-
[1m[35m (
|
1180
|
-
[1m[
|
1181
|
-
[1m[
|
1182
|
-
|
1183
|
-
|
1184
|
-
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "nonexistent-user"], ["LIMIT", 1]]
|
1185
|
-
Completed 200 OK in 3ms (ActiveRecord: 0.2ms | Allocations: 1427)
|
1186
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1187
|
-
[1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d35989"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
1188
|
-
[1m[35m (6.0ms)[0m [1m[36mcommit transaction[0m
|
1189
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1190
|
-
[1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d33992"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
1191
|
-
[1m[35m (3.5ms)[0m [1m[36mcommit transaction[0m
|
1192
|
-
Processing by Api::UserController#reauth as HTML
|
1193
|
-
Parameters: {"uid"=>"a1s2d35989"}
|
1194
|
-
Rendering /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
|
1195
|
-
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
1196
|
-
Rendered /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (Duration: 1.1ms | Allocations: 201)
|
1197
|
-
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
1198
|
-
Completed 403 Forbidden in 7ms (Views: 6.3ms | ActiveRecord: 0.0ms | Allocations: 1977)
|
1199
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1200
|
-
[1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d38773"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
1201
|
-
[1m[35m (4.3ms)[0m [1m[36mcommit transaction[0m
|
1202
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1203
|
-
[1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d36879"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
1204
|
-
[1m[35m (3.5ms)[0m [1m[36mcommit transaction[0m
|
1205
|
-
Processing by Api::UserController#reauth as HTML
|
1206
|
-
Parameters: {"uid"=>"a1s2d38773"}
|
1207
|
-
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "a1s2d38773"], ["LIMIT", 1]]
|
1208
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1209
|
-
[1m[36mUser Update (0.2ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", 1], ["id", 5]]
|
1210
|
-
[1m[35m (3.4ms)[0m [1m[36mcommit transaction[0m
|
1211
|
-
Completed 200 OK in 6ms (ActiveRecord: 3.9ms | Allocations: 930)
|
1212
|
-
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 5], ["LIMIT", 1]]
|
1213
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1214
|
-
[1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d35174"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
1215
|
-
[1m[35m (4.2ms)[0m [1m[36mcommit transaction[0m
|
1216
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1217
|
-
[1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d33679"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
1218
|
-
[1m[35m (3.4ms)[0m [1m[36mcommit transaction[0m
|
1219
|
-
Processing by Api::UserController#update as HTML
|
1220
|
-
Parameters: {"uid"=>"a1s2d35174"}
|
1221
|
-
Rendering /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
|
1222
|
-
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
1223
|
-
Rendered /var/lib/jenkins/workspace/gds-sso_master-7MNGHJETCC7W4ACW54GEWCZ7RU2E7EW7NZYEBGCKG2QG3YLPM53Q/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (Duration: 0.2ms | Allocations: 47)
|
1224
|
-
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
1225
|
-
Completed 403 Forbidden in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms | Allocations: 510)
|
1226
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1227
|
-
[1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d34309"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
1228
|
-
[1m[35m (3.7ms)[0m [1m[36mcommit transaction[0m
|
1229
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1230
|
-
[1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d35617"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
1231
|
-
[1m[35m (4.2ms)[0m [1m[36mcommit transaction[0m
|
1232
|
-
Processing by Api::UserController#update as HTML
|
1233
|
-
Parameters: {"uid"=>"a1s2d34309"}
|
1234
|
-
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "a1s2d34309"], ["LIMIT", 1]]
|
1235
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1236
|
-
[1m[36mUser Update (0.3ms)[0m [1m[33mUPDATE "users" SET "email" = ?, "name" = ?, "permissions" = ?, "organisation_slug" = ?, "organisation_content_id" = ? WHERE "users"."id" = ?[0m [["email", "user@domain.com"], ["name", "Joshua Marshall"], ["permissions", "---\n- signin\n- new permission\n"], ["organisation_slug", "justice-league"], ["organisation_content_id", "aae1319e-5788-4677-998c-f1a53af528d0"], ["id", 9]]
|
1237
|
-
[1m[35m (3.9ms)[0m [1m[36mcommit transaction[0m
|
1238
|
-
Completed 200 OK in 7ms (ActiveRecord: 4.4ms | Allocations: 1227)
|
1239
|
-
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 9], ["LIMIT", 1]]
|
1240
|
-
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["email", "dummyapiuser@domain.com"], ["LIMIT", 1]]
|
1241
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1242
|
-
[1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Dummy API user created by gds-sso"], ["uid", "178"], ["email", "dummyapiuser@domain.com"], ["permissions", "---\n- signin\n"]]
|
1243
|
-
[1m[35m (3.6ms)[0m [1m[36mcommit transaction[0m
|
1244
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1245
|
-
[1m[36mUser Update (0.2ms)[0m [1m[33mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = ?[0m [["permissions", "---\n- signin\n- extra_permission\n"], ["id", 11]]
|
1246
|
-
[1m[35m (3.2ms)[0m [1m[36mcommit transaction[0m
|
1247
|
-
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "asd"], ["LIMIT", 1]]
|
1248
|
-
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["email", "user@example.com"], ["LIMIT", 1]]
|
1249
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1250
|
-
[1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions", "organisation_slug", "organisation_content_id", "disabled") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["name", "A Name"], ["uid", "asd"], ["email", "user@example.com"], ["permissions", "---\n- signin\n"], ["organisation_slug", "hmrc"], ["organisation_content_id", "67a2b78d-eee3-45b3-80e2-792e7f71cecc"], ["disabled", nil]]
|
1251
|
-
[1m[35m (3.6ms)[0m [1m[36mcommit transaction[0m
|
1252
|
-
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "asd"], ["LIMIT", 1]]
|
1253
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-07-28 10:11:33 +0000
|
1176
|
+
[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]]
|
1177
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1178
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Dummy API user created by gds-sso"], ["uid", "9790"], ["email", "dummyapiuser@domain.com"], ["permissions", "---\n- signin\n"]]
|
1179
|
+
[1m[35m (5.0ms)[0m [1m[36mcommit transaction[0m
|
1180
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1181
|
+
[1m[36mUser Update (0.1ms)[0m [1m[33mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = ?[0m [["permissions", "---\n- signin\n- extra_permission\n"], ["id", 1]]
|
1182
|
+
[1m[35m (4.9ms)[0m [1m[36mcommit transaction[0m
|
1183
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:22 +0000
|
1254
1184
|
Processing by ExampleController#restricted as HTML
|
1255
1185
|
Authenticating with gds_sso strategy
|
1256
|
-
Completed in
|
1257
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2020-
|
1258
|
-
Started GET "/auth/gds/callback?code=
|
1186
|
+
Completed in 4ms (ActiveRecord: 0.0ms | Allocations: 161)
|
1187
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-10-26 14:51:22 +0000
|
1188
|
+
Started GET "/auth/gds/callback?code=Sfl1PZlW0kvV7mxi_j7nipAK5PmuIIFupkzKfPqBx6M&state=25e69dbc146d2fd2aace060b8f407032b56e7c4445737afb" for 127.0.0.1 at 2020-10-26 14:51:22 +0000
|
1259
1189
|
Processing by AuthenticationsController#callback as HTML
|
1260
|
-
Parameters: {"code"=>"
|
1190
|
+
Parameters: {"code"=>"Sfl1PZlW0kvV7mxi_j7nipAK5PmuIIFupkzKfPqBx6M", "state"=>"25e69dbc146d2fd2aace060b8f407032b56e7c4445737afb"}
|
1261
1191
|
Authenticating with gds_sso strategy
|
1262
1192
|
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
1263
1193
|
[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.
|
1265
|
-
[1m[36mUser Create (0.
|
1266
|
-
[1m[35m (5.
|
1267
|
-
[1m[35m (0.
|
1268
|
-
[1m[36mUser Update (0.
|
1269
|
-
[1m[35m (
|
1194
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1195
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Test User"], ["uid", "integration-uid"], ["email", "test@example-client.com"], ["permissions", "---\n- signin\n"]]
|
1196
|
+
[1m[35m (5.3ms)[0m [1m[36mcommit transaction[0m
|
1197
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1198
|
+
[1m[36mUser Update (0.1ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", 0], ["id", 2]]
|
1199
|
+
[1m[35m (4.1ms)[0m [1m[36mcommit transaction[0m
|
1270
1200
|
Redirected to http://www.example-client.com/restricted
|
1271
|
-
Completed 302 Found in
|
1272
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-
|
1201
|
+
Completed 302 Found in 13ms (ActiveRecord: 10.1ms | Allocations: 1492)
|
1202
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:23 +0000
|
1273
1203
|
Processing by ExampleController#restricted as HTML
|
1274
|
-
[1m[36mUser Load (0.
|
1275
|
-
Rendering text template
|
1276
|
-
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
1277
|
-
Completed 200 OK in 3ms (Views: 1.1ms | ActiveRecord: 0.3ms | Allocations: 984)
|
1278
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-07-28 10:11:33 +0000
|
1279
|
-
Processing by ExampleController#this_requires_signin_permission as HTML
|
1280
|
-
Authenticating with gds_sso strategy
|
1281
|
-
Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 103)
|
1282
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2020-07-28 10:11:33 +0000
|
1283
|
-
Started GET "/auth/gds/callback?code=XC0200_RbEtKPMFUFljPkmfCP9oONTmGQRHC7vHw-30&state=19e877bfb32e477fbefcad0bc8bdc4657ac412d389773cf1" for 127.0.0.1 at 2020-07-28 10:11:34 +0000
|
1284
|
-
Processing by AuthenticationsController#callback as HTML
|
1285
|
-
Parameters: {"code"=>"XC0200_RbEtKPMFUFljPkmfCP9oONTmGQRHC7vHw-30", "state"=>"19e877bfb32e477fbefcad0bc8bdc4657ac412d389773cf1"}
|
1286
|
-
Authenticating with gds_sso strategy
|
1287
|
-
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["LIMIT", 1]]
|
1288
|
-
Redirected to http://www.example-client.com/this_requires_signin_permission
|
1289
|
-
Completed 302 Found in 4ms (ActiveRecord: 0.2ms | Allocations: 913)
|
1290
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-07-28 10:11:34 +0000
|
1291
|
-
Processing by ExampleController#this_requires_signin_permission as HTML
|
1292
|
-
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", 0], ["LIMIT", 1]]
|
1204
|
+
[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]]
|
1293
1205
|
Rendering text template
|
1294
|
-
Rendered text template (Duration: 0.0ms | Allocations:
|
1295
|
-
Completed 200 OK in
|
1296
|
-
Started GET "/
|
1297
|
-
Processing by ExampleController#
|
1206
|
+
Rendered text template (Duration: 0.0ms | Allocations: 3)
|
1207
|
+
Completed 200 OK in 3ms (Views: 2.0ms | ActiveRecord: 0.1ms | Allocations: 1544)
|
1208
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:23 +0000
|
1209
|
+
Processing by ExampleController#restricted as HTML
|
1298
1210
|
Authenticating with gds_sso strategy
|
1299
|
-
Completed in 0ms (ActiveRecord: 0.0ms | Allocations:
|
1300
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2020-
|
1301
|
-
Started GET "/auth/gds/callback?code=
|
1211
|
+
Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 102)
|
1212
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-10-26 14:51:23 +0000
|
1213
|
+
Started GET "/auth/gds/callback?code=Y3O9Fs0VsVJtPNkQc-dpwaBjtkIiJhtNT5m_zdnF9uo&state=0ce4a4943aaf5319577dedf86e7f0cd1fefef2d247625374" for 127.0.0.1 at 2020-10-26 14:51:23 +0000
|
1302
1214
|
Processing by AuthenticationsController#callback as HTML
|
1303
|
-
Parameters: {"code"=>"
|
1215
|
+
Parameters: {"code"=>"Y3O9Fs0VsVJtPNkQc-dpwaBjtkIiJhtNT5m_zdnF9uo", "state"=>"0ce4a4943aaf5319577dedf86e7f0cd1fefef2d247625374"}
|
1304
1216
|
Authenticating with gds_sso strategy
|
1305
|
-
[1m[36mUser Load (0.
|
1306
|
-
Redirected to http://www.example-client.com/
|
1307
|
-
Completed 302 Found in
|
1308
|
-
Started GET "/
|
1309
|
-
Processing by ExampleController#
|
1217
|
+
[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]]
|
1218
|
+
Redirected to http://www.example-client.com/restricted
|
1219
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.1ms | Allocations: 913)
|
1220
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:23 +0000
|
1221
|
+
Processing by ExampleController#restricted as HTML
|
1310
1222
|
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", 0], ["LIMIT", 1]]
|
1311
1223
|
Rendering text template
|
1312
1224
|
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
1313
|
-
Completed 200 OK in
|
1314
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-
|
1225
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations: 652)
|
1226
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:23 +0000
|
1315
1227
|
Processing by ExampleController#restricted as HTML
|
1316
1228
|
Authenticating with gds_sso strategy
|
1317
|
-
Completed in 0ms (ActiveRecord: 0.0ms | Allocations:
|
1318
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2020-
|
1319
|
-
Started GET "/auth/gds/callback?code=
|
1229
|
+
Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 102)
|
1230
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-10-26 14:51:23 +0000
|
1231
|
+
Started GET "/auth/gds/callback?code=tBgDLG95eMGQSrnP0Qmbr546Wju9WyzjR5chjYSHocE&state=02d28e934929f9a54cab1f6b7fe669e40800080c4525eabc" for 127.0.0.1 at 2020-10-26 14:51:23 +0000
|
1320
1232
|
Processing by AuthenticationsController#callback as HTML
|
1321
|
-
Parameters: {"code"=>"
|
1233
|
+
Parameters: {"code"=>"tBgDLG95eMGQSrnP0Qmbr546Wju9WyzjR5chjYSHocE", "state"=>"02d28e934929f9a54cab1f6b7fe669e40800080c4525eabc"}
|
1322
1234
|
Authenticating with gds_sso strategy
|
1323
|
-
[1m[36mUser Load (0.
|
1235
|
+
[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]]
|
1324
1236
|
Redirected to http://www.example-client.com/restricted
|
1325
|
-
Completed 302 Found in
|
1326
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-
|
1237
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.1ms | Allocations: 914)
|
1238
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:23 +0000
|
1327
1239
|
Processing by ExampleController#restricted as HTML
|
1328
|
-
[1m[36mUser Load (0.
|
1240
|
+
[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]]
|
1329
1241
|
Rendering text template
|
1330
1242
|
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
1331
|
-
Completed 200 OK in 2ms (Views: 0.
|
1332
|
-
Started GET "/
|
1333
|
-
Processing by ExampleController#
|
1243
|
+
Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations: 655)
|
1244
|
+
Started GET "/" for 127.0.0.1 at 2020-10-26 14:51:23 +0000
|
1245
|
+
Processing by ExampleController#index as HTML
|
1246
|
+
Rendering text template
|
1247
|
+
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
1248
|
+
Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms | Allocations: 137)
|
1249
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-10-26 14:51:23 +0000
|
1250
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
1334
1251
|
Authenticating with gds_sso strategy
|
1335
|
-
Completed in 0ms (ActiveRecord: 0.0ms | Allocations:
|
1336
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2020-
|
1337
|
-
Started GET "/auth/gds/callback?code=
|
1252
|
+
Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 102)
|
1253
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-10-26 14:51:23 +0000
|
1254
|
+
Started GET "/auth/gds/callback?code=4Fy6FyFR9O4Mjg0kZCgjY-Pd-pHsJ8pZ_B-XAEA_jyY&state=fba83e14267eb214b07ddf5ed4ff10b3999734143bbbbcb3" for 127.0.0.1 at 2020-10-26 14:51:23 +0000
|
1338
1255
|
Processing by AuthenticationsController#callback as HTML
|
1339
|
-
Parameters: {"code"=>"
|
1256
|
+
Parameters: {"code"=>"4Fy6FyFR9O4Mjg0kZCgjY-Pd-pHsJ8pZ_B-XAEA_jyY", "state"=>"fba83e14267eb214b07ddf5ed4ff10b3999734143bbbbcb3"}
|
1340
1257
|
Authenticating with gds_sso strategy
|
1341
|
-
[1m[36mUser Load (0.
|
1342
|
-
Redirected to http://www.example-client.com/
|
1343
|
-
Completed 302 Found in
|
1344
|
-
Started GET "/
|
1345
|
-
Processing by ExampleController#
|
1258
|
+
[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]]
|
1259
|
+
Redirected to http://www.example-client.com/this_requires_signin_permission
|
1260
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.1ms | Allocations: 912)
|
1261
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-10-26 14:51:23 +0000
|
1262
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
1346
1263
|
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", 0], ["LIMIT", 1]]
|
1347
1264
|
Rendering text template
|
1348
1265
|
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
1349
|
-
Completed 200 OK in
|
1350
|
-
Started GET "/" for 127.0.0.1 at 2020-
|
1351
|
-
Processing by ExampleController#
|
1266
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations: 652)
|
1267
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-10-26 14:51:23 +0000
|
1268
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
1269
|
+
Authenticating with gds_sso strategy
|
1270
|
+
Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 102)
|
1271
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-10-26 14:51:23 +0000
|
1272
|
+
Started GET "/auth/gds/callback?code=Tf2X4Sb305VGS9ToUsyWoGwTMBPGT9v0421F6VARSHA&state=b5909fbb28df9acc65aca35853d83ac869485afc9dadf098" for 127.0.0.1 at 2020-10-26 14:51:23 +0000
|
1273
|
+
Processing by AuthenticationsController#callback as HTML
|
1274
|
+
Parameters: {"code"=>"Tf2X4Sb305VGS9ToUsyWoGwTMBPGT9v0421F6VARSHA", "state"=>"b5909fbb28df9acc65aca35853d83ac869485afc9dadf098"}
|
1275
|
+
Authenticating with gds_sso strategy
|
1276
|
+
[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]]
|
1277
|
+
Redirected to http://www.example-client.com/this_requires_signin_permission
|
1278
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.1ms | Allocations: 912)
|
1279
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-10-26 14:51:23 +0000
|
1280
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
1281
|
+
[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]]
|
1352
1282
|
Rendering text template
|
1353
1283
|
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
1354
|
-
Completed 200 OK in
|
1355
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-
|
1284
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations: 652)
|
1285
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:23 +0000
|
1356
1286
|
Processing by ExampleController#restricted as HTML
|
1357
1287
|
Authenticating with gds_sso strategy
|
1358
|
-
Completed in 0ms (ActiveRecord: 0.0ms | Allocations:
|
1359
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2020-
|
1360
|
-
Started GET "/auth/gds/callback?code=
|
1288
|
+
Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 102)
|
1289
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-10-26 14:51:23 +0000
|
1290
|
+
Started GET "/auth/gds/callback?code=BDMiqmAhSUmubuek5f3fz92ekVUqSTd-igF_aeIbzbo&state=808869a9cd86784f5074bff81cc774ce9c98eea912a2d8c3" for 127.0.0.1 at 2020-10-26 14:51:23 +0000
|
1361
1291
|
Processing by AuthenticationsController#callback as HTML
|
1362
|
-
Parameters: {"code"=>"
|
1292
|
+
Parameters: {"code"=>"BDMiqmAhSUmubuek5f3fz92ekVUqSTd-igF_aeIbzbo", "state"=>"808869a9cd86784f5074bff81cc774ce9c98eea912a2d8c3"}
|
1363
1293
|
Authenticating with gds_sso strategy
|
1364
|
-
[1m[36mUser Load (0.
|
1294
|
+
[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]]
|
1365
1295
|
Redirected to http://www.example-client.com/restricted
|
1366
|
-
Completed 302 Found in
|
1367
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-
|
1296
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.1ms | Allocations: 912)
|
1297
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:23 +0000
|
1368
1298
|
Processing by ExampleController#restricted as HTML
|
1369
1299
|
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", 0], ["LIMIT", 1]]
|
1370
1300
|
Rendering text template
|
1371
1301
|
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
1372
|
-
Completed 200 OK in
|
1302
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations: 652)
|
1373
1303
|
[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.
|
1375
|
-
[1m[36mUser Update (0.
|
1376
|
-
[1m[35m (
|
1377
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-
|
1304
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1305
|
+
[1m[36mUser Update (0.2ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", 1], ["id", 2]]
|
1306
|
+
[1m[35m (4.5ms)[0m [1m[36mcommit transaction[0m
|
1307
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:23 +0000
|
1378
1308
|
Processing by ExampleController#restricted as HTML
|
1379
1309
|
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", 0], ["LIMIT", 1]]
|
1380
1310
|
Authenticating with gds_sso strategy
|
1381
|
-
Completed in 1ms (ActiveRecord: 0.1ms | Allocations:
|
1382
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2020-
|
1383
|
-
Started GET "/auth/gds/callback?code=
|
1311
|
+
Completed in 1ms (ActiveRecord: 0.1ms | Allocations: 532)
|
1312
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-10-26 14:51:23 +0000
|
1313
|
+
Started GET "/auth/gds/callback?code=ULrH80fYJMjbZhFg7SM9pY9dwSD3DucnSyNFeNaOpNs&state=2b102c56bfc92b3e9d3abe9f8fb1d6fb85b982a5d9030ac8" for 127.0.0.1 at 2020-10-26 14:51:23 +0000
|
1384
1314
|
Processing by AuthenticationsController#callback as HTML
|
1385
|
-
Parameters: {"code"=>"
|
1315
|
+
Parameters: {"code"=>"ULrH80fYJMjbZhFg7SM9pY9dwSD3DucnSyNFeNaOpNs", "state"=>"2b102c56bfc92b3e9d3abe9f8fb1d6fb85b982a5d9030ac8"}
|
1386
1316
|
Authenticating with gds_sso strategy
|
1387
|
-
[1m[36mUser Load (0.
|
1388
|
-
[1m[35m (0.
|
1389
|
-
[1m[36mUser Update (0.
|
1390
|
-
[1m[35m (
|
1317
|
+
[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]]
|
1318
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1319
|
+
[1m[36mUser Update (0.1ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", 0], ["id", 2]]
|
1320
|
+
[1m[35m (4.3ms)[0m [1m[36mcommit transaction[0m
|
1391
1321
|
Redirected to http://www.example-client.com/restricted
|
1392
|
-
Completed 302 Found in
|
1393
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-
|
1322
|
+
Completed 302 Found in 7ms (ActiveRecord: 4.5ms | Allocations: 1103)
|
1323
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:23 +0000
|
1394
1324
|
Processing by ExampleController#restricted as HTML
|
1395
1325
|
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? AND "users"."remotely_signed_out" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "integration-uid"], ["remotely_signed_out", 0], ["LIMIT", 1]]
|
1396
1326
|
Rendering text template
|
1397
1327
|
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
1398
|
-
Completed 200 OK in
|
1399
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-
|
1328
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations: 650)
|
1329
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:23 +0000
|
1400
1330
|
Processing by ExampleController#restricted as HTML
|
1401
1331
|
Authenticating with gds_sso strategy
|
1402
|
-
Completed in 0ms (ActiveRecord: 0.0ms | Allocations:
|
1403
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2020-
|
1404
|
-
Started GET "/auth/gds/callback?code=
|
1332
|
+
Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 102)
|
1333
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-10-26 14:51:23 +0000
|
1334
|
+
Started GET "/auth/gds/callback?code=1ii4HmDcFSY4Wbj9v79MrIVmenNGY7SxuyGLkaLYswA&state=40b1fbad4bc5be3f73a23dc92e5dc7a289db3d4cf2607dc2" for 127.0.0.1 at 2020-10-26 14:51:23 +0000
|
1405
1335
|
Processing by AuthenticationsController#callback as HTML
|
1406
|
-
Parameters: {"code"=>"
|
1336
|
+
Parameters: {"code"=>"1ii4HmDcFSY4Wbj9v79MrIVmenNGY7SxuyGLkaLYswA", "state"=>"40b1fbad4bc5be3f73a23dc92e5dc7a289db3d4cf2607dc2"}
|
1407
1337
|
Authenticating with gds_sso strategy
|
1408
|
-
[1m[36mUser Load (0.
|
1338
|
+
[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]]
|
1409
1339
|
Redirected to http://www.example-client.com/restricted
|
1410
|
-
Completed 302 Found in
|
1411
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-
|
1340
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.1ms | Allocations: 912)
|
1341
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:23 +0000
|
1412
1342
|
Processing by ExampleController#restricted as HTML
|
1413
|
-
[1m[36mUser Load (0.
|
1343
|
+
[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]]
|
1414
1344
|
Rendering text template
|
1415
1345
|
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
1416
|
-
Completed 200 OK in
|
1417
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-
|
1346
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations: 652)
|
1347
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-10-27 10:56:23 +0000
|
1418
1348
|
Processing by ExampleController#restricted as HTML
|
1419
1349
|
Authenticating with gds_sso strategy
|
1420
|
-
Completed in
|
1421
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2020-
|
1422
|
-
Started GET "/auth/gds/callback?code=
|
1350
|
+
Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 479)
|
1351
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-10-27 10:56:23 +0000
|
1352
|
+
Started GET "/auth/gds/callback?code=CCRzd3loz6THeyHMYh5OoCj84uRMei8okdG6yBP7MUE&state=9ca840e746f47c54ae507bbafca211b0fd575c163c9f3435" for 127.0.0.1 at 2020-10-27 10:56:23 +0000
|
1423
1353
|
Processing by AuthenticationsController#callback as HTML
|
1424
|
-
Parameters: {"code"=>"
|
1354
|
+
Parameters: {"code"=>"CCRzd3loz6THeyHMYh5OoCj84uRMei8okdG6yBP7MUE", "state"=>"9ca840e746f47c54ae507bbafca211b0fd575c163c9f3435"}
|
1425
1355
|
Authenticating with gds_sso strategy
|
1426
|
-
[1m[36mUser Load (0.
|
1356
|
+
[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]]
|
1427
1357
|
Redirected to http://www.example-client.com/restricted
|
1428
|
-
Completed 302 Found in
|
1429
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-
|
1358
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.1ms | Allocations: 1115)
|
1359
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-10-27 10:56:23 +0000
|
1430
1360
|
Processing by ExampleController#restricted as HTML
|
1431
|
-
[1m[36mUser Load (0.
|
1361
|
+
[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
1362
|
Rendering text template
|
1433
1363
|
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
1434
|
-
Completed 200 OK in
|
1435
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-
|
1364
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations: 879)
|
1365
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:23 +0000
|
1436
1366
|
Processing by ExampleController#restricted as HTML
|
1437
1367
|
Authenticating with gds_sso strategy
|
1438
|
-
Completed in 0ms (ActiveRecord: 0.0ms | Allocations:
|
1439
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2020-
|
1440
|
-
Started GET "/auth/gds/callback?code=
|
1368
|
+
Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 102)
|
1369
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-10-26 14:51:23 +0000
|
1370
|
+
Started GET "/auth/gds/callback?code=b8s-kXAuetGtMPf0qd-evTQQebvXsS6juUttnUlj_KI&state=091092ef775a27a53d074af06150387698a9565ea7256204" for 127.0.0.1 at 2020-10-26 14:51:23 +0000
|
1441
1371
|
Processing by AuthenticationsController#callback as HTML
|
1442
|
-
Parameters: {"code"=>"
|
1372
|
+
Parameters: {"code"=>"b8s-kXAuetGtMPf0qd-evTQQebvXsS6juUttnUlj_KI", "state"=>"091092ef775a27a53d074af06150387698a9565ea7256204"}
|
1443
1373
|
Authenticating with gds_sso strategy
|
1444
|
-
[1m[36mUser Load (0.
|
1374
|
+
[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]]
|
1445
1375
|
Redirected to http://www.example-client.com/restricted
|
1446
|
-
Completed 302 Found in
|
1447
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-
|
1376
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.1ms | Allocations: 912)
|
1377
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:23 +0000
|
1448
1378
|
Processing by ExampleController#restricted as HTML
|
1449
|
-
[1m[36mUser Load (0.
|
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]]
|
1450
1380
|
Rendering text template
|
1451
1381
|
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
1452
|
-
Completed 200 OK in
|
1453
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-
|
1382
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations: 653)
|
1383
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-10-27 10:56:23 +0000
|
1454
1384
|
Processing by ExampleController#restricted as HTML
|
1455
1385
|
Authenticating with gds_sso strategy
|
1456
|
-
Completed in 1ms (ActiveRecord: 0.0ms | Allocations:
|
1457
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2020-
|
1458
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-
|
1386
|
+
Completed in 1ms (ActiveRecord: 0.0ms | Allocations: 479)
|
1387
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-10-27 10:56:23 +0000
|
1388
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:23 +0000
|
1459
1389
|
Processing by ExampleController#restricted as HTML
|
1460
1390
|
Authenticating with gds_sso strategy
|
1461
|
-
Completed in 0ms (ActiveRecord: 0.0ms | Allocations:
|
1462
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2020-
|
1463
|
-
Started GET "/auth/gds/callback?code=
|
1391
|
+
Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 102)
|
1392
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2020-10-26 14:51:23 +0000
|
1393
|
+
Started GET "/auth/gds/callback?code=Pt3AQ4pm5niA5TlkSaosLd1ov8PreanA86IVVfHd9H8&state=92f7f73fd253c2f094bd594446565a95b5d4fdb8b46afbea" for 127.0.0.1 at 2020-10-26 14:51:23 +0000
|
1464
1394
|
Processing by AuthenticationsController#callback as HTML
|
1465
|
-
Parameters: {"code"=>"
|
1395
|
+
Parameters: {"code"=>"Pt3AQ4pm5niA5TlkSaosLd1ov8PreanA86IVVfHd9H8", "state"=>"92f7f73fd253c2f094bd594446565a95b5d4fdb8b46afbea"}
|
1466
1396
|
Authenticating with gds_sso strategy
|
1467
|
-
[1m[36mUser Load (0.
|
1397
|
+
[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]]
|
1468
1398
|
Redirected to http://www.example-client.com/restricted
|
1469
|
-
Completed 302 Found in
|
1470
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-
|
1399
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.1ms | Allocations: 912)
|
1400
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:23 +0000
|
1471
1401
|
Processing by ExampleController#restricted as HTML
|
1472
|
-
[1m[36mUser Load (0.
|
1402
|
+
[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]]
|
1473
1403
|
Rendering text template
|
1474
1404
|
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
1475
|
-
Completed 200 OK in
|
1476
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-
|
1405
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations: 652)
|
1406
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-10-27 10:46:23 +0000
|
1477
1407
|
Processing by ExampleController#restricted as HTML
|
1478
1408
|
[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
1409
|
Rendering text template
|
1480
1410
|
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
1481
|
-
Completed 200 OK in
|
1482
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-
|
1483
|
-
Processing by ExampleController#restricted as
|
1484
|
-
|
1485
|
-
|
1486
|
-
|
1487
|
-
|
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]]
|
1411
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms | Allocations: 875)
|
1412
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:23 +0000
|
1413
|
+
Processing by ExampleController#restricted as JSON
|
1414
|
+
Completed in 12ms (ActiveRecord: 0.0ms | Allocations: 1955)
|
1415
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:23 +0000
|
1416
|
+
Processing by ExampleController#restricted as JSON
|
1417
|
+
[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]]
|
1489
1418
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1490
|
-
[1m[36mUser Update (0.
|
1491
|
-
[1m[35m (
|
1492
|
-
[1m[36mUser Load (0.
|
1419
|
+
[1m[36mUser Update (0.2ms)[0m [1m[33mUPDATE "users" SET "disabled" = ? WHERE "users"."id" = ?[0m [["disabled", nil], ["id", 2]]
|
1420
|
+
[1m[35m (5.7ms)[0m [1m[36mcommit transaction[0m
|
1421
|
+
[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]]
|
1493
1422
|
[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
1423
|
[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
1424
|
Rendering text template
|
1496
1425
|
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
1497
|
-
Completed 200 OK in
|
1498
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-
|
1426
|
+
Completed 200 OK in 13ms (Views: 0.3ms | ActiveRecord: 6.1ms | Allocations: 3311)
|
1427
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:23 +0000
|
1499
1428
|
Processing by ExampleController#restricted as JSON
|
1500
|
-
Completed in
|
1501
|
-
Started GET "/
|
1502
|
-
Processing by ExampleController#
|
1503
|
-
[1m[36mUser Load (0.
|
1429
|
+
Completed in 7ms (ActiveRecord: 0.0ms | Allocations: 1776)
|
1430
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2020-10-26 14:51:23 +0000
|
1431
|
+
Processing by ExampleController#this_requires_signin_permission as JSON
|
1432
|
+
[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]]
|
1504
1433
|
[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
1434
|
[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
1435
|
[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
1436
|
Rendering text template
|
1508
1437
|
Rendered text template (Duration: 0.0ms | Allocations: 1)
|
1509
|
-
Completed 200 OK in
|
1510
|
-
Started GET "/restricted" for 127.0.0.1 at 2020-
|
1511
|
-
Processing by ExampleController#restricted as
|
1512
|
-
|
1438
|
+
Completed 200 OK in 7ms (Views: 0.3ms | ActiveRecord: 0.2ms | Allocations: 3020)
|
1439
|
+
Started GET "/restricted" for 127.0.0.1 at 2020-10-26 14:51:23 +0000
|
1440
|
+
Processing by ExampleController#restricted as HTML
|
1441
|
+
Authenticating with gds_sso strategy
|
1442
|
+
Completed in 0ms (ActiveRecord: 0.0ms | Allocations: 104)
|
1443
|
+
[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]]
|
1444
|
+
[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]]
|
1445
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1446
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions", "organisation_slug", "organisation_content_id", "disabled") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["name", "A Name"], ["uid", "asd"], ["email", "user@example.com"], ["permissions", "---\n- signin\n"], ["organisation_slug", "hmrc"], ["organisation_content_id", "67a2b78d-eee3-45b3-80e2-792e7f71cecc"], ["disabled", nil]]
|
1447
|
+
[1m[35m (5.7ms)[0m [1m[36mcommit transaction[0m
|
1448
|
+
[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]]
|
1449
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1450
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d35050"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
1451
|
+
[1m[35m (4.3ms)[0m [1m[36mcommit transaction[0m
|
1452
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1453
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d38503"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
1454
|
+
[1m[35m (5.8ms)[0m [1m[36mcommit transaction[0m
|
1455
|
+
Processing by Api::UserController#update as HTML
|
1456
|
+
Parameters: {"uid"=>"a1s2d35050"}
|
1457
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "a1s2d35050"], ["LIMIT", 1]]
|
1458
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1459
|
+
[1m[36mUser Update (0.1ms)[0m [1m[33mUPDATE "users" SET "email" = ?, "name" = ?, "permissions" = ?, "organisation_slug" = ?, "organisation_content_id" = ? WHERE "users"."id" = ?[0m [["email", "user@domain.com"], ["name", "Joshua Marshall"], ["permissions", "---\n- signin\n- new permission\n"], ["organisation_slug", "justice-league"], ["organisation_content_id", "aae1319e-5788-4677-998c-f1a53af528d0"], ["id", 4]]
|
1460
|
+
[1m[35m (5.1ms)[0m [1m[36mcommit transaction[0m
|
1461
|
+
Completed 200 OK in 7ms (ActiveRecord: 5.4ms | Allocations: 1266)
|
1462
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 4], ["LIMIT", 1]]
|
1463
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1464
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d34112"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
1465
|
+
[1m[35m (5.2ms)[0m [1m[36mcommit transaction[0m
|
1466
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1467
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d36543"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
1468
|
+
[1m[35m (3.7ms)[0m [1m[36mcommit transaction[0m
|
1469
|
+
Processing by Api::UserController#update as HTML
|
1470
|
+
Parameters: {"uid"=>"a1s2d34112"}
|
1471
|
+
Rendering /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
|
1472
|
+
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
1473
|
+
Rendered /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (Duration: 0.5ms | Allocations: 192)
|
1474
|
+
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
1475
|
+
Completed 403 Forbidden in 3ms (Views: 2.3ms | ActiveRecord: 0.0ms | Allocations: 1353)
|
1476
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1477
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d33647"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
1478
|
+
[1m[35m (5.1ms)[0m [1m[36mcommit transaction[0m
|
1479
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1480
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d38442"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
1481
|
+
[1m[35m (4.0ms)[0m [1m[36mcommit transaction[0m
|
1482
|
+
Processing by Api::UserController#reauth as HTML
|
1483
|
+
Parameters: {"uid"=>"a1s2d33647"}
|
1484
|
+
Rendering /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised
|
1485
|
+
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
1486
|
+
Rendered /var/lib/jenkins/workspace/gds-sso_master/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (Duration: 0.1ms | Allocations: 46)
|
1487
|
+
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
|
1488
|
+
Completed 403 Forbidden in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms | Allocations: 508)
|
1489
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1490
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d3570"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
1491
|
+
[1m[35m (5.0ms)[0m [1m[36mcommit transaction[0m
|
1492
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1493
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d33250"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
1494
|
+
[1m[35m (3.9ms)[0m [1m[36mcommit transaction[0m
|
1495
|
+
Processing by Api::UserController#reauth as HTML
|
1496
|
+
Parameters: {"uid"=>"a1s2d3570"}
|
1497
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."uid" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["uid", "a1s2d3570"], ["LIMIT", 1]]
|
1498
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1499
|
+
[1m[36mUser Update (0.1ms)[0m [1m[33mUPDATE "users" SET "remotely_signed_out" = ? WHERE "users"."id" = ?[0m [["remotely_signed_out", 1], ["id", 10]]
|
1500
|
+
[1m[35m (5.2ms)[0m [1m[36mcommit transaction[0m
|
1501
|
+
Completed 200 OK in 7ms (ActiveRecord: 5.5ms | Allocations: 882)
|
1502
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 10], ["LIMIT", 1]]
|
1503
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1504
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "Moshua Jarshall"], ["uid", "a1s2d39749"], ["email", "old@domain.com"], ["permissions", "---\n- signin\n"]]
|
1505
|
+
[1m[35m (5.0ms)[0m [1m[36mcommit transaction[0m
|
1506
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1507
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("name", "uid", "email", "permissions") VALUES (?, ?, ?, ?)[0m [["name", "SSO Push user"], ["uid", "a1s2d38771"], ["email", "ssopushuser@legit.com"], ["permissions", "---\n- signin\n- user_update_permission\n"]]
|
1508
|
+
[1m[35m (3.8ms)[0m [1m[36mcommit transaction[0m
|
1509
|
+
Processing by Api::UserController#reauth as HTML
|
1510
|
+
Parameters: {"uid"=>"nonexistent-user"}
|
1511
|
+
[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]]
|
1512
|
+
Completed 200 OK in 1ms (ActiveRecord: 0.1ms | Allocations: 525)
|