gds-sso 9.3.0 → 9.4.0
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +3 -4
- data/README.md +13 -5
- data/Rakefile +6 -2
- data/lib/gds-sso/lint/user_spec.rb +52 -0
- data/lib/gds-sso/version.rb +1 -1
- data/spec/controller/api_user_controller_spec.rb +19 -13
- data/spec/internal/app/models/user.rb +0 -2
- data/spec/internal/config/routes.rb +2 -2
- data/spec/internal/db/combustion_test.sqlite +0 -0
- data/spec/internal/log/test.log +1967 -201
- data/spec/spec_helper.rb +2 -7
- data/spec/unit/session_serialisation_spec.rb +8 -9
- data/spec/unit/user_spec.rb +34 -0
- metadata +25 -8
data/Gemfile
CHANGED
@@ -3,9 +3,8 @@ source "https://rubygems.org"
|
|
3
3
|
# Specify your gem's dependencies in gds-sso.gemspec
|
4
4
|
gemspec
|
5
5
|
|
6
|
-
#
|
7
|
-
|
8
|
-
gem 'rails', '~> 3.2.19'
|
6
|
+
# Default rails. Overridden in gemfiles during multi-build
|
7
|
+
gem 'rails', '3.2.19'
|
9
8
|
|
10
|
-
|
9
|
+
# Gems added to resolve dependency resolution
|
11
10
|
gem 'mechanize', '2.6.0'
|
data/README.md
CHANGED
@@ -17,7 +17,7 @@ These can be provided by one of the team with admin access to signonotron2.
|
|
17
17
|
|
18
18
|
Then include the gem in your Gemfile:
|
19
19
|
|
20
|
-
gem 'gds-sso',
|
20
|
+
gem 'gds-sso', '<version>'
|
21
21
|
|
22
22
|
Create a `config/initializers/gds-sso.rb` that looks like:
|
23
23
|
|
@@ -32,7 +32,7 @@ Create a `config/initializers/gds-sso.rb` that looks like:
|
|
32
32
|
config.oauth_root_url = "http://localhost:3001"
|
33
33
|
end
|
34
34
|
|
35
|
-
The user model must include the GDS::SSO::User module.
|
35
|
+
The user model must include the `GDS::SSO::User` module.
|
36
36
|
|
37
37
|
It should have the following fields:
|
38
38
|
|
@@ -43,12 +43,21 @@ It should have the following fields:
|
|
43
43
|
array "permissions"
|
44
44
|
boolean "remotely_signed_out", :default => false
|
45
45
|
|
46
|
-
You also need to include `GDS::SSO::ControllerMethods` in your ApplicationController
|
46
|
+
You also need to include `GDS::SSO::ControllerMethods` in your ApplicationController.
|
47
47
|
|
48
48
|
For ActiveRecord, you probably want to declare permissions as "serialized" like this:
|
49
49
|
|
50
50
|
serialize :permissions, Array
|
51
51
|
|
52
|
+
If your app is using `rspec`, there is a [shared examples spec](/lib/gds-sso/lint/user_spec.rb) that can be used to verify that your `User` model implements the necessary methods for `gds-sso` to work correctly. To use it:
|
53
|
+
|
54
|
+
```ruby
|
55
|
+
require 'gds-sso/lint/user_spec'
|
56
|
+
|
57
|
+
describe User do
|
58
|
+
it_behaves_like "a gds-sso user class"
|
59
|
+
end
|
60
|
+
```
|
52
61
|
|
53
62
|
## Use in development mode
|
54
63
|
|
@@ -62,5 +71,4 @@ To make it use a real strategy (e.g. if you're testing an app against the signon
|
|
62
71
|
|
63
72
|
Once that's done, set an environment variable when you run your app. e.g.:
|
64
73
|
|
65
|
-
GDS_SSO_STRATEGY=real bundle exec rails s
|
66
|
-
|
74
|
+
GDS_SSO_STRATEGY=real bundle exec rails s
|
data/Rakefile
CHANGED
@@ -1,4 +1,7 @@
|
|
1
|
-
require 'bundler'
|
1
|
+
require 'bundler/setup'
|
2
|
+
require 'bundler/gem_tasks'
|
3
|
+
require 'wwtd/tasks'
|
4
|
+
|
2
5
|
Bundler::GemHelper.install_tasks
|
3
6
|
|
4
7
|
load File.dirname(__FILE__) + "/spec/tasks/signonotron_tasks.rake"
|
@@ -8,6 +11,7 @@ desc "Run all specs"
|
|
8
11
|
RSpec::Core::RakeTask.new(:spec) do |task|
|
9
12
|
task.pattern = 'spec/**/*_spec.rb'
|
10
13
|
end
|
14
|
+
|
11
15
|
namespace :spec do
|
12
16
|
desc "Run integration specs"
|
13
17
|
RSpec::Core::RakeTask.new(:integration) do |task|
|
@@ -21,4 +25,4 @@ task :publish_gem do |t|
|
|
21
25
|
puts "Published #{gem}" if gem
|
22
26
|
end
|
23
27
|
|
24
|
-
task :default => [:
|
28
|
+
task :default => [:wwtd]
|
@@ -0,0 +1,52 @@
|
|
1
|
+
RSpec.shared_examples "a gds-sso user class" do
|
2
|
+
subject { described_class.new }
|
3
|
+
|
4
|
+
it "implements #where" do
|
5
|
+
expect(described_class).to respond_to(:where)
|
6
|
+
|
7
|
+
result = described_class.where(uid: '123')
|
8
|
+
expect(result).to respond_to(:first)
|
9
|
+
end
|
10
|
+
|
11
|
+
it "implements #update_attribute" do
|
12
|
+
expect(subject).to respond_to(:update_attribute)
|
13
|
+
|
14
|
+
subject.update_attribute(:remotely_signed_out, true)
|
15
|
+
expect(subject).to be_remotely_signed_out
|
16
|
+
end
|
17
|
+
|
18
|
+
it "implements #update_attributes" do
|
19
|
+
expect(subject).to respond_to(:update_attributes)
|
20
|
+
end
|
21
|
+
|
22
|
+
it "implements #create!" do
|
23
|
+
expect(described_class).to respond_to(:create!)
|
24
|
+
end
|
25
|
+
|
26
|
+
it "implements #remotely_signed_out?" do
|
27
|
+
expect(subject).to respond_to(:remotely_signed_out?)
|
28
|
+
end
|
29
|
+
|
30
|
+
specify "the User class and GDS::SSO::User mixin work together" do
|
31
|
+
auth_hash = {
|
32
|
+
'uid' => '12345',
|
33
|
+
'info' => {
|
34
|
+
'name' => 'Joe Smith',
|
35
|
+
'email' => 'joe.smith@example.com',
|
36
|
+
},
|
37
|
+
'extra' => {
|
38
|
+
'user' => {
|
39
|
+
'permissions' => ['signin'],
|
40
|
+
'organisation_slug' => 'cabinet-office',
|
41
|
+
}
|
42
|
+
}
|
43
|
+
}
|
44
|
+
|
45
|
+
user = described_class.find_for_gds_oauth(auth_hash)
|
46
|
+
expect(user).to be_an_instance_of(described_class)
|
47
|
+
expect(user.name).to eq("Joe Smith")
|
48
|
+
expect(user.email).to eq('joe.smith@example.com')
|
49
|
+
expect(user.permissions).to eq(['signin'])
|
50
|
+
expect(user.organisation_slug).to eq('cabinet-office')
|
51
|
+
end
|
52
|
+
end
|
data/lib/gds-sso/version.rb
CHANGED
@@ -15,19 +15,25 @@ end
|
|
15
15
|
describe Api::UserController, type: :controller do
|
16
16
|
|
17
17
|
before :each do
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
18
|
+
user_to_update_attrs = [{
|
19
|
+
:uid => "a1s2d3#{rand(10000)}",
|
20
|
+
:email => "old@domain.com",
|
21
|
+
:name => "Moshua Jarshall",
|
22
|
+
:permissions => ["signin"] }]
|
23
|
+
|
24
|
+
signon_sso_push_user_attrs = [{
|
25
|
+
:uid => "a1s2d3#{rand(10000)}",
|
26
|
+
:email => "ssopushuser@legit.com",
|
27
|
+
:name => "SSO Push user",
|
28
|
+
:permissions => ["signin", "user_update_permission"] }]
|
29
|
+
|
30
|
+
if GDS::SSO::User.below_rails_4?
|
31
|
+
user_to_update_attrs << { as: :oauth }
|
32
|
+
signon_sso_push_user_attrs << { as: :oauth }
|
33
|
+
end
|
34
|
+
|
35
|
+
@user_to_update = User.create!(*user_to_update_attrs)
|
36
|
+
@signon_sso_push_user = User.create!(*signon_sso_push_user_attrs)
|
31
37
|
end
|
32
38
|
|
33
39
|
describe "PUT update" do
|
@@ -1,5 +1,5 @@
|
|
1
1
|
Rails.application.routes.draw do
|
2
2
|
root :to => 'example#index'
|
3
|
-
|
4
|
-
|
3
|
+
get "/restricted" => 'example#restricted'
|
4
|
+
get "/this_requires_signin_permission" => "example#this_requires_signin_permission"
|
5
5
|
end
|
Binary file
|
data/spec/internal/log/test.log
CHANGED
@@ -1,412 +1,2178 @@
|
|
1
1
|
Connecting to database specified by database.yml
|
2
|
-
[1m[36m (22.7ms)[0m [1mselect sqlite_version(*)[0m
|
3
|
-
[1m[35m (16.0ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "uid" varchar(255) NOT NULL, "email" varchar(255) NOT NULL, "remotely_signed_out" boolean, "permissions" text, "organisation_slug" varchar(255))
|
4
|
-
[1m[36m (8.3ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
5
|
-
[1m[35m (9.0ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
6
2
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
7
|
-
[1m[35mSQL (
|
8
|
-
[1m[36m (
|
3
|
+
[1m[35mSQL (34.0ms)[0m INSERT INTO "users" ("email", "name", "organisation_slug", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?, ?) [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["organisation_slug", nil], ["permissions", "---\n- signin\n"], ["remotely_signed_out", nil], ["uid", "a1s2d31543"]]
|
4
|
+
[1m[36m (22.1ms)[0m [1mcommit transaction[0m
|
9
5
|
[1m[35m (0.1ms)[0m begin transaction
|
10
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("email", "name", "organisation_slug", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?, ?)[0m [["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["organisation_slug", nil], ["permissions", "---\n- signin\n- user_update_permission\n"], ["remotely_signed_out", nil], ["uid", "
|
11
|
-
[1m[35m (
|
6
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("email", "name", "organisation_slug", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?, ?)[0m [["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["organisation_slug", nil], ["permissions", "---\n- signin\n- user_update_permission\n"], ["remotely_signed_out", nil], ["uid", "a1s2d39543"]]
|
7
|
+
[1m[35m (19.5ms)[0m commit transaction
|
12
8
|
WARNING: Can't mass-assign protected attributes: uid, name, permissions
|
13
9
|
Processing by Api::UserController#reauth as HTML
|
14
|
-
Parameters: {"uid"=>"
|
10
|
+
Parameters: {"uid"=>"a1s2d31543"}
|
15
11
|
Rendered /home/jenkins/workspace/govuk_gds_sso/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.2ms)
|
16
|
-
Completed 403 Forbidden in
|
12
|
+
Completed 403 Forbidden in 70.4ms (Views: 69.6ms | ActiveRecord: 0.0ms)
|
17
13
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
18
|
-
[1m[35mSQL (0.
|
19
|
-
[1m[36m (
|
14
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("email", "name", "organisation_slug", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?, ?) [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["organisation_slug", nil], ["permissions", "---\n- signin\n"], ["remotely_signed_out", nil], ["uid", "a1s2d38258"]]
|
15
|
+
[1m[36m (16.3ms)[0m [1mcommit transaction[0m
|
20
16
|
[1m[35m (0.1ms)[0m begin transaction
|
21
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("email", "name", "organisation_slug", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?, ?)[0m [["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["organisation_slug", nil], ["permissions", "---\n- signin\n- user_update_permission\n"], ["remotely_signed_out", nil], ["uid", "
|
22
|
-
[1m[35m (
|
17
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("email", "name", "organisation_slug", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?, ?)[0m [["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["organisation_slug", nil], ["permissions", "---\n- signin\n- user_update_permission\n"], ["remotely_signed_out", nil], ["uid", "a1s2d38740"]]
|
18
|
+
[1m[35m (18.1ms)[0m commit transaction
|
23
19
|
Processing by Api::UserController#reauth as HTML
|
24
20
|
Parameters: {"uid"=>"nonexistent-user"}
|
25
|
-
[1m[36mUser Load (0.
|
26
|
-
Completed 200 OK in
|
21
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'nonexistent-user' LIMIT 1[0m
|
22
|
+
Completed 200 OK in 16.3ms (ActiveRecord: 0.2ms)
|
27
23
|
[1m[35m (0.1ms)[0m begin transaction
|
28
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("email", "name", "organisation_slug", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?, ?)[0m [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["organisation_slug", nil], ["permissions", "---\n- signin\n"], ["remotely_signed_out", nil], ["uid", "
|
29
|
-
[1m[35m (
|
24
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("email", "name", "organisation_slug", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?, ?)[0m [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["organisation_slug", nil], ["permissions", "---\n- signin\n"], ["remotely_signed_out", nil], ["uid", "a1s2d38987"]]
|
25
|
+
[1m[35m (13.5ms)[0m commit transaction
|
30
26
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
31
|
-
[1m[35mSQL (0.
|
32
|
-
[1m[36m (
|
27
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("email", "name", "organisation_slug", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?, ?) [["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["organisation_slug", nil], ["permissions", "---\n- signin\n- user_update_permission\n"], ["remotely_signed_out", nil], ["uid", "a1s2d35286"]]
|
28
|
+
[1m[36m (10.7ms)[0m [1mcommit transaction[0m
|
33
29
|
Processing by Api::UserController#reauth as HTML
|
34
|
-
Parameters: {"uid"=>"
|
35
|
-
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = '
|
30
|
+
Parameters: {"uid"=>"a1s2d38987"}
|
31
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'a1s2d38987' LIMIT 1
|
36
32
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
37
33
|
[1m[35m (0.2ms)[0m UPDATE "users" SET "remotely_signed_out" = 't', "permissions" = '---
|
38
34
|
- signin
|
39
35
|
' WHERE "users"."id" = 5
|
40
|
-
[1m[36m (
|
41
|
-
Completed 200 OK in
|
36
|
+
[1m[36m (10.0ms)[0m [1mcommit transaction[0m
|
37
|
+
Completed 200 OK in 14.1ms (ActiveRecord: 10.4ms)
|
42
38
|
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 5]]
|
43
39
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
44
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("email", "name", "organisation_slug", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?, ?) [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["organisation_slug", nil], ["permissions", "---\n- signin\n"], ["remotely_signed_out", nil], ["uid", "
|
45
|
-
[1m[36m (
|
46
|
-
[1m[35m (0.
|
47
|
-
[1m[36mSQL (0.
|
48
|
-
[1m[35m (
|
40
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("email", "name", "organisation_slug", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?, ?) [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["organisation_slug", nil], ["permissions", "---\n- signin\n"], ["remotely_signed_out", nil], ["uid", "a1s2d39782"]]
|
41
|
+
[1m[36m (10.5ms)[0m [1mcommit transaction[0m
|
42
|
+
[1m[35m (0.1ms)[0m begin transaction
|
43
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("email", "name", "organisation_slug", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?, ?)[0m [["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["organisation_slug", nil], ["permissions", "---\n- signin\n- user_update_permission\n"], ["remotely_signed_out", nil], ["uid", "a1s2d37664"]]
|
44
|
+
[1m[35m (15.4ms)[0m commit transaction
|
49
45
|
Processing by Api::UserController#update as HTML
|
50
|
-
Parameters: {"uid"=>"
|
51
|
-
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = '
|
46
|
+
Parameters: {"uid"=>"a1s2d39782"}
|
47
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'a1s2d39782' LIMIT 1[0m
|
52
48
|
[1m[35m (0.0ms)[0m begin transaction
|
53
49
|
[1m[36m (0.2ms)[0m [1mUPDATE "users" SET "email" = 'user@domain.com', "name" = 'Joshua Marshall', "permissions" = '---
|
54
50
|
- signin
|
55
51
|
- new permission
|
56
52
|
', "organisation_slug" = 'justice-league' WHERE "users"."id" = 7[0m
|
57
|
-
[1m[35m (
|
58
|
-
Completed 200 OK in
|
53
|
+
[1m[35m (20.2ms)[0m commit transaction
|
54
|
+
Completed 200 OK in 23.8ms (ActiveRecord: 20.6ms)
|
59
55
|
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 7]]
|
60
56
|
[1m[35m (0.1ms)[0m begin transaction
|
61
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("email", "name", "organisation_slug", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?, ?)[0m [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["organisation_slug", nil], ["permissions", "---\n- signin\n"], ["remotely_signed_out", nil], ["uid", "
|
62
|
-
[1m[35m (
|
57
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("email", "name", "organisation_slug", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?, ?)[0m [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["organisation_slug", nil], ["permissions", "---\n- signin\n"], ["remotely_signed_out", nil], ["uid", "a1s2d36570"]]
|
58
|
+
[1m[35m (14.0ms)[0m commit transaction
|
63
59
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
64
|
-
[1m[35mSQL (0.
|
65
|
-
[1m[36m (
|
60
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("email", "name", "organisation_slug", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?, ?) [["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["organisation_slug", nil], ["permissions", "---\n- signin\n- user_update_permission\n"], ["remotely_signed_out", nil], ["uid", "a1s2d31038"]]
|
61
|
+
[1m[36m (13.7ms)[0m [1mcommit transaction[0m
|
66
62
|
WARNING: Can't mass-assign protected attributes: uid, name, permissions
|
67
63
|
Processing by Api::UserController#update as HTML
|
68
|
-
Parameters: {"uid"=>"
|
64
|
+
Parameters: {"uid"=>"a1s2d36570"}
|
69
65
|
Completed 403 Forbidden in 1.4ms (Views: 0.9ms | ActiveRecord: 0.0ms)
|
70
|
-
Started GET "/restricted" for 127.0.0.1 at 2014-
|
66
|
+
Started GET "/restricted" for 127.0.0.1 at 2014-09-03 16:21:58 +0000
|
71
67
|
Processing by ExampleController#restricted as JSON
|
72
|
-
Completed in
|
73
|
-
Started GET "/restricted" for 127.0.0.1 at 2014-
|
68
|
+
Completed in 320.2ms
|
69
|
+
Started GET "/restricted" for 127.0.0.1 at 2014-09-03 16:21:58 +0000
|
74
70
|
Processing by ExampleController#restricted as JSON
|
75
|
-
|
71
|
+
Completed in 270.3ms
|
72
|
+
Started GET "/restricted" for 127.0.0.1 at 2014-09-03 16:21:59 +0000
|
73
|
+
Processing by ExampleController#restricted as JSON
|
74
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
76
75
|
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'test@example-client.com' LIMIT 1[0m
|
77
|
-
[1m[35m (0.
|
76
|
+
[1m[35m (0.0ms)[0m begin transaction
|
78
77
|
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("email", "name", "organisation_slug", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?, ?)[0m [["email", "test@example-client.com"], ["name", "Test User"], ["organisation_slug", nil], ["permissions", "---\n- signin\n"], ["remotely_signed_out", nil], ["uid", "integration-uid"]]
|
79
|
-
[1m[35m (
|
78
|
+
[1m[35m (12.3ms)[0m commit transaction
|
80
79
|
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
81
80
|
[1m[35m (0.0ms)[0m begin transaction
|
82
|
-
[1m[36m (0.
|
81
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
83
82
|
- signin
|
84
83
|
' WHERE "users"."id" = 11[0m
|
85
|
-
[1m[35m (
|
86
|
-
[1m[36mUser Load (0.
|
84
|
+
[1m[35m (41.7ms)[0m commit transaction
|
85
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
87
86
|
[1m[35m (0.0ms)[0m begin transaction
|
88
87
|
[1m[36m (0.2ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
89
88
|
- signin
|
90
89
|
' WHERE "users"."id" = 11[0m
|
91
|
-
[1m[35m (
|
92
|
-
[1m[36mUser Load (0.
|
90
|
+
[1m[35m (28.5ms)[0m commit transaction
|
91
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
93
92
|
[1m[35m (0.0ms)[0m begin transaction
|
94
93
|
[1m[36m (0.2ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
95
94
|
- signin
|
96
95
|
' WHERE "users"."id" = 11[0m
|
97
|
-
[1m[35m (
|
98
|
-
[1m[36m (0.
|
99
|
-
[1m[35m (0.
|
96
|
+
[1m[35m (28.4ms)[0m commit transaction
|
97
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
98
|
+
[1m[35m (0.2ms)[0m UPDATE "users" SET "remotely_signed_out" = 'f', "permissions" = '---
|
100
99
|
- signin
|
101
100
|
' WHERE "users"."id" = 11
|
102
|
-
[1m[36m (
|
103
|
-
Completed 200 OK in
|
104
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2014-
|
101
|
+
[1m[36m (15.6ms)[0m [1mcommit transaction[0m
|
102
|
+
Completed 200 OK in 660.6ms (Views: 35.4ms | ActiveRecord: 128.5ms)
|
103
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2014-09-03 16:22:00 +0000
|
105
104
|
Processing by ExampleController#this_requires_signin_permission as JSON
|
106
105
|
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
107
106
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
108
|
-
[1m[35m (0.
|
107
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
109
108
|
- signin
|
110
109
|
' WHERE "users"."id" = 11
|
111
|
-
[1m[36m (
|
112
|
-
[1m[35mUser Load (0.
|
110
|
+
[1m[36m (33.9ms)[0m [1mcommit transaction[0m
|
111
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
113
112
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
114
|
-
[1m[35m (0.
|
113
|
+
[1m[35m (0.2ms)[0m UPDATE "users" SET "permissions" = '---
|
115
114
|
- signin
|
116
115
|
' WHERE "users"."id" = 11
|
117
|
-
[1m[36m (
|
118
|
-
[1m[35mUser Load (0.
|
119
|
-
[1m[36m (0.
|
120
|
-
[1m[35m (0.
|
116
|
+
[1m[36m (13.5ms)[0m [1mcommit transaction[0m
|
117
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
118
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
119
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
121
120
|
- signin
|
122
121
|
' WHERE "users"."id" = 11
|
123
|
-
[1m[36m (
|
122
|
+
[1m[36m (10.9ms)[0m [1mcommit transaction[0m
|
124
123
|
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
125
124
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
126
|
-
[1m[35m (0.
|
125
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
127
126
|
- signin
|
128
127
|
' WHERE "users"."id" = 11
|
129
|
-
[1m[36m (
|
130
|
-
[1m[35m (0.
|
131
|
-
[1m[36m (0.
|
128
|
+
[1m[36m (12.4ms)[0m [1mcommit transaction[0m
|
129
|
+
[1m[35m (0.1ms)[0m begin transaction
|
130
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
132
131
|
- signin
|
133
132
|
' WHERE "users"."id" = 11[0m
|
134
|
-
[1m[35m (
|
135
|
-
Completed 200 OK in
|
136
|
-
Started GET "/
|
137
|
-
Processing by ExampleController#restricted as JSON
|
138
|
-
Completed in 22.9ms
|
139
|
-
Started GET "/" for 127.0.0.1 at 2014-07-18 13:10:54 +0000
|
133
|
+
[1m[35m (55.3ms)[0m commit transaction
|
134
|
+
Completed 200 OK in 374.8ms (Views: 0.4ms | ActiveRecord: 128.4ms)
|
135
|
+
Started GET "/" for 127.0.0.1 at 2014-09-03 16:22:00 +0000
|
140
136
|
Processing by ExampleController#index as HTML
|
141
|
-
Completed 200 OK in
|
142
|
-
Started GET "/
|
143
|
-
Processing by ExampleController#
|
137
|
+
Completed 200 OK in 1.1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
|
138
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2014-09-03 16:22:01 +0000
|
139
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
144
140
|
Authenticating with gds_sso strategy
|
145
141
|
Completed in 0.3ms
|
146
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2014-
|
147
|
-
Started GET "/auth/gds/callback?code=
|
142
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2014-09-03 16:22:01 +0000
|
143
|
+
Started GET "/auth/gds/callback?code=b0db4fc24baf5226116caae3196975ce0e47d9db790566a12e42422d1d417c89&state=fc688b4039e81458150996716a801007175a99fdecc60237" for 127.0.0.1 at 2014-09-03 16:22:02 +0000
|
148
144
|
Processing by AuthenticationsController#callback as HTML
|
149
|
-
Parameters: {"code"=>"
|
145
|
+
Parameters: {"code"=>"b0db4fc24baf5226116caae3196975ce0e47d9db790566a12e42422d1d417c89", "state"=>"fc688b4039e81458150996716a801007175a99fdecc60237"}
|
150
146
|
Authenticating with gds_sso strategy
|
151
|
-
[1m[36mUser Load (0.
|
147
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
152
148
|
[1m[35m (0.1ms)[0m begin transaction
|
153
|
-
[1m[36m (0.
|
149
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
154
150
|
- signin
|
155
151
|
' WHERE "users"."id" = 11[0m
|
156
|
-
[1m[35m (
|
157
|
-
[1m[36m (0.
|
158
|
-
[1m[35m (0.
|
152
|
+
[1m[35m (10.7ms)[0m commit transaction
|
153
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
154
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
159
155
|
- signin
|
160
156
|
' WHERE "users"."id" = 11
|
161
|
-
[1m[36m (10.
|
162
|
-
Redirected to http://www.example-client.com/
|
163
|
-
Completed 302 Found in
|
164
|
-
Started GET "/
|
165
|
-
Processing by ExampleController#
|
166
|
-
[1m[35mUser Load (0.
|
167
|
-
Completed 200 OK in
|
168
|
-
Started GET "/
|
169
|
-
Processing by ExampleController#
|
157
|
+
[1m[36m (10.4ms)[0m [1mcommit transaction[0m
|
158
|
+
Redirected to http://www.example-client.com/this_requires_signin_permission
|
159
|
+
Completed 302 Found in 29.9ms (ActiveRecord: 22.2ms)
|
160
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2014-09-03 16:22:02 +0000
|
161
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
162
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' LIMIT 1
|
163
|
+
Completed 200 OK in 3.5ms (Views: 0.6ms | ActiveRecord: 0.3ms)
|
164
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2014-09-03 16:22:02 +0000
|
165
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
170
166
|
Authenticating with gds_sso strategy
|
171
167
|
Completed in 0.3ms
|
172
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2014-
|
173
|
-
Started GET "/auth/gds/callback?code=
|
168
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2014-09-03 16:22:02 +0000
|
169
|
+
Started GET "/auth/gds/callback?code=374bb5edbf5397a12e5b4ef673f6e0289d73f9bd112a6541344824a599b995bb&state=3d57a780b3e31373e1a01d42a86b214dae4fd871904ec895" for 127.0.0.1 at 2014-09-03 16:22:02 +0000
|
174
170
|
Processing by AuthenticationsController#callback as HTML
|
175
|
-
Parameters: {"code"=>"
|
171
|
+
Parameters: {"code"=>"374bb5edbf5397a12e5b4ef673f6e0289d73f9bd112a6541344824a599b995bb", "state"=>"3d57a780b3e31373e1a01d42a86b214dae4fd871904ec895"}
|
176
172
|
Authenticating with gds_sso strategy
|
177
173
|
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
178
174
|
[1m[35m (0.1ms)[0m begin transaction
|
179
175
|
[1m[36m (0.2ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
180
176
|
- signin
|
181
177
|
' WHERE "users"."id" = 11[0m
|
182
|
-
[1m[35m (
|
178
|
+
[1m[35m (14.5ms)[0m commit transaction
|
183
179
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
184
180
|
[1m[35m (0.2ms)[0m UPDATE "users" SET "permissions" = '---
|
185
181
|
- signin
|
186
182
|
' WHERE "users"."id" = 11
|
187
|
-
[1m[36m (
|
188
|
-
Redirected to http://www.example-client.com/
|
189
|
-
Completed 302 Found in
|
190
|
-
Started GET "/
|
191
|
-
Processing by ExampleController#
|
183
|
+
[1m[36m (17.1ms)[0m [1mcommit transaction[0m
|
184
|
+
Redirected to http://www.example-client.com/this_requires_signin_permission
|
185
|
+
Completed 302 Found in 38.3ms (ActiveRecord: 32.4ms)
|
186
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2014-09-03 16:22:02 +0000
|
187
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
192
188
|
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' LIMIT 1
|
193
|
-
Completed 200 OK in
|
194
|
-
Started GET "/restricted" for 127.0.0.1 at 2014-
|
189
|
+
Completed 200 OK in 2.1ms (Views: 0.4ms | ActiveRecord: 0.2ms)
|
190
|
+
Started GET "/restricted" for 127.0.0.1 at 2014-09-03 16:22:03 +0000
|
195
191
|
Processing by ExampleController#restricted as HTML
|
196
192
|
Authenticating with gds_sso strategy
|
197
193
|
Completed in 0.2ms
|
198
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2014-
|
199
|
-
Started GET "/auth/gds/callback?code=
|
194
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2014-09-03 16:22:03 +0000
|
195
|
+
Started GET "/auth/gds/callback?code=c2621eb639eaeb7cbab1d0ebc74f48119882a2091fb96ede9ec0bb9f9a6d68cd&state=9f1af49c3c17aec998d8669cafac807adeef4b3f85bd9ab0" for 127.0.0.1 at 2014-09-03 16:22:03 +0000
|
200
196
|
Processing by AuthenticationsController#callback as HTML
|
201
|
-
Parameters: {"code"=>"
|
197
|
+
Parameters: {"code"=>"c2621eb639eaeb7cbab1d0ebc74f48119882a2091fb96ede9ec0bb9f9a6d68cd", "state"=>"9f1af49c3c17aec998d8669cafac807adeef4b3f85bd9ab0"}
|
202
198
|
Authenticating with gds_sso strategy
|
203
199
|
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
204
200
|
[1m[35m (0.0ms)[0m begin transaction
|
205
|
-
[1m[36m (0.
|
201
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
206
202
|
- signin
|
207
203
|
' WHERE "users"."id" = 11[0m
|
208
|
-
[1m[35m (
|
204
|
+
[1m[35m (10.8ms)[0m commit transaction
|
209
205
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
210
206
|
[1m[35m (0.2ms)[0m UPDATE "users" SET "permissions" = '---
|
211
207
|
- signin
|
212
208
|
' WHERE "users"."id" = 11
|
213
|
-
[1m[36m (
|
209
|
+
[1m[36m (15.6ms)[0m [1mcommit transaction[0m
|
214
210
|
Redirected to http://www.example-client.com/restricted
|
215
|
-
Completed 302 Found in
|
216
|
-
Started GET "/restricted" for 127.0.0.1 at 2014-
|
211
|
+
Completed 302 Found in 32.0ms (ActiveRecord: 27.1ms)
|
212
|
+
Started GET "/restricted" for 127.0.0.1 at 2014-09-03 16:22:03 +0000
|
217
213
|
Processing by ExampleController#restricted as HTML
|
218
214
|
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' LIMIT 1
|
219
|
-
Completed 200 OK in 1.
|
220
|
-
Started GET "/
|
221
|
-
Processing by ExampleController#
|
215
|
+
Completed 200 OK in 1.5ms (Views: 0.4ms | ActiveRecord: 0.2ms)
|
216
|
+
Started GET "/restricted" for 127.0.0.1 at 2014-09-03 16:22:03 +0000
|
217
|
+
Processing by ExampleController#restricted as HTML
|
222
218
|
Authenticating with gds_sso strategy
|
223
219
|
Completed in 0.3ms
|
224
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2014-
|
225
|
-
Started GET "/auth/gds/callback?code=
|
220
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2014-09-03 16:22:03 +0000
|
221
|
+
Started GET "/auth/gds/callback?code=f17f3111d54a052f34cf5b0711bceadb7b6a39fcf0e413c76b99c34258547407&state=11ee63d75c45a9bc1ba52931db07542e010a00c5cbfe6d44" for 127.0.0.1 at 2014-09-03 16:22:03 +0000
|
226
222
|
Processing by AuthenticationsController#callback as HTML
|
227
|
-
Parameters: {"code"=>"
|
223
|
+
Parameters: {"code"=>"f17f3111d54a052f34cf5b0711bceadb7b6a39fcf0e413c76b99c34258547407", "state"=>"11ee63d75c45a9bc1ba52931db07542e010a00c5cbfe6d44"}
|
228
224
|
Authenticating with gds_sso strategy
|
229
225
|
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
230
|
-
[1m[35m (0.
|
226
|
+
[1m[35m (0.0ms)[0m begin transaction
|
231
227
|
[1m[36m (0.2ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
232
228
|
- signin
|
233
229
|
' WHERE "users"."id" = 11[0m
|
234
|
-
[1m[35m (
|
230
|
+
[1m[35m (13.0ms)[0m commit transaction
|
235
231
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
236
232
|
[1m[35m (0.2ms)[0m UPDATE "users" SET "permissions" = '---
|
237
233
|
- signin
|
238
234
|
' WHERE "users"."id" = 11
|
239
|
-
[1m[36m (
|
240
|
-
Redirected to http://www.example-client.com/
|
241
|
-
Completed 302 Found in
|
242
|
-
Started GET "/
|
243
|
-
Processing by ExampleController#
|
235
|
+
[1m[36m (9.5ms)[0m [1mcommit transaction[0m
|
236
|
+
Redirected to http://www.example-client.com/restricted
|
237
|
+
Completed 302 Found in 28.1ms (ActiveRecord: 23.1ms)
|
238
|
+
Started GET "/restricted" for 127.0.0.1 at 2014-09-03 16:22:04 +0000
|
239
|
+
Processing by ExampleController#restricted as HTML
|
244
240
|
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' LIMIT 1
|
245
|
-
Completed 200 OK in 1.
|
246
|
-
Started GET "/
|
247
|
-
Processing by ExampleController#
|
241
|
+
Completed 200 OK in 1.6ms (Views: 0.4ms | ActiveRecord: 0.2ms)
|
242
|
+
Started GET "/restricted" for 127.0.0.1 at 2014-09-03 16:22:04 +0000
|
243
|
+
Processing by ExampleController#restricted as HTML
|
248
244
|
Authenticating with gds_sso strategy
|
249
245
|
Completed in 0.2ms
|
250
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2014-
|
251
|
-
Started GET "/auth/gds/callback?code=
|
246
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2014-09-03 16:22:04 +0000
|
247
|
+
Started GET "/auth/gds/callback?code=e92d1a233a614e89462a688733ad731db8ceb7ebe8fd623a80eb52b180af98b4&state=fa3cd5aecca58db71fea10bc8234d74a6480e49197721797" for 127.0.0.1 at 2014-09-03 16:22:04 +0000
|
252
248
|
Processing by AuthenticationsController#callback as HTML
|
253
|
-
Parameters: {"code"=>"
|
249
|
+
Parameters: {"code"=>"e92d1a233a614e89462a688733ad731db8ceb7ebe8fd623a80eb52b180af98b4", "state"=>"fa3cd5aecca58db71fea10bc8234d74a6480e49197721797"}
|
254
250
|
Authenticating with gds_sso strategy
|
255
251
|
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
256
252
|
[1m[35m (0.0ms)[0m begin transaction
|
257
253
|
[1m[36m (0.2ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
258
254
|
- signin
|
259
255
|
' WHERE "users"."id" = 11[0m
|
260
|
-
[1m[35m (
|
256
|
+
[1m[35m (6.8ms)[0m commit transaction
|
261
257
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
262
258
|
[1m[35m (0.2ms)[0m UPDATE "users" SET "permissions" = '---
|
263
259
|
- signin
|
264
260
|
' WHERE "users"."id" = 11
|
265
|
-
[1m[36m (
|
266
|
-
Redirected to http://www.example-client.com/
|
267
|
-
Completed 302 Found in
|
268
|
-
Started GET "/
|
269
|
-
Processing by ExampleController#
|
270
|
-
[1m[35mUser Load (0.
|
271
|
-
Completed 200 OK in 1.
|
272
|
-
Started GET "/restricted" for 127.0.0.1 at 2014-
|
261
|
+
[1m[36m (18.3ms)[0m [1mcommit transaction[0m
|
262
|
+
Redirected to http://www.example-client.com/restricted
|
263
|
+
Completed 302 Found in 30.5ms (ActiveRecord: 25.8ms)
|
264
|
+
Started GET "/restricted" for 127.0.0.1 at 2014-09-03 16:22:04 +0000
|
265
|
+
Processing by ExampleController#restricted as HTML
|
266
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' LIMIT 1
|
267
|
+
Completed 200 OK in 1.8ms (Views: 0.4ms | ActiveRecord: 0.2ms)
|
268
|
+
Started GET "/restricted" for 127.0.0.1 at 2014-09-03 16:22:04 +0000
|
273
269
|
Processing by ExampleController#restricted as HTML
|
274
270
|
Authenticating with gds_sso strategy
|
275
271
|
Completed in 0.3ms
|
276
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2014-
|
277
|
-
Started GET "/auth/gds/callback?code=
|
272
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2014-09-03 16:22:04 +0000
|
273
|
+
Started GET "/auth/gds/callback?code=15ff34bebc0526a601e45e08670326a0b2d58de736b4ee3f4d2f12eb70b2bcd1&state=83fe6996809d59921db4424c95c41494130fe657a111c58a" for 127.0.0.1 at 2014-09-03 16:22:05 +0000
|
278
274
|
Processing by AuthenticationsController#callback as HTML
|
279
|
-
Parameters: {"code"=>"
|
275
|
+
Parameters: {"code"=>"15ff34bebc0526a601e45e08670326a0b2d58de736b4ee3f4d2f12eb70b2bcd1", "state"=>"83fe6996809d59921db4424c95c41494130fe657a111c58a"}
|
280
276
|
Authenticating with gds_sso strategy
|
281
277
|
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
282
278
|
[1m[35m (0.1ms)[0m begin transaction
|
283
279
|
[1m[36m (0.2ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
284
280
|
- signin
|
285
281
|
' WHERE "users"."id" = 11[0m
|
286
|
-
[1m[35m (
|
282
|
+
[1m[35m (75.2ms)[0m commit transaction
|
287
283
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
288
284
|
[1m[35m (0.2ms)[0m UPDATE "users" SET "permissions" = '---
|
289
285
|
- signin
|
290
286
|
' WHERE "users"."id" = 11
|
291
|
-
[1m[36m (
|
287
|
+
[1m[36m (85.1ms)[0m [1mcommit transaction[0m
|
292
288
|
Redirected to http://www.example-client.com/restricted
|
293
|
-
Completed 302 Found in
|
294
|
-
Started GET "/restricted" for 127.0.0.1 at 2014-
|
289
|
+
Completed 302 Found in 168.0ms (ActiveRecord: 161.1ms)
|
290
|
+
Started GET "/restricted" for 127.0.0.1 at 2014-09-03 16:22:05 +0000
|
295
291
|
Processing by ExampleController#restricted as HTML
|
296
|
-
[1m[35mUser Load (0.
|
297
|
-
Completed 200 OK in
|
298
|
-
Started GET "/restricted" for 127.0.0.1 at 2014-
|
292
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' LIMIT 1
|
293
|
+
Completed 200 OK in 2.2ms (Views: 0.5ms | ActiveRecord: 0.3ms)
|
294
|
+
Started GET "/restricted" for 127.0.0.1 at 2014-09-04 12:17:05 +0000
|
299
295
|
Processing by ExampleController#restricted as HTML
|
300
296
|
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' LIMIT 1[0m
|
301
|
-
Completed 200 OK in
|
302
|
-
Started GET "/restricted" for 127.0.0.1 at 2014-
|
297
|
+
Completed 200 OK in 1.9ms (Views: 0.3ms | ActiveRecord: 0.2ms)
|
298
|
+
Started GET "/restricted" for 127.0.0.1 at 2014-09-03 16:22:05 +0000
|
303
299
|
Processing by ExampleController#restricted as HTML
|
304
300
|
Authenticating with gds_sso strategy
|
305
|
-
Completed in 0.
|
306
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2014-
|
307
|
-
Started GET "/auth/gds/callback?code=
|
301
|
+
Completed in 0.5ms
|
302
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2014-09-03 16:22:05 +0000
|
303
|
+
Started GET "/auth/gds/callback?code=403265f81f1add5efcbb242ed9fc16c6781bd1e17e90c2f2c4a19f7600ad1e7d&state=2f8283d7acdcacfdd42008812d93dfdc9381e9f32a751aaf" for 127.0.0.1 at 2014-09-03 16:22:06 +0000
|
308
304
|
Processing by AuthenticationsController#callback as HTML
|
309
|
-
Parameters: {"code"=>"
|
305
|
+
Parameters: {"code"=>"403265f81f1add5efcbb242ed9fc16c6781bd1e17e90c2f2c4a19f7600ad1e7d", "state"=>"2f8283d7acdcacfdd42008812d93dfdc9381e9f32a751aaf"}
|
310
306
|
Authenticating with gds_sso strategy
|
311
307
|
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
312
|
-
[1m[36m (0.
|
308
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
313
309
|
[1m[35m (0.2ms)[0m UPDATE "users" SET "permissions" = '---
|
314
310
|
- signin
|
315
311
|
' WHERE "users"."id" = 11
|
316
|
-
[1m[36m (
|
317
|
-
[1m[35m (0.
|
318
|
-
[1m[36m (0.
|
312
|
+
[1m[36m (23.2ms)[0m [1mcommit transaction[0m
|
313
|
+
[1m[35m (0.1ms)[0m begin transaction
|
314
|
+
[1m[36m (0.7ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
319
315
|
- signin
|
320
316
|
' WHERE "users"."id" = 11[0m
|
321
|
-
[1m[35m (
|
317
|
+
[1m[35m (23.6ms)[0m commit transaction
|
322
318
|
Redirected to http://www.example-client.com/restricted
|
323
|
-
Completed 302 Found in
|
324
|
-
Started GET "/restricted" for 127.0.0.1 at 2014-
|
319
|
+
Completed 302 Found in 52.9ms (ActiveRecord: 48.0ms)
|
320
|
+
Started GET "/restricted" for 127.0.0.1 at 2014-09-03 16:22:06 +0000
|
325
321
|
Processing by ExampleController#restricted as HTML
|
326
322
|
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' LIMIT 1[0m
|
327
|
-
Completed 200 OK in
|
328
|
-
Started GET "/restricted" for 127.0.0.1 at 2014-
|
323
|
+
Completed 200 OK in 2.3ms (Views: 0.6ms | ActiveRecord: 0.2ms)
|
324
|
+
Started GET "/restricted" for 127.0.0.1 at 2014-09-04 12:27:06 +0000
|
329
325
|
Processing by ExampleController#restricted as HTML
|
330
326
|
Authenticating with gds_sso strategy
|
331
327
|
Completed in 0.3ms
|
332
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2014-
|
333
|
-
Started GET "/auth/gds/callback?code=
|
328
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2014-09-04 12:27:06 +0000
|
329
|
+
Started GET "/auth/gds/callback?code=47e7703f8e9d7999c7e59d89f72feccb066ac88b6a9bbd43a201e78243842429&state=df672180d63b0c9fb90de1088b6c28ad57c29079b743654e" for 127.0.0.1 at 2014-09-04 12:27:06 +0000
|
334
330
|
Processing by AuthenticationsController#callback as HTML
|
335
|
-
Parameters: {"code"=>"
|
331
|
+
Parameters: {"code"=>"47e7703f8e9d7999c7e59d89f72feccb066ac88b6a9bbd43a201e78243842429", "state"=>"df672180d63b0c9fb90de1088b6c28ad57c29079b743654e"}
|
336
332
|
Authenticating with gds_sso strategy
|
337
333
|
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
338
334
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
339
|
-
[1m[35m (0.
|
335
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
340
336
|
- signin
|
341
337
|
' WHERE "users"."id" = 11
|
342
|
-
[1m[36m (
|
338
|
+
[1m[36m (12.7ms)[0m [1mcommit transaction[0m
|
343
339
|
[1m[35m (0.1ms)[0m begin transaction
|
344
340
|
[1m[36m (0.2ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
345
341
|
- signin
|
346
342
|
' WHERE "users"."id" = 11[0m
|
347
|
-
[1m[35m (
|
343
|
+
[1m[35m (15.3ms)[0m commit transaction
|
348
344
|
Redirected to http://www.example-client.com/restricted
|
349
|
-
Completed 302 Found in
|
350
|
-
Started GET "/restricted" for 127.0.0.1 at 2014-
|
345
|
+
Completed 302 Found in 33.8ms (ActiveRecord: 28.9ms)
|
346
|
+
Started GET "/restricted" for 127.0.0.1 at 2014-09-04 12:27:06 +0000
|
351
347
|
Processing by ExampleController#restricted as HTML
|
352
348
|
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' LIMIT 1[0m
|
353
|
-
Completed 200 OK in 1.
|
354
|
-
Started GET "/restricted" for 127.0.0.1 at 2014-
|
349
|
+
Completed 200 OK in 1.7ms (Views: 0.3ms | ActiveRecord: 0.2ms)
|
350
|
+
Started GET "/restricted" for 127.0.0.1 at 2014-09-03 16:22:06 +0000
|
355
351
|
Processing by ExampleController#restricted as HTML
|
356
352
|
Authenticating with gds_sso strategy
|
357
353
|
Completed in 0.3ms
|
358
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2014-
|
359
|
-
Started GET "/auth/gds/callback?code=
|
354
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2014-09-03 16:22:06 +0000
|
355
|
+
Started GET "/auth/gds/callback?code=9a7a37de502c8981bee5f85c3aa99cfbf0cf33a071dfa728c67a65c595a86013&state=9a6f99acdee3a0315f5b56581de3f1db369f5ada44564b37" for 127.0.0.1 at 2014-09-03 16:22:07 +0000
|
360
356
|
Processing by AuthenticationsController#callback as HTML
|
361
|
-
Parameters: {"code"=>"
|
357
|
+
Parameters: {"code"=>"9a7a37de502c8981bee5f85c3aa99cfbf0cf33a071dfa728c67a65c595a86013", "state"=>"9a6f99acdee3a0315f5b56581de3f1db369f5ada44564b37"}
|
362
358
|
Authenticating with gds_sso strategy
|
363
359
|
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
364
360
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
365
|
-
[1m[35m (0.
|
361
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
366
362
|
- signin
|
367
363
|
' WHERE "users"."id" = 11
|
368
|
-
[1m[36m (
|
364
|
+
[1m[36m (32.2ms)[0m [1mcommit transaction[0m
|
369
365
|
[1m[35m (0.1ms)[0m begin transaction
|
370
|
-
[1m[36m (0.
|
366
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
371
367
|
- signin
|
372
368
|
' WHERE "users"."id" = 11[0m
|
373
|
-
[1m[35m (
|
369
|
+
[1m[35m (18.2ms)[0m commit transaction
|
374
370
|
Redirected to http://www.example-client.com/restricted
|
375
|
-
Completed 302 Found in
|
376
|
-
Started GET "/restricted" for 127.0.0.1 at 2014-
|
371
|
+
Completed 302 Found in 57.5ms (ActiveRecord: 51.3ms)
|
372
|
+
Started GET "/restricted" for 127.0.0.1 at 2014-09-03 16:22:07 +0000
|
377
373
|
Processing by ExampleController#restricted as HTML
|
378
374
|
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' LIMIT 1[0m
|
379
|
-
Completed 200 OK in 1.
|
375
|
+
Completed 200 OK in 1.7ms (Views: 0.4ms | ActiveRecord: 0.2ms)
|
380
376
|
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'test@example-client.com' LIMIT 1
|
381
|
-
[1m[36m (0.
|
377
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
382
378
|
[1m[35m (0.2ms)[0m UPDATE "users" SET "remotely_signed_out" = 't', "permissions" = '---
|
383
379
|
- signin
|
384
380
|
' WHERE "users"."id" = 11
|
385
|
-
[1m[36m (
|
386
|
-
Started GET "/restricted" for 127.0.0.1 at 2014-
|
381
|
+
[1m[36m (17.5ms)[0m [1mcommit transaction[0m
|
382
|
+
Started GET "/restricted" for 127.0.0.1 at 2014-09-03 16:22:07 +0000
|
387
383
|
Processing by ExampleController#restricted as HTML
|
388
384
|
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' LIMIT 1
|
389
385
|
Authenticating with gds_sso strategy
|
390
|
-
Completed in 1.
|
391
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2014-
|
392
|
-
Started GET "/auth/gds/callback?code=
|
386
|
+
Completed in 1.0ms
|
387
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2014-09-03 16:22:07 +0000
|
388
|
+
Started GET "/auth/gds/callback?code=da9935976552d636886ad41941e7dd838444531bd6a1937caf4bf52a061d2fc3&state=23915f644980914cd141ce3647354c914b684b22e7608854" for 127.0.0.1 at 2014-09-03 16:22:07 +0000
|
393
389
|
Processing by AuthenticationsController#callback as HTML
|
394
|
-
Parameters: {"code"=>"
|
390
|
+
Parameters: {"code"=>"da9935976552d636886ad41941e7dd838444531bd6a1937caf4bf52a061d2fc3", "state"=>"23915f644980914cd141ce3647354c914b684b22e7608854"}
|
395
391
|
Authenticating with gds_sso strategy
|
396
392
|
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
397
|
-
[1m[35m (0.
|
393
|
+
[1m[35m (0.0ms)[0m begin transaction
|
398
394
|
[1m[36m (0.2ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
399
395
|
- signin
|
400
396
|
' WHERE "users"."id" = 11[0m
|
401
|
-
[1m[35m (
|
402
|
-
[1m[36m (0.
|
397
|
+
[1m[35m (6.6ms)[0m commit transaction
|
398
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
403
399
|
[1m[35m (0.2ms)[0m UPDATE "users" SET "remotely_signed_out" = 'f', "permissions" = '---
|
404
400
|
- signin
|
405
401
|
' WHERE "users"."id" = 11
|
406
|
-
[1m[36m (
|
402
|
+
[1m[36m (8.7ms)[0m [1mcommit transaction[0m
|
407
403
|
Redirected to http://www.example-client.com/restricted
|
408
|
-
Completed 302 Found in
|
409
|
-
Started GET "/restricted" for 127.0.0.1 at 2014-
|
404
|
+
Completed 302 Found in 20.3ms (ActiveRecord: 16.0ms)
|
405
|
+
Started GET "/restricted" for 127.0.0.1 at 2014-09-03 16:22:07 +0000
|
410
406
|
Processing by ExampleController#restricted as HTML
|
411
|
-
[1m[35mUser Load (
|
412
|
-
Completed 200 OK in
|
407
|
+
[1m[35mUser Load (29.6ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' LIMIT 1
|
408
|
+
Completed 200 OK in 31.1ms (Views: 0.4ms | ActiveRecord: 29.6ms)
|
409
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
410
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("email", "name", "permissions", "uid") VALUES (?, ?, ?, ?) [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"], ["uid", "a1s2d36363"]]
|
411
|
+
[1m[36m (67.6ms)[0m [1mcommit transaction[0m
|
412
|
+
[1m[35m (0.1ms)[0m begin transaction
|
413
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("email", "name", "permissions", "uid") VALUES (?, ?, ?, ?)[0m [["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"], ["uid", "a1s2d35959"]]
|
414
|
+
[1m[35m (21.8ms)[0m commit transaction
|
415
|
+
Processing by Api::UserController#update as HTML
|
416
|
+
Parameters: {"uid"=>"a1s2d36363"}
|
417
|
+
Rendered /home/jenkins/workspace/govuk_gds_sso/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.3ms)
|
418
|
+
Completed 403 Forbidden in 41ms (Views: 40.0ms | ActiveRecord: 0.0ms)
|
419
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
420
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("email", "name", "permissions", "uid") VALUES (?, ?, ?, ?) [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"], ["uid", "a1s2d37581"]]
|
421
|
+
[1m[36m (36.1ms)[0m [1mcommit transaction[0m
|
422
|
+
[1m[35m (0.1ms)[0m begin transaction
|
423
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("email", "name", "permissions", "uid") VALUES (?, ?, ?, ?)[0m [["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"], ["uid", "a1s2d38289"]]
|
424
|
+
[1m[35m (41.3ms)[0m commit transaction
|
425
|
+
Processing by Api::UserController#update as HTML
|
426
|
+
Parameters: {"uid"=>"a1s2d37581"}
|
427
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'a1s2d37581' ORDER BY "users"."id" ASC LIMIT 1[0m
|
428
|
+
[1m[35m (0.1ms)[0m begin transaction
|
429
|
+
[1m[36mSQL (0.4ms)[0m [1mUPDATE "users" SET "email" = ?, "name" = ?, "permissions" = ?, "organisation_slug" = ? WHERE "users"."id" = 3[0m [["email", "user@domain.com"], ["name", "Joshua Marshall"], ["permissions", "---\n- signin\n- new permission\n"], ["organisation_slug", "justice-league"]]
|
430
|
+
[1m[35m (38.5ms)[0m commit transaction
|
431
|
+
Completed 200 OK in 48ms (ActiveRecord: 39.2ms)
|
432
|
+
[1m[36mUser Load (31.8ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 3]]
|
433
|
+
[1m[35m (0.1ms)[0m begin transaction
|
434
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("email", "name", "permissions", "uid") VALUES (?, ?, ?, ?)[0m [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"], ["uid", "a1s2d32874"]]
|
435
|
+
[1m[35m (13.5ms)[0m commit transaction
|
436
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
437
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("email", "name", "permissions", "uid") VALUES (?, ?, ?, ?) [["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"], ["uid", "a1s2d36635"]]
|
438
|
+
[1m[36m (38.8ms)[0m [1mcommit transaction[0m
|
439
|
+
Processing by Api::UserController#reauth as HTML
|
440
|
+
Parameters: {"uid"=>"a1s2d32874"}
|
441
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'a1s2d32874' ORDER BY "users"."id" ASC LIMIT 1
|
442
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
443
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "remotely_signed_out" = ?, "permissions" = ? WHERE "users"."id" = 5 [["remotely_signed_out", true], ["permissions", "---\n- signin\n"]]
|
444
|
+
[1m[36m (9.0ms)[0m [1mcommit transaction[0m
|
445
|
+
Completed 200 OK in 12ms (ActiveRecord: 9.6ms)
|
446
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 5]]
|
447
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
448
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("email", "name", "permissions", "uid") VALUES (?, ?, ?, ?) [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"], ["uid", "a1s2d38045"]]
|
449
|
+
[1m[36m (11.5ms)[0m [1mcommit transaction[0m
|
450
|
+
[1m[35m (0.1ms)[0m begin transaction
|
451
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("email", "name", "permissions", "uid") VALUES (?, ?, ?, ?)[0m [["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"], ["uid", "a1s2d38126"]]
|
452
|
+
[1m[35m (12.4ms)[0m commit transaction
|
453
|
+
Processing by Api::UserController#reauth as HTML
|
454
|
+
Parameters: {"uid"=>"nonexistent-user"}
|
455
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'nonexistent-user' ORDER BY "users"."id" ASC LIMIT 1[0m
|
456
|
+
Completed 200 OK in 2ms (ActiveRecord: 0.3ms)
|
457
|
+
[1m[35m (0.1ms)[0m begin transaction
|
458
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("email", "name", "permissions", "uid") VALUES (?, ?, ?, ?)[0m [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"], ["uid", "a1s2d36759"]]
|
459
|
+
[1m[35m (9.7ms)[0m commit transaction
|
460
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
461
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("email", "name", "permissions", "uid") VALUES (?, ?, ?, ?) [["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"], ["uid", "a1s2d33128"]]
|
462
|
+
[1m[36m (10.5ms)[0m [1mcommit transaction[0m
|
463
|
+
Processing by Api::UserController#reauth as HTML
|
464
|
+
Parameters: {"uid"=>"a1s2d36759"}
|
465
|
+
Completed 403 Forbidden in 1ms (Views: 0.9ms | ActiveRecord: 0.0ms)
|
466
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2014-09-03 16:23:02 +0000
|
467
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
468
|
+
Authenticating with gds_sso strategy
|
469
|
+
Completed in 64ms
|
470
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2014-09-03 16:23:02 +0000
|
471
|
+
Started GET "/auth/gds/callback?code=e52d6da125ffea5e18c4fa5a50df28fbc2b55c5665ce77066d631bafda5b1716&state=8ea86598e865e20d7835f4c899f6c258ed04eee3bc2c2ff6" for 127.0.0.1 at 2014-09-03 16:23:03 +0000
|
472
|
+
Processing by AuthenticationsController#callback as HTML
|
473
|
+
Parameters: {"code"=>"e52d6da125ffea5e18c4fa5a50df28fbc2b55c5665ce77066d631bafda5b1716", "state"=>"8ea86598e865e20d7835f4c899f6c258ed04eee3bc2c2ff6"}
|
474
|
+
Authenticating with gds_sso strategy
|
475
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
|
476
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'test@example-client.com' ORDER BY "users"."id" ASC LIMIT 1[0m
|
477
|
+
[1m[35m (0.1ms)[0m begin transaction
|
478
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("email", "name", "permissions", "uid") VALUES (?, ?, ?, ?)[0m [["email", "test@example-client.com"], ["name", "Test User"], ["permissions", "---\n- signin\n"], ["uid", "integration-uid"]]
|
479
|
+
[1m[35m (41.0ms)[0m commit transaction
|
480
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
481
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "remotely_signed_out" = ?, "permissions" = ? WHERE "users"."id" = 11 [["remotely_signed_out", false], ["permissions", "---\n- signin\n"]]
|
482
|
+
[1m[36m (32.6ms)[0m [1mcommit transaction[0m
|
483
|
+
Redirected to http://www.example-client.com/this_requires_signin_permission
|
484
|
+
Completed 302 Found in 80ms (ActiveRecord: 74.5ms)
|
485
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2014-09-03 16:23:04 +0000
|
486
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
487
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' ORDER BY "users"."id" ASC LIMIT 1
|
488
|
+
Completed 200 OK in 50ms (Views: 47.7ms | ActiveRecord: 0.2ms)
|
489
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2014-09-03 16:23:04 +0000
|
490
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
491
|
+
Authenticating with gds_sso strategy
|
492
|
+
Completed in 1ms
|
493
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2014-09-03 16:23:04 +0000
|
494
|
+
Started GET "/auth/gds/callback?code=2424f3f5116483bbf0674ddb5ab8be0e68b56b0b0f23f578801f47cfb1a715eb&state=f644a4aed57b8183064682c8dc506df6b505ee80c207f944" for 127.0.0.1 at 2014-09-03 16:23:04 +0000
|
495
|
+
Processing by AuthenticationsController#callback as HTML
|
496
|
+
Parameters: {"code"=>"2424f3f5116483bbf0674ddb5ab8be0e68b56b0b0f23f578801f47cfb1a715eb", "state"=>"f644a4aed57b8183064682c8dc506df6b505ee80c207f944"}
|
497
|
+
Authenticating with gds_sso strategy
|
498
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1[0m
|
499
|
+
[1m[35m (0.1ms)[0m begin transaction
|
500
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11[0m [["permissions", "---\n- signin\n"]]
|
501
|
+
[1m[35m (14.7ms)[0m commit transaction
|
502
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
503
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
|
504
|
+
[1m[36m (14.7ms)[0m [1mcommit transaction[0m
|
505
|
+
Redirected to http://www.example-client.com/this_requires_signin_permission
|
506
|
+
Completed 302 Found in 34ms (ActiveRecord: 30.1ms)
|
507
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2014-09-03 16:23:04 +0000
|
508
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
509
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' ORDER BY "users"."id" ASC LIMIT 1
|
510
|
+
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.2ms)
|
511
|
+
Started GET "/restricted" for 127.0.0.1 at 2014-09-03 16:23:04 +0000
|
512
|
+
Processing by ExampleController#restricted as HTML
|
513
|
+
Authenticating with gds_sso strategy
|
514
|
+
Completed in 0ms
|
515
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2014-09-03 16:23:04 +0000
|
516
|
+
Started GET "/auth/gds/callback?code=aa62951593fd05612ee9b55ebccf6a6cd6e2da95766fe27abb421ef32a806a51&state=15bce04924443e5fe012b6fbbf961d389bf47b46adda52bb" for 127.0.0.1 at 2014-09-03 16:23:05 +0000
|
517
|
+
Processing by AuthenticationsController#callback as HTML
|
518
|
+
Parameters: {"code"=>"aa62951593fd05612ee9b55ebccf6a6cd6e2da95766fe27abb421ef32a806a51", "state"=>"15bce04924443e5fe012b6fbbf961d389bf47b46adda52bb"}
|
519
|
+
Authenticating with gds_sso strategy
|
520
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1[0m
|
521
|
+
[1m[35m (0.1ms)[0m begin transaction
|
522
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11[0m [["permissions", "---\n- signin\n"]]
|
523
|
+
[1m[35m (20.9ms)[0m commit transaction
|
524
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
525
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
|
526
|
+
[1m[36m (19.1ms)[0m [1mcommit transaction[0m
|
527
|
+
Redirected to http://www.example-client.com/restricted
|
528
|
+
Completed 302 Found in 46ms (ActiveRecord: 40.7ms)
|
529
|
+
Started GET "/restricted" for 127.0.0.1 at 2014-09-03 16:23:05 +0000
|
530
|
+
Processing by ExampleController#restricted as HTML
|
531
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' ORDER BY "users"."id" ASC LIMIT 1
|
532
|
+
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.3ms)
|
533
|
+
Started GET "/restricted" for 127.0.0.1 at 2014-09-03 16:23:05 +0000
|
534
|
+
Processing by ExampleController#restricted as HTML
|
535
|
+
Authenticating with gds_sso strategy
|
536
|
+
Completed in 0ms
|
537
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2014-09-03 16:23:05 +0000
|
538
|
+
Started GET "/auth/gds/callback?code=07379fc928a770c4a866ab87f0eb3107ceac0452c1ad49a89639074510aa506c&state=be754c7aa402045343402b3345ddd68acba9919d3e103daf" for 127.0.0.1 at 2014-09-03 16:23:05 +0000
|
539
|
+
Processing by AuthenticationsController#callback as HTML
|
540
|
+
Parameters: {"code"=>"07379fc928a770c4a866ab87f0eb3107ceac0452c1ad49a89639074510aa506c", "state"=>"be754c7aa402045343402b3345ddd68acba9919d3e103daf"}
|
541
|
+
Authenticating with gds_sso strategy
|
542
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1[0m
|
543
|
+
[1m[35m (0.1ms)[0m begin transaction
|
544
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11[0m [["permissions", "---\n- signin\n"]]
|
545
|
+
[1m[35m (16.8ms)[0m commit transaction
|
546
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
547
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
|
548
|
+
[1m[36m (11.6ms)[0m [1mcommit transaction[0m
|
549
|
+
Redirected to http://www.example-client.com/restricted
|
550
|
+
Completed 302 Found in 34ms (ActiveRecord: 29.1ms)
|
551
|
+
Started GET "/restricted" for 127.0.0.1 at 2014-09-03 16:23:05 +0000
|
552
|
+
Processing by ExampleController#restricted as HTML
|
553
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' ORDER BY "users"."id" ASC LIMIT 1
|
554
|
+
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.2ms)
|
555
|
+
Started GET "/restricted" for 127.0.0.1 at 2014-09-03 16:23:05 +0000
|
556
|
+
Processing by ExampleController#restricted as HTML
|
557
|
+
Authenticating with gds_sso strategy
|
558
|
+
Completed in 1ms
|
559
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2014-09-03 16:23:05 +0000
|
560
|
+
Started GET "/auth/gds/callback?code=a551abf2b5206cb1c709a0673da492c9d4d2bfa131e9519058b908bd8a45b2de&state=bb1140fd8c731a753f49d93a3df73d94f051ef65ba3e0831" for 127.0.0.1 at 2014-09-03 16:23:06 +0000
|
561
|
+
Processing by AuthenticationsController#callback as HTML
|
562
|
+
Parameters: {"code"=>"a551abf2b5206cb1c709a0673da492c9d4d2bfa131e9519058b908bd8a45b2de", "state"=>"bb1140fd8c731a753f49d93a3df73d94f051ef65ba3e0831"}
|
563
|
+
Authenticating with gds_sso strategy
|
564
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1[0m
|
565
|
+
[1m[35m (0.1ms)[0m begin transaction
|
566
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11[0m [["permissions", "---\n- signin\n"]]
|
567
|
+
[1m[35m (9.5ms)[0m commit transaction
|
568
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
569
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
|
570
|
+
[1m[36m (12.2ms)[0m [1mcommit transaction[0m
|
571
|
+
Redirected to http://www.example-client.com/restricted
|
572
|
+
Completed 302 Found in 27ms (ActiveRecord: 22.3ms)
|
573
|
+
Started GET "/restricted" for 127.0.0.1 at 2014-09-03 16:23:06 +0000
|
574
|
+
Processing by ExampleController#restricted as HTML
|
575
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' ORDER BY "users"."id" ASC LIMIT 1
|
576
|
+
Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.3ms)
|
577
|
+
Started GET "/" for 127.0.0.1 at 2014-09-03 16:23:06 +0000
|
578
|
+
Processing by ExampleController#index as HTML
|
579
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
580
|
+
Started GET "/restricted" for 127.0.0.1 at 2014-09-03 16:23:06 +0000
|
581
|
+
Processing by ExampleController#restricted as HTML
|
582
|
+
Authenticating with gds_sso strategy
|
583
|
+
Completed in 0ms
|
584
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2014-09-03 16:23:06 +0000
|
585
|
+
Started GET "/auth/gds/callback?code=cc66d91920a8ade9a61d7029627cc455a354c466dd132ac2995dfc1778ad2c27&state=d9b5367470e1199a5b65e647b8cff08ba84a9e302dfcf516" for 127.0.0.1 at 2014-09-03 16:23:06 +0000
|
586
|
+
Processing by AuthenticationsController#callback as HTML
|
587
|
+
Parameters: {"code"=>"cc66d91920a8ade9a61d7029627cc455a354c466dd132ac2995dfc1778ad2c27", "state"=>"d9b5367470e1199a5b65e647b8cff08ba84a9e302dfcf516"}
|
588
|
+
Authenticating with gds_sso strategy
|
589
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1[0m
|
590
|
+
[1m[35m (0.1ms)[0m begin transaction
|
591
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11[0m [["permissions", "---\n- signin\n"]]
|
592
|
+
[1m[35m (10.6ms)[0m commit transaction
|
593
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
594
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
|
595
|
+
[1m[36m (10.7ms)[0m [1mcommit transaction[0m
|
596
|
+
Redirected to http://www.example-client.com/restricted
|
597
|
+
Completed 302 Found in 30ms (ActiveRecord: 22.3ms)
|
598
|
+
Started GET "/restricted" for 127.0.0.1 at 2014-09-03 16:23:07 +0000
|
599
|
+
Processing by ExampleController#restricted as HTML
|
600
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' ORDER BY "users"."id" ASC LIMIT 1
|
601
|
+
Completed 200 OK in 3ms (Views: 0.6ms | ActiveRecord: 0.3ms)
|
602
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'test@example-client.com' ORDER BY "users"."id" ASC LIMIT 1[0m
|
603
|
+
[1m[35m (0.1ms)[0m begin transaction
|
604
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "remotely_signed_out" = ?, "permissions" = ? WHERE "users"."id" = 11[0m [["remotely_signed_out", true], ["permissions", "---\n- signin\n"]]
|
605
|
+
[1m[35m (12.7ms)[0m commit transaction
|
606
|
+
Started GET "/restricted" for 127.0.0.1 at 2014-09-03 16:23:07 +0000
|
607
|
+
Processing by ExampleController#restricted as HTML
|
608
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' ORDER BY "users"."id" ASC LIMIT 1[0m
|
609
|
+
Authenticating with gds_sso strategy
|
610
|
+
Completed in 1ms
|
611
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2014-09-03 16:23:07 +0000
|
612
|
+
Started GET "/auth/gds/callback?code=c61e586a42221b13fbd08d5ce5176769c45cd9cafa60a1ef0d1d7e8c1799ee77&state=1206d827ad7c8a3067b7d1a42dadd0987355ad5f5ce87052" for 127.0.0.1 at 2014-09-03 16:23:07 +0000
|
613
|
+
Processing by AuthenticationsController#callback as HTML
|
614
|
+
Parameters: {"code"=>"c61e586a42221b13fbd08d5ce5176769c45cd9cafa60a1ef0d1d7e8c1799ee77", "state"=>"1206d827ad7c8a3067b7d1a42dadd0987355ad5f5ce87052"}
|
615
|
+
Authenticating with gds_sso strategy
|
616
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
|
617
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
618
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
|
619
|
+
[1m[36m (13.8ms)[0m [1mcommit transaction[0m
|
620
|
+
[1m[35m (0.1ms)[0m begin transaction
|
621
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "remotely_signed_out" = ?, "permissions" = ? WHERE "users"."id" = 11[0m [["remotely_signed_out", false], ["permissions", "---\n- signin\n"]]
|
622
|
+
[1m[35m (12.9ms)[0m commit transaction
|
623
|
+
Redirected to http://www.example-client.com/restricted
|
624
|
+
Completed 302 Found in 34ms (ActiveRecord: 27.6ms)
|
625
|
+
Started GET "/restricted" for 127.0.0.1 at 2014-09-03 16:23:07 +0000
|
626
|
+
Processing by ExampleController#restricted as HTML
|
627
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' ORDER BY "users"."id" ASC LIMIT 1[0m
|
628
|
+
Completed 200 OK in 3ms (Views: 0.5ms | ActiveRecord: 0.3ms)
|
629
|
+
Started GET "/restricted" for 127.0.0.1 at 2014-09-03 16:23:07 +0000
|
630
|
+
Processing by ExampleController#restricted as HTML
|
631
|
+
Authenticating with gds_sso strategy
|
632
|
+
Completed in 0ms
|
633
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2014-09-03 16:23:07 +0000
|
634
|
+
Started GET "/auth/gds/callback?code=8fdaa243920ba110504287e9ffe4fc9887bdb1bfb407fffb5306bd13e12f3327&state=c3f48d8c4c891987f2aadd549065f54ee11e52caaa5d1704" for 127.0.0.1 at 2014-09-03 16:23:07 +0000
|
635
|
+
Processing by AuthenticationsController#callback as HTML
|
636
|
+
Parameters: {"code"=>"8fdaa243920ba110504287e9ffe4fc9887bdb1bfb407fffb5306bd13e12f3327", "state"=>"c3f48d8c4c891987f2aadd549065f54ee11e52caaa5d1704"}
|
637
|
+
Authenticating with gds_sso strategy
|
638
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
|
639
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
640
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
|
641
|
+
[1m[36m (16.5ms)[0m [1mcommit transaction[0m
|
642
|
+
[1m[35m (0.1ms)[0m begin transaction
|
643
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11[0m [["permissions", "---\n- signin\n"]]
|
644
|
+
[1m[35m (14.7ms)[0m commit transaction
|
645
|
+
Redirected to http://www.example-client.com/restricted
|
646
|
+
Completed 302 Found in 38ms (ActiveRecord: 32.0ms)
|
647
|
+
Started GET "/restricted" for 127.0.0.1 at 2014-09-03 16:23:08 +0000
|
648
|
+
Processing by ExampleController#restricted as HTML
|
649
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' ORDER BY "users"."id" ASC LIMIT 1[0m
|
650
|
+
Completed 200 OK in 3ms (Views: 0.5ms | ActiveRecord: 0.3ms)
|
651
|
+
Started GET "/restricted" for 127.0.0.1 at 2014-09-04 12:28:08 +0000
|
652
|
+
Processing by ExampleController#restricted as HTML
|
653
|
+
Authenticating with gds_sso strategy
|
654
|
+
Completed in 1ms
|
655
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2014-09-04 12:28:08 +0000
|
656
|
+
Started GET "/auth/gds/callback?code=450829d1570105aa7e8022061d5aad57e08ce6014a144669a4d7b7b667190602&state=d59097cc21031d1b195c8292236ad9f04d495934106e7aab" for 127.0.0.1 at 2014-09-04 12:28:08 +0000
|
657
|
+
Processing by AuthenticationsController#callback as HTML
|
658
|
+
Parameters: {"code"=>"450829d1570105aa7e8022061d5aad57e08ce6014a144669a4d7b7b667190602", "state"=>"d59097cc21031d1b195c8292236ad9f04d495934106e7aab"}
|
659
|
+
Authenticating with gds_sso strategy
|
660
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
|
661
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
662
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
|
663
|
+
[1m[36m (12.7ms)[0m [1mcommit transaction[0m
|
664
|
+
[1m[35m (0.1ms)[0m begin transaction
|
665
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11[0m [["permissions", "---\n- signin\n"]]
|
666
|
+
[1m[35m (12.4ms)[0m commit transaction
|
667
|
+
Redirected to http://www.example-client.com/restricted
|
668
|
+
Completed 302 Found in 31ms (ActiveRecord: 25.9ms)
|
669
|
+
Started GET "/restricted" for 127.0.0.1 at 2014-09-04 12:28:08 +0000
|
670
|
+
Processing by ExampleController#restricted as HTML
|
671
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' ORDER BY "users"."id" ASC LIMIT 1[0m
|
672
|
+
Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.2ms)
|
673
|
+
Started GET "/restricted" for 127.0.0.1 at 2014-09-03 16:23:08 +0000
|
674
|
+
Processing by ExampleController#restricted as HTML
|
675
|
+
Authenticating with gds_sso strategy
|
676
|
+
Completed in 0ms
|
677
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2014-09-03 16:23:08 +0000
|
678
|
+
Started GET "/auth/gds/callback?code=0fdeeaad558331ed910cd66657c66c555d5af06bc26f40291aab33717d75d3d3&state=ce380fcbb19e3b25ac71beb4f0a3e29a1dc5ac10072e9d65" for 127.0.0.1 at 2014-09-03 16:23:08 +0000
|
679
|
+
Processing by AuthenticationsController#callback as HTML
|
680
|
+
Parameters: {"code"=>"0fdeeaad558331ed910cd66657c66c555d5af06bc26f40291aab33717d75d3d3", "state"=>"ce380fcbb19e3b25ac71beb4f0a3e29a1dc5ac10072e9d65"}
|
681
|
+
Authenticating with gds_sso strategy
|
682
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
|
683
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
684
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
|
685
|
+
[1m[36m (7.8ms)[0m [1mcommit transaction[0m
|
686
|
+
[1m[35m (0.1ms)[0m begin transaction
|
687
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11[0m [["permissions", "---\n- signin\n"]]
|
688
|
+
[1m[35m (9.9ms)[0m commit transaction
|
689
|
+
Redirected to http://www.example-client.com/restricted
|
690
|
+
Completed 302 Found in 23ms (ActiveRecord: 18.3ms)
|
691
|
+
Started GET "/restricted" for 127.0.0.1 at 2014-09-03 16:23:08 +0000
|
692
|
+
Processing by ExampleController#restricted as HTML
|
693
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' ORDER BY "users"."id" ASC LIMIT 1[0m
|
694
|
+
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.2ms)
|
695
|
+
Started GET "/restricted" for 127.0.0.1 at 2014-09-04 12:18:08 +0000
|
696
|
+
Processing by ExampleController#restricted as HTML
|
697
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' ORDER BY "users"."id" ASC LIMIT 1
|
698
|
+
Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.2ms)
|
699
|
+
Started GET "/restricted" for 127.0.0.1 at 2014-09-03 16:23:08 +0000
|
700
|
+
Processing by ExampleController#restricted as JSON
|
701
|
+
Completed in 55ms
|
702
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2014-09-03 16:23:09 +0000
|
703
|
+
Processing by ExampleController#this_requires_signin_permission as JSON
|
704
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1[0m
|
705
|
+
[1m[35m (0.1ms)[0m begin transaction
|
706
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11[0m [["permissions", "---\n- signin\n"]]
|
707
|
+
[1m[35m (6.6ms)[0m commit transaction
|
708
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1[0m
|
709
|
+
[1m[35m (0.1ms)[0m begin transaction
|
710
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11[0m [["permissions", "---\n- signin\n"]]
|
711
|
+
[1m[35m (8.8ms)[0m commit transaction
|
712
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1[0m
|
713
|
+
[1m[35m (0.1ms)[0m begin transaction
|
714
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11[0m [["permissions", "---\n- signin\n"]]
|
715
|
+
[1m[35m (7.8ms)[0m commit transaction
|
716
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1[0m
|
717
|
+
[1m[35m (0.1ms)[0m begin transaction
|
718
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11[0m [["permissions", "---\n- signin\n"]]
|
719
|
+
[1m[35m (17.9ms)[0m commit transaction
|
720
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
721
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
|
722
|
+
[1m[36m (15.9ms)[0m [1mcommit transaction[0m
|
723
|
+
Completed 200 OK in 218ms (Views: 0.4ms | ActiveRecord: 58.8ms)
|
724
|
+
Started GET "/restricted" for 127.0.0.1 at 2014-09-03 16:23:09 +0000
|
725
|
+
Processing by ExampleController#restricted as JSON
|
726
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
|
727
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
728
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
|
729
|
+
[1m[36m (10.6ms)[0m [1mcommit transaction[0m
|
730
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
|
731
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
732
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
|
733
|
+
[1m[36m (13.7ms)[0m [1mcommit transaction[0m
|
734
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
|
735
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
736
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
|
737
|
+
[1m[36m (10.8ms)[0m [1mcommit transaction[0m
|
738
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
|
739
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
740
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
|
741
|
+
[1m[36m (11.9ms)[0m [1mcommit transaction[0m
|
742
|
+
[1m[35m (0.1ms)[0m begin transaction
|
743
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11[0m [["permissions", "---\n- signin\n"]]
|
744
|
+
[1m[35m (12.4ms)[0m commit transaction
|
745
|
+
Completed 200 OK in 228ms (Views: 0.4ms | ActiveRecord: 61.5ms)
|
746
|
+
Started GET "/restricted" for 127.0.0.1 at 2014-09-03 16:23:09 +0000
|
747
|
+
Processing by ExampleController#restricted as JSON
|
748
|
+
Completed in 18ms
|
749
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2014-09-03 16:23:55 +0000
|
750
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
751
|
+
Authenticating with gds_sso strategy
|
752
|
+
Completed in 21ms
|
753
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2014-09-03 16:23:55 +0000
|
754
|
+
Started GET "/auth/gds/callback?code=07562d4b7e4a06328300a9f0475f9a5fc576834c966914e47dc3b19f01aa7778&state=9aee5b0f276fd09785fed17f28d09b82d2e6d998d6ef2fb0" for 127.0.0.1 at 2014-09-03 16:23:57 +0000
|
755
|
+
Processing by AuthenticationsController#callback as HTML
|
756
|
+
Parameters: {"code"=>"07562d4b7e4a06328300a9f0475f9a5fc576834c966914e47dc3b19f01aa7778", "state"=>"9aee5b0f276fd09785fed17f28d09b82d2e6d998d6ef2fb0"}
|
757
|
+
Authenticating with gds_sso strategy
|
758
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1[0m
|
759
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'test@example-client.com' ORDER BY "users"."id" ASC LIMIT 1
|
760
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
761
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("email", "name", "permissions", "uid") VALUES (?, ?, ?, ?) [["email", "test@example-client.com"], ["name", "Test User"], ["permissions", "---\n- signin\n"], ["uid", "integration-uid"]]
|
762
|
+
[1m[36m (12.8ms)[0m [1mcommit transaction[0m
|
763
|
+
[1m[35m (0.1ms)[0m begin transaction
|
764
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "users" SET "permissions" = ?, "remotely_signed_out" = ? WHERE "users"."id" = 1[0m [["permissions", "---\n- signin\n"], ["remotely_signed_out", "f"]]
|
765
|
+
[1m[35m (10.5ms)[0m commit transaction
|
766
|
+
Redirected to http://www.example-client.com/this_requires_signin_permission
|
767
|
+
Completed 302 Found in 120ms (ActiveRecord: 24.9ms)
|
768
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2014-09-03 16:23:57 +0000
|
769
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
770
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' ORDER BY "users"."id" ASC LIMIT 1[0m
|
771
|
+
Rendered text template (0.0ms)
|
772
|
+
Completed 200 OK in 75ms (Views: 72.3ms | ActiveRecord: 0.2ms)
|
773
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2014-09-03 16:23:57 +0000
|
774
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
775
|
+
Authenticating with gds_sso strategy
|
776
|
+
Completed in 0ms
|
777
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2014-09-03 16:23:57 +0000
|
778
|
+
Started GET "/auth/gds/callback?code=35d4fbd47d6f41090cfcc3d3527cbfc4b5d9412251a228d73c05c84e7f170ad7&state=81a37c241261cf3e898349ce3a8f70916c82231136c1d674" for 127.0.0.1 at 2014-09-03 16:23:57 +0000
|
779
|
+
Processing by AuthenticationsController#callback as HTML
|
780
|
+
Parameters: {"code"=>"35d4fbd47d6f41090cfcc3d3527cbfc4b5d9412251a228d73c05c84e7f170ad7", "state"=>"81a37c241261cf3e898349ce3a8f70916c82231136c1d674"}
|
781
|
+
Authenticating with gds_sso strategy
|
782
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
|
783
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
784
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1 [["permissions", "---\n- signin\n"]]
|
785
|
+
[1m[36m (30.5ms)[0m [1mcommit transaction[0m
|
786
|
+
[1m[35m (0.1ms)[0m begin transaction
|
787
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1[0m [["permissions", "---\n- signin\n"]]
|
788
|
+
[1m[35m (28.8ms)[0m commit transaction
|
789
|
+
Redirected to http://www.example-client.com/this_requires_signin_permission
|
790
|
+
Completed 302 Found in 65ms (ActiveRecord: 60.1ms)
|
791
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2014-09-03 16:23:58 +0000
|
792
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
793
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' ORDER BY "users"."id" ASC LIMIT 1[0m
|
794
|
+
Rendered text template (0.0ms)
|
795
|
+
Completed 200 OK in 3ms (Views: 0.6ms | ActiveRecord: 0.2ms)
|
796
|
+
Started GET "/restricted" for 127.0.0.1 at 2014-09-03 16:23:58 +0000
|
797
|
+
Processing by ExampleController#restricted as HTML
|
798
|
+
Authenticating with gds_sso strategy
|
799
|
+
Completed in 0ms
|
800
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2014-09-03 16:23:58 +0000
|
801
|
+
Started GET "/auth/gds/callback?code=ce99065b80f884173b18921a5591a6d8d9819c138f586dcee4b2cf72da23b955&state=697054b1fcdd79e8af58fe28be9cb5378e0221ada736d719" for 127.0.0.1 at 2014-09-03 16:23:58 +0000
|
802
|
+
Processing by AuthenticationsController#callback as HTML
|
803
|
+
Parameters: {"code"=>"ce99065b80f884173b18921a5591a6d8d9819c138f586dcee4b2cf72da23b955", "state"=>"697054b1fcdd79e8af58fe28be9cb5378e0221ada736d719"}
|
804
|
+
Authenticating with gds_sso strategy
|
805
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
|
806
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
807
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1 [["permissions", "---\n- signin\n"]]
|
808
|
+
[1m[36m (21.5ms)[0m [1mcommit transaction[0m
|
809
|
+
[1m[35m (0.1ms)[0m begin transaction
|
810
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1[0m [["permissions", "---\n- signin\n"]]
|
811
|
+
[1m[35m (18.2ms)[0m commit transaction
|
812
|
+
Redirected to http://www.example-client.com/restricted
|
813
|
+
Completed 302 Found in 46ms (ActiveRecord: 40.3ms)
|
814
|
+
Started GET "/restricted" for 127.0.0.1 at 2014-09-03 16:23:58 +0000
|
815
|
+
Processing by ExampleController#restricted as HTML
|
816
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' ORDER BY "users"."id" ASC LIMIT 1[0m
|
817
|
+
Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.2ms)
|
818
|
+
Started GET "/" for 127.0.0.1 at 2014-09-03 16:23:58 +0000
|
819
|
+
Processing by ExampleController#index as HTML
|
820
|
+
Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
|
821
|
+
Started GET "/restricted" for 127.0.0.1 at 2014-09-03 16:23:59 +0000
|
822
|
+
Processing by ExampleController#restricted as HTML
|
823
|
+
Authenticating with gds_sso strategy
|
824
|
+
Completed in 0ms
|
825
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2014-09-03 16:23:59 +0000
|
826
|
+
Started GET "/auth/gds/callback?code=89cb9745e1715c75d821f15649f64c721b3fbc2f875a4cefe33dfd154a2f29e7&state=beac0e7f871da2b402145025fee6c7f7e01f4681f5a6d8f9" for 127.0.0.1 at 2014-09-03 16:23:59 +0000
|
827
|
+
Processing by AuthenticationsController#callback as HTML
|
828
|
+
Parameters: {"code"=>"89cb9745e1715c75d821f15649f64c721b3fbc2f875a4cefe33dfd154a2f29e7", "state"=>"beac0e7f871da2b402145025fee6c7f7e01f4681f5a6d8f9"}
|
829
|
+
Authenticating with gds_sso strategy
|
830
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
|
831
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
832
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1 [["permissions", "---\n- signin\n"]]
|
833
|
+
[1m[36m (12.8ms)[0m [1mcommit transaction[0m
|
834
|
+
[1m[35m (0.1ms)[0m begin transaction
|
835
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1[0m [["permissions", "---\n- signin\n"]]
|
836
|
+
[1m[35m (16.7ms)[0m commit transaction
|
837
|
+
Redirected to http://www.example-client.com/restricted
|
838
|
+
Completed 302 Found in 36ms (ActiveRecord: 30.2ms)
|
839
|
+
Started GET "/restricted" for 127.0.0.1 at 2014-09-03 16:23:59 +0000
|
840
|
+
Processing by ExampleController#restricted as HTML
|
841
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' ORDER BY "users"."id" ASC LIMIT 1[0m
|
842
|
+
Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.2ms)
|
843
|
+
Started GET "/restricted" for 127.0.0.1 at 2014-09-03 16:23:59 +0000
|
844
|
+
Processing by ExampleController#restricted as HTML
|
845
|
+
Authenticating with gds_sso strategy
|
846
|
+
Completed in 0ms
|
847
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2014-09-03 16:23:59 +0000
|
848
|
+
Started GET "/auth/gds/callback?code=07d42dd0332d8f406f9f3afc1418a98bebbce4f511e131aef1a61f1540b29b10&state=3a5137abfdb7f8be9dd8939cdb7f7d13212580912d1b1c37" for 127.0.0.1 at 2014-09-03 16:23:59 +0000
|
849
|
+
Processing by AuthenticationsController#callback as HTML
|
850
|
+
Parameters: {"code"=>"07d42dd0332d8f406f9f3afc1418a98bebbce4f511e131aef1a61f1540b29b10", "state"=>"3a5137abfdb7f8be9dd8939cdb7f7d13212580912d1b1c37"}
|
851
|
+
Authenticating with gds_sso strategy
|
852
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
|
853
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
854
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1 [["permissions", "---\n- signin\n"]]
|
855
|
+
[1m[36m (15.4ms)[0m [1mcommit transaction[0m
|
856
|
+
[1m[35m (0.1ms)[0m begin transaction
|
857
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1[0m [["permissions", "---\n- signin\n"]]
|
858
|
+
[1m[35m (12.9ms)[0m commit transaction
|
859
|
+
Redirected to http://www.example-client.com/restricted
|
860
|
+
Completed 302 Found in 34ms (ActiveRecord: 29.0ms)
|
861
|
+
Started GET "/restricted" for 127.0.0.1 at 2014-09-03 16:23:59 +0000
|
862
|
+
Processing by ExampleController#restricted as HTML
|
863
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' ORDER BY "users"."id" ASC LIMIT 1[0m
|
864
|
+
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.2ms)
|
865
|
+
Started GET "/restricted" for 127.0.0.1 at 2014-09-03 16:24:00 +0000
|
866
|
+
Processing by ExampleController#restricted as HTML
|
867
|
+
Authenticating with gds_sso strategy
|
868
|
+
Completed in 1ms
|
869
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2014-09-03 16:24:00 +0000
|
870
|
+
Started GET "/auth/gds/callback?code=f17796f9cdd2cf92e908dba6a9c313d216cf93fc33915bec0a10c34ad5c8c6e3&state=3d6a7ee364e9bbeb8dac03e829dc3e9334184f1ace204918" for 127.0.0.1 at 2014-09-03 16:24:00 +0000
|
871
|
+
Processing by AuthenticationsController#callback as HTML
|
872
|
+
Parameters: {"code"=>"f17796f9cdd2cf92e908dba6a9c313d216cf93fc33915bec0a10c34ad5c8c6e3", "state"=>"3d6a7ee364e9bbeb8dac03e829dc3e9334184f1ace204918"}
|
873
|
+
Authenticating with gds_sso strategy
|
874
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
|
875
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
876
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1 [["permissions", "---\n- signin\n"]]
|
877
|
+
[1m[36m (9.0ms)[0m [1mcommit transaction[0m
|
878
|
+
[1m[35m (0.1ms)[0m begin transaction
|
879
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1[0m [["permissions", "---\n- signin\n"]]
|
880
|
+
[1m[35m (9.0ms)[0m commit transaction
|
881
|
+
Redirected to http://www.example-client.com/restricted
|
882
|
+
Completed 302 Found in 25ms (ActiveRecord: 18.9ms)
|
883
|
+
Started GET "/restricted" for 127.0.0.1 at 2014-09-03 16:24:00 +0000
|
884
|
+
Processing by ExampleController#restricted as HTML
|
885
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' ORDER BY "users"."id" ASC LIMIT 1[0m
|
886
|
+
Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.2ms)
|
887
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'test@example-client.com' ORDER BY "users"."id" ASC LIMIT 1
|
888
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
889
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "permissions" = ?, "remotely_signed_out" = ? WHERE "users"."id" = 1 [["permissions", "---\n- signin\n"], ["remotely_signed_out", "t"]]
|
890
|
+
[1m[36m (14.3ms)[0m [1mcommit transaction[0m
|
891
|
+
Started GET "/restricted" for 127.0.0.1 at 2014-09-03 16:24:00 +0000
|
892
|
+
Processing by ExampleController#restricted as HTML
|
893
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' ORDER BY "users"."id" ASC LIMIT 1
|
894
|
+
Authenticating with gds_sso strategy
|
895
|
+
Completed in 1ms
|
896
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2014-09-03 16:24:00 +0000
|
897
|
+
Started GET "/auth/gds/callback?code=e9ee36b0dc2a65d0bbbad4523b6d865ea38ab29ba046a9d87bdb58762f455c40&state=b11ca64c09612dfd2e5caa033f9baf3fcc0d11bb96648567" for 127.0.0.1 at 2014-09-03 16:24:01 +0000
|
898
|
+
Processing by AuthenticationsController#callback as HTML
|
899
|
+
Parameters: {"code"=>"e9ee36b0dc2a65d0bbbad4523b6d865ea38ab29ba046a9d87bdb58762f455c40", "state"=>"b11ca64c09612dfd2e5caa033f9baf3fcc0d11bb96648567"}
|
900
|
+
Authenticating with gds_sso strategy
|
901
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1[0m
|
902
|
+
[1m[35m (0.1ms)[0m begin transaction
|
903
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1[0m [["permissions", "---\n- signin\n"]]
|
904
|
+
[1m[35m (11.1ms)[0m commit transaction
|
905
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
906
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "permissions" = ?, "remotely_signed_out" = ? WHERE "users"."id" = 1 [["permissions", "---\n- signin\n"], ["remotely_signed_out", "f"]]
|
907
|
+
[1m[36m (14.9ms)[0m [1mcommit transaction[0m
|
908
|
+
Redirected to http://www.example-client.com/restricted
|
909
|
+
Completed 302 Found in 31ms (ActiveRecord: 26.6ms)
|
910
|
+
Started GET "/restricted" for 127.0.0.1 at 2014-09-03 16:24:01 +0000
|
911
|
+
Processing by ExampleController#restricted as HTML
|
912
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' ORDER BY "users"."id" ASC LIMIT 1
|
913
|
+
Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.2ms)
|
914
|
+
Started GET "/restricted" for 127.0.0.1 at 2014-09-03 16:24:01 +0000
|
915
|
+
Processing by ExampleController#restricted as HTML
|
916
|
+
Authenticating with gds_sso strategy
|
917
|
+
Completed in 1ms
|
918
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2014-09-03 16:24:01 +0000
|
919
|
+
Started GET "/auth/gds/callback?code=0092b20c5805a214236ccb949ec1a58b5ae6046b154e562e6ca4788edd3b38d0&state=e045838209aec5b06df9ef90727a00a08ffb8b7f1961137f" for 127.0.0.1 at 2014-09-03 16:24:01 +0000
|
920
|
+
Processing by AuthenticationsController#callback as HTML
|
921
|
+
Parameters: {"code"=>"0092b20c5805a214236ccb949ec1a58b5ae6046b154e562e6ca4788edd3b38d0", "state"=>"e045838209aec5b06df9ef90727a00a08ffb8b7f1961137f"}
|
922
|
+
Authenticating with gds_sso strategy
|
923
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1[0m
|
924
|
+
[1m[35m (0.1ms)[0m begin transaction
|
925
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1[0m [["permissions", "---\n- signin\n"]]
|
926
|
+
[1m[35m (12.1ms)[0m commit transaction
|
927
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
928
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1 [["permissions", "---\n- signin\n"]]
|
929
|
+
[1m[36m (10.3ms)[0m [1mcommit transaction[0m
|
930
|
+
Redirected to http://www.example-client.com/restricted
|
931
|
+
Completed 302 Found in 28ms (ActiveRecord: 23.2ms)
|
932
|
+
Started GET "/restricted" for 127.0.0.1 at 2014-09-03 16:24:01 +0000
|
933
|
+
Processing by ExampleController#restricted as HTML
|
934
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' ORDER BY "users"."id" ASC LIMIT 1
|
935
|
+
Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.2ms)
|
936
|
+
Started GET "/restricted" for 127.0.0.1 at 2014-09-04 12:29:01 +0000
|
937
|
+
Processing by ExampleController#restricted as HTML
|
938
|
+
Authenticating with gds_sso strategy
|
939
|
+
Completed in 1ms
|
940
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2014-09-04 12:29:01 +0000
|
941
|
+
Started GET "/auth/gds/callback?code=a8cc0d1f2cf2cfd01bd8e77eb35670d157cb55638d1e31abb902e34a9107428a&state=f52ffd98fe66f4c43713d3b19e8ae6fb1a7a49c9fa06b4e2" for 127.0.0.1 at 2014-09-04 12:29:01 +0000
|
942
|
+
Processing by AuthenticationsController#callback as HTML
|
943
|
+
Parameters: {"code"=>"a8cc0d1f2cf2cfd01bd8e77eb35670d157cb55638d1e31abb902e34a9107428a", "state"=>"f52ffd98fe66f4c43713d3b19e8ae6fb1a7a49c9fa06b4e2"}
|
944
|
+
Authenticating with gds_sso strategy
|
945
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1[0m
|
946
|
+
[1m[35m (0.1ms)[0m begin transaction
|
947
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1[0m [["permissions", "---\n- signin\n"]]
|
948
|
+
[1m[35m (20.8ms)[0m commit transaction
|
949
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
950
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1 [["permissions", "---\n- signin\n"]]
|
951
|
+
[1m[36m (13.4ms)[0m [1mcommit transaction[0m
|
952
|
+
Redirected to http://www.example-client.com/restricted
|
953
|
+
Completed 302 Found in 40ms (ActiveRecord: 35.0ms)
|
954
|
+
Started GET "/restricted" for 127.0.0.1 at 2014-09-04 12:29:01 +0000
|
955
|
+
Processing by ExampleController#restricted as HTML
|
956
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' ORDER BY "users"."id" ASC LIMIT 1
|
957
|
+
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.2ms)
|
958
|
+
Started GET "/restricted" for 127.0.0.1 at 2014-09-03 16:24:02 +0000
|
959
|
+
Processing by ExampleController#restricted as HTML
|
960
|
+
Authenticating with gds_sso strategy
|
961
|
+
Completed in 0ms
|
962
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2014-09-03 16:24:02 +0000
|
963
|
+
Started GET "/auth/gds/callback?code=d7e5fe6339f08ac8ba7d58368dfb1015f49ecf7ac605eadc416673aa290eff94&state=725dc6d1a6646e3e467baf1eb377d45cf45abbae40efeb56" for 127.0.0.1 at 2014-09-03 16:24:02 +0000
|
964
|
+
Processing by AuthenticationsController#callback as HTML
|
965
|
+
Parameters: {"code"=>"d7e5fe6339f08ac8ba7d58368dfb1015f49ecf7ac605eadc416673aa290eff94", "state"=>"725dc6d1a6646e3e467baf1eb377d45cf45abbae40efeb56"}
|
966
|
+
Authenticating with gds_sso strategy
|
967
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1[0m
|
968
|
+
[1m[35m (0.1ms)[0m begin transaction
|
969
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1[0m [["permissions", "---\n- signin\n"]]
|
970
|
+
[1m[35m (12.9ms)[0m commit transaction
|
971
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
972
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1 [["permissions", "---\n- signin\n"]]
|
973
|
+
[1m[36m (13.7ms)[0m [1mcommit transaction[0m
|
974
|
+
Redirected to http://www.example-client.com/restricted
|
975
|
+
Completed 302 Found in 33ms (ActiveRecord: 27.3ms)
|
976
|
+
Started GET "/restricted" for 127.0.0.1 at 2014-09-03 16:24:02 +0000
|
977
|
+
Processing by ExampleController#restricted as HTML
|
978
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' ORDER BY "users"."id" ASC LIMIT 1
|
979
|
+
Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.2ms)
|
980
|
+
Started GET "/restricted" for 127.0.0.1 at 2014-09-04 12:19:02 +0000
|
981
|
+
Processing by ExampleController#restricted as HTML
|
982
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' ORDER BY "users"."id" ASC LIMIT 1[0m
|
983
|
+
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.2ms)
|
984
|
+
Started GET "/restricted" for 127.0.0.1 at 2014-09-03 16:24:02 +0000
|
985
|
+
Processing by ExampleController#restricted as JSON
|
986
|
+
Completed in 22ms
|
987
|
+
Started GET "/restricted" for 127.0.0.1 at 2014-09-03 16:24:02 +0000
|
988
|
+
Processing by ExampleController#restricted as JSON
|
989
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
|
990
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
991
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1 [["permissions", "---\n- signin\n"]]
|
992
|
+
[1m[36m (12.3ms)[0m [1mcommit transaction[0m
|
993
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
|
994
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
995
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1 [["permissions", "---\n- signin\n"]]
|
996
|
+
[1m[36m (9.5ms)[0m [1mcommit transaction[0m
|
997
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
|
998
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
999
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1 [["permissions", "---\n- signin\n"]]
|
1000
|
+
[1m[36m (9.7ms)[0m [1mcommit transaction[0m
|
1001
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
|
1002
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1003
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1 [["permissions", "---\n- signin\n"]]
|
1004
|
+
[1m[36m (9.5ms)[0m [1mcommit transaction[0m
|
1005
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1006
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1[0m [["permissions", "---\n- signin\n"]]
|
1007
|
+
[1m[35m (8.4ms)[0m commit transaction
|
1008
|
+
Completed 200 OK in 204ms (Views: 0.5ms | ActiveRecord: 51.4ms)
|
1009
|
+
Started GET "/restricted" for 127.0.0.1 at 2014-09-03 16:24:03 +0000
|
1010
|
+
Processing by ExampleController#restricted as JSON
|
1011
|
+
Completed in 13ms
|
1012
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2014-09-03 16:24:03 +0000
|
1013
|
+
Processing by ExampleController#this_requires_signin_permission as JSON
|
1014
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1[0m
|
1015
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1016
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1[0m [["permissions", "---\n- signin\n"]]
|
1017
|
+
[1m[35m (15.7ms)[0m commit transaction
|
1018
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1[0m
|
1019
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1020
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1[0m [["permissions", "---\n- signin\n"]]
|
1021
|
+
[1m[35m (8.9ms)[0m commit transaction
|
1022
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1[0m
|
1023
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1024
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1[0m [["permissions", "---\n- signin\n"]]
|
1025
|
+
[1m[35m (12.9ms)[0m commit transaction
|
1026
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1[0m
|
1027
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1028
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1[0m [["permissions", "---\n- signin\n"]]
|
1029
|
+
[1m[35m (10.3ms)[0m commit transaction
|
1030
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1031
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1 [["permissions", "---\n- signin\n"]]
|
1032
|
+
[1m[36m (12.5ms)[0m [1mcommit transaction[0m
|
1033
|
+
Completed 200 OK in 279ms (Views: 0.5ms | ActiveRecord: 62.3ms)
|
1034
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1035
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("email", "name", "permissions", "uid") VALUES (?, ?, ?, ?)[0m [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"], ["uid", "a1s2d33067"]]
|
1036
|
+
[1m[35m (18.4ms)[0m commit transaction
|
1037
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1038
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("email", "name", "permissions", "uid") VALUES (?, ?, ?, ?) [["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"], ["uid", "a1s2d3744"]]
|
1039
|
+
[1m[36m (10.6ms)[0m [1mcommit transaction[0m
|
1040
|
+
Processing by Api::UserController#update as HTML
|
1041
|
+
Parameters: {"uid"=>"a1s2d33067"}
|
1042
|
+
Completed 403 Forbidden in 4ms (Views: 3.2ms | ActiveRecord: 0.0ms)
|
1043
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1044
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("email", "name", "permissions", "uid") VALUES (?, ?, ?, ?)[0m [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"], ["uid", "a1s2d36884"]]
|
1045
|
+
[1m[35m (10.2ms)[0m commit transaction
|
1046
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1047
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("email", "name", "permissions", "uid") VALUES (?, ?, ?, ?) [["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"], ["uid", "a1s2d381"]]
|
1048
|
+
[1m[36m (15.3ms)[0m [1mcommit transaction[0m
|
1049
|
+
Processing by Api::UserController#update as HTML
|
1050
|
+
Parameters: {"uid"=>"a1s2d36884"}
|
1051
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'a1s2d36884' ORDER BY "users"."id" ASC LIMIT 1
|
1052
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1053
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "email" = ?, "name" = ?, "organisation_slug" = ?, "permissions" = ? WHERE "users"."id" = 4 [["email", "user@domain.com"], ["name", "Joshua Marshall"], ["organisation_slug", "justice-league"], ["permissions", "---\n- signin\n- new permission\n"]]
|
1054
|
+
[1m[36m (13.9ms)[0m [1mcommit transaction[0m
|
1055
|
+
Completed 200 OK in 18ms (ActiveRecord: 14.4ms)
|
1056
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]]
|
1057
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1058
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("email", "name", "permissions", "uid") VALUES (?, ?, ?, ?) [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"], ["uid", "a1s2d35753"]]
|
1059
|
+
[1m[36m (12.9ms)[0m [1mcommit transaction[0m
|
1060
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1061
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("email", "name", "permissions", "uid") VALUES (?, ?, ?, ?)[0m [["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"], ["uid", "a1s2d33729"]]
|
1062
|
+
[1m[35m (27.9ms)[0m commit transaction
|
1063
|
+
Processing by Api::UserController#reauth as HTML
|
1064
|
+
Parameters: {"uid"=>"a1s2d35753"}
|
1065
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'a1s2d35753' ORDER BY "users"."id" ASC LIMIT 1[0m
|
1066
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1067
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "permissions" = ?, "remotely_signed_out" = ? WHERE "users"."id" = 6[0m [["permissions", "---\n- signin\n"], ["remotely_signed_out", "t"]]
|
1068
|
+
[1m[35m (10.8ms)[0m commit transaction
|
1069
|
+
Completed 200 OK in 14ms (ActiveRecord: 11.2ms)
|
1070
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 6]]
|
1071
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1072
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("email", "name", "permissions", "uid") VALUES (?, ?, ?, ?)[0m [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"], ["uid", "a1s2d3263"]]
|
1073
|
+
[1m[35m (27.7ms)[0m commit transaction
|
1074
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1075
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("email", "name", "permissions", "uid") VALUES (?, ?, ?, ?) [["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"], ["uid", "a1s2d33844"]]
|
1076
|
+
[1m[36m (22.7ms)[0m [1mcommit transaction[0m
|
1077
|
+
Processing by Api::UserController#reauth as HTML
|
1078
|
+
Parameters: {"uid"=>"nonexistent-user"}
|
1079
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'nonexistent-user' ORDER BY "users"."id" ASC LIMIT 1
|
1080
|
+
Completed 200 OK in 1ms (ActiveRecord: 0.2ms)
|
1081
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1082
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("email", "name", "permissions", "uid") VALUES (?, ?, ?, ?) [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"], ["uid", "a1s2d33361"]]
|
1083
|
+
[1m[36m (12.2ms)[0m [1mcommit transaction[0m
|
1084
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1085
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("email", "name", "permissions", "uid") VALUES (?, ?, ?, ?)[0m [["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"], ["uid", "a1s2d34004"]]
|
1086
|
+
[1m[35m (11.2ms)[0m commit transaction
|
1087
|
+
Processing by Api::UserController#reauth as HTML
|
1088
|
+
Parameters: {"uid"=>"a1s2d33361"}
|
1089
|
+
Completed 403 Forbidden in 2ms (Views: 1.0ms | ActiveRecord: 0.0ms)
|
1090
|
+
Connecting to database specified by database.yml
|
1091
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1092
|
+
[1m[35mSQL (12.3ms)[0m INSERT INTO "users" ("email", "name", "organisation_slug", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?, ?) [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["organisation_slug", nil], ["permissions", "---\n- signin\n"], ["remotely_signed_out", nil], ["uid", "a1s2d36591"]]
|
1093
|
+
[1m[36m (22.2ms)[0m [1mcommit transaction[0m
|
1094
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1095
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("email", "name", "organisation_slug", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?, ?)[0m [["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["organisation_slug", nil], ["permissions", "---\n- signin\n- user_update_permission\n"], ["remotely_signed_out", nil], ["uid", "a1s2d33443"]]
|
1096
|
+
[1m[35m (22.4ms)[0m commit transaction
|
1097
|
+
WARNING: Can't mass-assign protected attributes: uid, name, permissions
|
1098
|
+
Processing by Api::UserController#update as HTML
|
1099
|
+
Parameters: {"uid"=>"a1s2d36591"}
|
1100
|
+
Rendered /home/jenkins/workspace/govuk_gds_sso/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.3ms)
|
1101
|
+
Completed 403 Forbidden in 6.7ms (Views: 6.1ms | ActiveRecord: 0.0ms)
|
1102
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1103
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("email", "name", "organisation_slug", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?, ?) [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["organisation_slug", nil], ["permissions", "---\n- signin\n"], ["remotely_signed_out", nil], ["uid", "a1s2d34245"]]
|
1104
|
+
[1m[36m (17.5ms)[0m [1mcommit transaction[0m
|
1105
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1106
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("email", "name", "organisation_slug", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?, ?)[0m [["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["organisation_slug", nil], ["permissions", "---\n- signin\n- user_update_permission\n"], ["remotely_signed_out", nil], ["uid", "a1s2d32564"]]
|
1107
|
+
[1m[35m (11.8ms)[0m commit transaction
|
1108
|
+
Processing by Api::UserController#update as HTML
|
1109
|
+
Parameters: {"uid"=>"a1s2d34245"}
|
1110
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'a1s2d34245' LIMIT 1[0m
|
1111
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1112
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "users" SET "email" = 'user@domain.com', "name" = 'Joshua Marshall', "permissions" = '---
|
1113
|
+
- signin
|
1114
|
+
- new permission
|
1115
|
+
', "organisation_slug" = 'justice-league' WHERE "users"."id" = 3[0m
|
1116
|
+
[1m[35m (16.4ms)[0m commit transaction
|
1117
|
+
Completed 200 OK in 22.6ms (ActiveRecord: 16.8ms)
|
1118
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 3]]
|
1119
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1120
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("email", "name", "organisation_slug", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?, ?)[0m [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["organisation_slug", nil], ["permissions", "---\n- signin\n"], ["remotely_signed_out", nil], ["uid", "a1s2d38521"]]
|
1121
|
+
[1m[35m (12.0ms)[0m commit transaction
|
1122
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1123
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("email", "name", "organisation_slug", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?, ?) [["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["organisation_slug", nil], ["permissions", "---\n- signin\n- user_update_permission\n"], ["remotely_signed_out", nil], ["uid", "a1s2d34402"]]
|
1124
|
+
[1m[36m (11.4ms)[0m [1mcommit transaction[0m
|
1125
|
+
WARNING: Can't mass-assign protected attributes: uid, name, permissions
|
1126
|
+
Processing by Api::UserController#reauth as HTML
|
1127
|
+
Parameters: {"uid"=>"a1s2d38521"}
|
1128
|
+
Completed 403 Forbidden in 1.5ms (Views: 0.9ms | ActiveRecord: 0.0ms)
|
1129
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1130
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("email", "name", "organisation_slug", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?, ?)[0m [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["organisation_slug", nil], ["permissions", "---\n- signin\n"], ["remotely_signed_out", nil], ["uid", "a1s2d39168"]]
|
1131
|
+
[1m[35m (10.9ms)[0m commit transaction
|
1132
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1133
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("email", "name", "organisation_slug", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?, ?) [["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["organisation_slug", nil], ["permissions", "---\n- signin\n- user_update_permission\n"], ["remotely_signed_out", nil], ["uid", "a1s2d31545"]]
|
1134
|
+
[1m[36m (10.0ms)[0m [1mcommit transaction[0m
|
1135
|
+
Processing by Api::UserController#reauth as HTML
|
1136
|
+
Parameters: {"uid"=>"nonexistent-user"}
|
1137
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'nonexistent-user' LIMIT 1
|
1138
|
+
Completed 200 OK in 1.0ms (ActiveRecord: 0.2ms)
|
1139
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1140
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("email", "name", "organisation_slug", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?, ?) [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["organisation_slug", nil], ["permissions", "---\n- signin\n"], ["remotely_signed_out", nil], ["uid", "a1s2d36285"]]
|
1141
|
+
[1m[36m (12.0ms)[0m [1mcommit transaction[0m
|
1142
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1143
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("email", "name", "organisation_slug", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?, ?)[0m [["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["organisation_slug", nil], ["permissions", "---\n- signin\n- user_update_permission\n"], ["remotely_signed_out", nil], ["uid", "a1s2d34931"]]
|
1144
|
+
[1m[35m (14.6ms)[0m commit transaction
|
1145
|
+
Processing by Api::UserController#reauth as HTML
|
1146
|
+
Parameters: {"uid"=>"a1s2d36285"}
|
1147
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'a1s2d36285' LIMIT 1[0m
|
1148
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1149
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "users" SET "remotely_signed_out" = 't', "permissions" = '---
|
1150
|
+
- signin
|
1151
|
+
' WHERE "users"."id" = 9[0m
|
1152
|
+
[1m[35m (12.5ms)[0m commit transaction
|
1153
|
+
Completed 200 OK in 15.0ms (ActiveRecord: 12.8ms)
|
1154
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 9]]
|
1155
|
+
Started GET "/" for 127.0.0.1 at 2014-09-03 16:24:22 +0000
|
1156
|
+
Processing by ExampleController#index as HTML
|
1157
|
+
Completed 200 OK in 1.9ms (Views: 1.5ms | ActiveRecord: 0.0ms)
|
1158
|
+
Started GET "/restricted" for 127.0.0.1 at 2014-09-03 16:24:23 +0000
|
1159
|
+
Processing by ExampleController#restricted as HTML
|
1160
|
+
Authenticating with gds_sso strategy
|
1161
|
+
Completed in 2.6ms
|
1162
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2014-09-03 16:24:23 +0000
|
1163
|
+
Started GET "/auth/gds/callback?code=049128b9505521dc3198c97b1280a6ec791faac433cf860bb32ec7d82b46ab3a&state=ab21cc7555bd917873fad3fa7a39cc53b17a1fb976ddd398" for 127.0.0.1 at 2014-09-03 16:24:23 +0000
|
1164
|
+
Processing by AuthenticationsController#callback as HTML
|
1165
|
+
Parameters: {"code"=>"049128b9505521dc3198c97b1280a6ec791faac433cf860bb32ec7d82b46ab3a", "state"=>"ab21cc7555bd917873fad3fa7a39cc53b17a1fb976ddd398"}
|
1166
|
+
Authenticating with gds_sso strategy
|
1167
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
1168
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'test@example-client.com' LIMIT 1[0m
|
1169
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1170
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("email", "name", "organisation_slug", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?, ?)[0m [["email", "test@example-client.com"], ["name", "Test User"], ["organisation_slug", nil], ["permissions", "---\n- signin\n"], ["remotely_signed_out", nil], ["uid", "integration-uid"]]
|
1171
|
+
[1m[35m (10.1ms)[0m commit transaction
|
1172
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1173
|
+
[1m[35m (0.2ms)[0m UPDATE "users" SET "remotely_signed_out" = 'f', "permissions" = '---
|
1174
|
+
- signin
|
1175
|
+
' WHERE "users"."id" = 11
|
1176
|
+
[1m[36m (8.2ms)[0m [1mcommit transaction[0m
|
1177
|
+
Redirected to http://www.example-client.com/restricted
|
1178
|
+
Completed 302 Found in 24.8ms (ActiveRecord: 18.9ms)
|
1179
|
+
Started GET "/restricted" for 127.0.0.1 at 2014-09-03 16:24:23 +0000
|
1180
|
+
Processing by ExampleController#restricted as HTML
|
1181
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' LIMIT 1
|
1182
|
+
Completed 200 OK in 1.6ms (Views: 0.4ms | ActiveRecord: 0.2ms)
|
1183
|
+
Started GET "/restricted" for 127.0.0.1 at 2014-09-03 16:24:23 +0000
|
1184
|
+
Processing by ExampleController#restricted as HTML
|
1185
|
+
Authenticating with gds_sso strategy
|
1186
|
+
Completed in 0.3ms
|
1187
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2014-09-03 16:24:23 +0000
|
1188
|
+
Started GET "/auth/gds/callback?code=cb6168779f21e1ae0507ce5ec0ce3be7d3ba17dd05954f2c074eb3804337645a&state=6969c090136c3ae432e119aa0655152e820d6ec3bb7fc14f" for 127.0.0.1 at 2014-09-03 16:24:24 +0000
|
1189
|
+
Processing by AuthenticationsController#callback as HTML
|
1190
|
+
Parameters: {"code"=>"cb6168779f21e1ae0507ce5ec0ce3be7d3ba17dd05954f2c074eb3804337645a", "state"=>"6969c090136c3ae432e119aa0655152e820d6ec3bb7fc14f"}
|
1191
|
+
Authenticating with gds_sso strategy
|
1192
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
1193
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1194
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
1195
|
+
- signin
|
1196
|
+
' WHERE "users"."id" = 11[0m
|
1197
|
+
[1m[35m (22.2ms)[0m commit transaction
|
1198
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1199
|
+
[1m[35m (0.2ms)[0m UPDATE "users" SET "permissions" = '---
|
1200
|
+
- signin
|
1201
|
+
' WHERE "users"."id" = 11
|
1202
|
+
[1m[36m (22.4ms)[0m [1mcommit transaction[0m
|
1203
|
+
Redirected to http://www.example-client.com/restricted
|
1204
|
+
Completed 302 Found in 50.7ms (ActiveRecord: 45.4ms)
|
1205
|
+
Started GET "/restricted" for 127.0.0.1 at 2014-09-03 16:24:24 +0000
|
1206
|
+
Processing by ExampleController#restricted as HTML
|
1207
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' LIMIT 1
|
1208
|
+
Completed 200 OK in 1.6ms (Views: 0.4ms | ActiveRecord: 0.2ms)
|
1209
|
+
Started GET "/restricted" for 127.0.0.1 at 2014-09-03 16:24:24 +0000
|
1210
|
+
Processing by ExampleController#restricted as HTML
|
1211
|
+
Authenticating with gds_sso strategy
|
1212
|
+
Completed in 0.2ms
|
1213
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2014-09-03 16:24:24 +0000
|
1214
|
+
Started GET "/auth/gds/callback?code=7f14e7c7739affebe4ca7b0535caeac4e026c09ccc1a2eb9d3a1002e04d2f177&state=c583c8001e465b1080b08504a0911847ef64edc3b8c971db" for 127.0.0.1 at 2014-09-03 16:24:24 +0000
|
1215
|
+
Processing by AuthenticationsController#callback as HTML
|
1216
|
+
Parameters: {"code"=>"7f14e7c7739affebe4ca7b0535caeac4e026c09ccc1a2eb9d3a1002e04d2f177", "state"=>"c583c8001e465b1080b08504a0911847ef64edc3b8c971db"}
|
1217
|
+
Authenticating with gds_sso strategy
|
1218
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
1219
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1220
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
1221
|
+
- signin
|
1222
|
+
' WHERE "users"."id" = 11[0m
|
1223
|
+
[1m[35m (17.9ms)[0m commit transaction
|
1224
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1225
|
+
[1m[35m (0.2ms)[0m UPDATE "users" SET "permissions" = '---
|
1226
|
+
- signin
|
1227
|
+
' WHERE "users"."id" = 11
|
1228
|
+
[1m[36m (19.5ms)[0m [1mcommit transaction[0m
|
1229
|
+
Redirected to http://www.example-client.com/restricted
|
1230
|
+
Completed 302 Found in 42.9ms (ActiveRecord: 38.2ms)
|
1231
|
+
Started GET "/restricted" for 127.0.0.1 at 2014-09-03 16:24:24 +0000
|
1232
|
+
Processing by ExampleController#restricted as HTML
|
1233
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' LIMIT 1
|
1234
|
+
Completed 200 OK in 1.3ms (Views: 0.2ms | ActiveRecord: 0.2ms)
|
1235
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2014-09-03 16:24:24 +0000
|
1236
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
1237
|
+
Authenticating with gds_sso strategy
|
1238
|
+
Completed in 0.6ms
|
1239
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2014-09-03 16:24:24 +0000
|
1240
|
+
Started GET "/auth/gds/callback?code=907b05f3cd27426b709220eb2f4a7560d300dd752c538e9c7ae82d514533ba9b&state=66b8a4232e98659ae9b17bbd6b6839a76bd692941aeec29f" for 127.0.0.1 at 2014-09-03 16:24:24 +0000
|
1241
|
+
Processing by AuthenticationsController#callback as HTML
|
1242
|
+
Parameters: {"code"=>"907b05f3cd27426b709220eb2f4a7560d300dd752c538e9c7ae82d514533ba9b", "state"=>"66b8a4232e98659ae9b17bbd6b6839a76bd692941aeec29f"}
|
1243
|
+
Authenticating with gds_sso strategy
|
1244
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
1245
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1246
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
1247
|
+
- signin
|
1248
|
+
' WHERE "users"."id" = 11[0m
|
1249
|
+
[1m[35m (12.5ms)[0m commit transaction
|
1250
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1251
|
+
[1m[35m (0.2ms)[0m UPDATE "users" SET "permissions" = '---
|
1252
|
+
- signin
|
1253
|
+
' WHERE "users"."id" = 11
|
1254
|
+
[1m[36m (6.6ms)[0m [1mcommit transaction[0m
|
1255
|
+
Redirected to http://www.example-client.com/this_requires_signin_permission
|
1256
|
+
Completed 302 Found in 24.4ms (ActiveRecord: 19.7ms)
|
1257
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2014-09-03 16:24:25 +0000
|
1258
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
1259
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' LIMIT 1
|
1260
|
+
Completed 200 OK in 1.9ms (Views: 0.4ms | ActiveRecord: 0.3ms)
|
1261
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2014-09-03 16:24:25 +0000
|
1262
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
1263
|
+
Authenticating with gds_sso strategy
|
1264
|
+
Completed in 0.2ms
|
1265
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2014-09-03 16:24:25 +0000
|
1266
|
+
Started GET "/auth/gds/callback?code=2dfe11eb90f9f53a53b3896bb324d69f4aa15f1ab78dacefcd0e546aafbc1eac&state=66007160269c5639731712be4bbe53648ce9722f8dae9c37" for 127.0.0.1 at 2014-09-03 16:24:25 +0000
|
1267
|
+
Processing by AuthenticationsController#callback as HTML
|
1268
|
+
Parameters: {"code"=>"2dfe11eb90f9f53a53b3896bb324d69f4aa15f1ab78dacefcd0e546aafbc1eac", "state"=>"66007160269c5639731712be4bbe53648ce9722f8dae9c37"}
|
1269
|
+
Authenticating with gds_sso strategy
|
1270
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
1271
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1272
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
1273
|
+
- signin
|
1274
|
+
' WHERE "users"."id" = 11[0m
|
1275
|
+
[1m[35m (12.2ms)[0m commit transaction
|
1276
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1277
|
+
[1m[35m (0.2ms)[0m UPDATE "users" SET "permissions" = '---
|
1278
|
+
- signin
|
1279
|
+
' WHERE "users"."id" = 11
|
1280
|
+
[1m[36m (5.9ms)[0m [1mcommit transaction[0m
|
1281
|
+
Redirected to http://www.example-client.com/this_requires_signin_permission
|
1282
|
+
Completed 302 Found in 23.4ms (ActiveRecord: 18.7ms)
|
1283
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2014-09-03 16:24:25 +0000
|
1284
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
1285
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' LIMIT 1
|
1286
|
+
Completed 200 OK in 1.4ms (Views: 0.2ms | ActiveRecord: 0.2ms)
|
1287
|
+
Started GET "/restricted" for 127.0.0.1 at 2014-09-03 16:24:25 +0000
|
1288
|
+
Processing by ExampleController#restricted as HTML
|
1289
|
+
Authenticating with gds_sso strategy
|
1290
|
+
Completed in 0.3ms
|
1291
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2014-09-03 16:24:25 +0000
|
1292
|
+
Started GET "/auth/gds/callback?code=c0f574c3db995cc3c521030f1517b7b1ce5eab97ed404551ae84f498c66e57ce&state=a04fd6d7c61d384077a87fe5702d070783331ce0dd576fd1" for 127.0.0.1 at 2014-09-03 16:24:25 +0000
|
1293
|
+
Processing by AuthenticationsController#callback as HTML
|
1294
|
+
Parameters: {"code"=>"c0f574c3db995cc3c521030f1517b7b1ce5eab97ed404551ae84f498c66e57ce", "state"=>"a04fd6d7c61d384077a87fe5702d070783331ce0dd576fd1"}
|
1295
|
+
Authenticating with gds_sso strategy
|
1296
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
1297
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1298
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
1299
|
+
- signin
|
1300
|
+
' WHERE "users"."id" = 11[0m
|
1301
|
+
[1m[35m (11.6ms)[0m commit transaction
|
1302
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1303
|
+
[1m[35m (0.2ms)[0m UPDATE "users" SET "permissions" = '---
|
1304
|
+
- signin
|
1305
|
+
' WHERE "users"."id" = 11
|
1306
|
+
[1m[36m (11.8ms)[0m [1mcommit transaction[0m
|
1307
|
+
Redirected to http://www.example-client.com/restricted
|
1308
|
+
Completed 302 Found in 29.1ms (ActiveRecord: 24.0ms)
|
1309
|
+
Started GET "/restricted" for 127.0.0.1 at 2014-09-03 16:24:25 +0000
|
1310
|
+
Processing by ExampleController#restricted as HTML
|
1311
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' LIMIT 1
|
1312
|
+
Completed 200 OK in 1.4ms (Views: 0.3ms | ActiveRecord: 0.2ms)
|
1313
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'test@example-client.com' LIMIT 1[0m
|
1314
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1315
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "users" SET "remotely_signed_out" = 't', "permissions" = '---
|
1316
|
+
- signin
|
1317
|
+
' WHERE "users"."id" = 11[0m
|
1318
|
+
[1m[35m (10.9ms)[0m commit transaction
|
1319
|
+
Started GET "/restricted" for 127.0.0.1 at 2014-09-03 16:24:25 +0000
|
1320
|
+
Processing by ExampleController#restricted as HTML
|
1321
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' LIMIT 1[0m
|
1322
|
+
Authenticating with gds_sso strategy
|
1323
|
+
Completed in 1.0ms
|
1324
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2014-09-03 16:24:25 +0000
|
1325
|
+
Started GET "/auth/gds/callback?code=c696436a1cd23a3c8ebba0e7a0915ae1bd89080e3ab367bfd3b93e815ffad456&state=d8d9a434871214c3ce9e329194088c23b4d03eecf12eb862" for 127.0.0.1 at 2014-09-03 16:24:26 +0000
|
1326
|
+
Processing by AuthenticationsController#callback as HTML
|
1327
|
+
Parameters: {"code"=>"c696436a1cd23a3c8ebba0e7a0915ae1bd89080e3ab367bfd3b93e815ffad456", "state"=>"d8d9a434871214c3ce9e329194088c23b4d03eecf12eb862"}
|
1328
|
+
Authenticating with gds_sso strategy
|
1329
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
1330
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1331
|
+
[1m[35m (0.2ms)[0m UPDATE "users" SET "permissions" = '---
|
1332
|
+
- signin
|
1333
|
+
' WHERE "users"."id" = 11
|
1334
|
+
[1m[36m (11.2ms)[0m [1mcommit transaction[0m
|
1335
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1336
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "users" SET "remotely_signed_out" = 'f', "permissions" = '---
|
1337
|
+
- signin
|
1338
|
+
' WHERE "users"."id" = 11[0m
|
1339
|
+
[1m[35m (9.7ms)[0m commit transaction
|
1340
|
+
Redirected to http://www.example-client.com/restricted
|
1341
|
+
Completed 302 Found in 25.6ms (ActiveRecord: 21.4ms)
|
1342
|
+
Started GET "/restricted" for 127.0.0.1 at 2014-09-03 16:24:26 +0000
|
1343
|
+
Processing by ExampleController#restricted as HTML
|
1344
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' LIMIT 1[0m
|
1345
|
+
Completed 200 OK in 1.3ms (Views: 0.3ms | ActiveRecord: 0.2ms)
|
1346
|
+
Started GET "/restricted" for 127.0.0.1 at 2014-09-03 16:24:26 +0000
|
1347
|
+
Processing by ExampleController#restricted as HTML
|
1348
|
+
Authenticating with gds_sso strategy
|
1349
|
+
Completed in 0.2ms
|
1350
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2014-09-03 16:24:26 +0000
|
1351
|
+
Started GET "/auth/gds/callback?code=832cd58ace2579f1fc60b3613ff253ff9b866654d2443df6382acc1e3bf50669&state=bfc736d7bc8f869f4fe12b89d0617c6900a13c024c8f49bd" for 127.0.0.1 at 2014-09-03 16:24:26 +0000
|
1352
|
+
Processing by AuthenticationsController#callback as HTML
|
1353
|
+
Parameters: {"code"=>"832cd58ace2579f1fc60b3613ff253ff9b866654d2443df6382acc1e3bf50669", "state"=>"bfc736d7bc8f869f4fe12b89d0617c6900a13c024c8f49bd"}
|
1354
|
+
Authenticating with gds_sso strategy
|
1355
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
1356
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1357
|
+
[1m[35m (0.2ms)[0m UPDATE "users" SET "permissions" = '---
|
1358
|
+
- signin
|
1359
|
+
' WHERE "users"."id" = 11
|
1360
|
+
[1m[36m (11.1ms)[0m [1mcommit transaction[0m
|
1361
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1362
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
1363
|
+
- signin
|
1364
|
+
' WHERE "users"."id" = 11[0m
|
1365
|
+
[1m[35m (10.5ms)[0m commit transaction
|
1366
|
+
Redirected to http://www.example-client.com/restricted
|
1367
|
+
Completed 302 Found in 26.7ms (ActiveRecord: 22.2ms)
|
1368
|
+
Started GET "/restricted" for 127.0.0.1 at 2014-09-03 16:24:26 +0000
|
1369
|
+
Processing by ExampleController#restricted as HTML
|
1370
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' LIMIT 1[0m
|
1371
|
+
Completed 200 OK in 1.6ms (Views: 0.4ms | ActiveRecord: 0.3ms)
|
1372
|
+
Started GET "/restricted" for 127.0.0.1 at 2014-09-04 12:29:26 +0000
|
1373
|
+
Processing by ExampleController#restricted as HTML
|
1374
|
+
Authenticating with gds_sso strategy
|
1375
|
+
Completed in 0.4ms
|
1376
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2014-09-04 12:29:26 +0000
|
1377
|
+
Started GET "/auth/gds/callback?code=ec82ea483bc36e92586817b9ea903c904e974e3a3992c84cac7cb6b80cb557f0&state=a82626753c9adacef196a3ce99b42fc2faf27a0746bbe073" for 127.0.0.1 at 2014-09-04 12:29:26 +0000
|
1378
|
+
Processing by AuthenticationsController#callback as HTML
|
1379
|
+
Parameters: {"code"=>"ec82ea483bc36e92586817b9ea903c904e974e3a3992c84cac7cb6b80cb557f0", "state"=>"a82626753c9adacef196a3ce99b42fc2faf27a0746bbe073"}
|
1380
|
+
Authenticating with gds_sso strategy
|
1381
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
1382
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1383
|
+
[1m[35m (0.2ms)[0m UPDATE "users" SET "permissions" = '---
|
1384
|
+
- signin
|
1385
|
+
' WHERE "users"."id" = 11
|
1386
|
+
[1m[36m (9.6ms)[0m [1mcommit transaction[0m
|
1387
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1388
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
1389
|
+
- signin
|
1390
|
+
' WHERE "users"."id" = 11[0m
|
1391
|
+
[1m[35m (29.2ms)[0m commit transaction
|
1392
|
+
Redirected to http://www.example-client.com/restricted
|
1393
|
+
Completed 302 Found in 44.1ms (ActiveRecord: 39.4ms)
|
1394
|
+
Started GET "/restricted" for 127.0.0.1 at 2014-09-04 12:29:26 +0000
|
1395
|
+
Processing by ExampleController#restricted as HTML
|
1396
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' LIMIT 1[0m
|
1397
|
+
Completed 200 OK in 1.4ms (Views: 0.3ms | ActiveRecord: 0.2ms)
|
1398
|
+
Started GET "/restricted" for 127.0.0.1 at 2014-09-03 16:24:26 +0000
|
1399
|
+
Processing by ExampleController#restricted as HTML
|
1400
|
+
Authenticating with gds_sso strategy
|
1401
|
+
Completed in 0.2ms
|
1402
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2014-09-03 16:24:26 +0000
|
1403
|
+
Started GET "/auth/gds/callback?code=371c417edad02f67c5e78149169a71d28218c69bfa6b68ea6bddc7a977590f9a&state=4795bf9e9b82dfd340befc84f4f70fd8c952020d9f1b7540" for 127.0.0.1 at 2014-09-03 16:24:27 +0000
|
1404
|
+
Processing by AuthenticationsController#callback as HTML
|
1405
|
+
Parameters: {"code"=>"371c417edad02f67c5e78149169a71d28218c69bfa6b68ea6bddc7a977590f9a", "state"=>"4795bf9e9b82dfd340befc84f4f70fd8c952020d9f1b7540"}
|
1406
|
+
Authenticating with gds_sso strategy
|
1407
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
1408
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1409
|
+
[1m[35m (0.1ms)[0m UPDATE "users" SET "permissions" = '---
|
1410
|
+
- signin
|
1411
|
+
' WHERE "users"."id" = 11
|
1412
|
+
[1m[36m (9.7ms)[0m [1mcommit transaction[0m
|
1413
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1414
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
1415
|
+
- signin
|
1416
|
+
' WHERE "users"."id" = 11[0m
|
1417
|
+
[1m[35m (8.5ms)[0m commit transaction
|
1418
|
+
Redirected to http://www.example-client.com/restricted
|
1419
|
+
Completed 302 Found in 23.6ms (ActiveRecord: 18.8ms)
|
1420
|
+
Started GET "/restricted" for 127.0.0.1 at 2014-09-03 16:24:27 +0000
|
1421
|
+
Processing by ExampleController#restricted as HTML
|
1422
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' LIMIT 1[0m
|
1423
|
+
Completed 200 OK in 1.6ms (Views: 0.3ms | ActiveRecord: 0.2ms)
|
1424
|
+
Started GET "/restricted" for 127.0.0.1 at 2014-09-04 12:19:27 +0000
|
1425
|
+
Processing by ExampleController#restricted as HTML
|
1426
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' LIMIT 1
|
1427
|
+
Completed 200 OK in 1.1ms (Views: 0.2ms | ActiveRecord: 0.2ms)
|
1428
|
+
Started GET "/restricted" for 127.0.0.1 at 2014-09-03 16:24:27 +0000
|
1429
|
+
Processing by ExampleController#restricted as JSON
|
1430
|
+
Completed in 15.3ms
|
1431
|
+
Started GET "/restricted" for 127.0.0.1 at 2014-09-03 16:24:27 +0000
|
1432
|
+
Processing by ExampleController#restricted as JSON
|
1433
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
1434
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1435
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
1436
|
+
- signin
|
1437
|
+
' WHERE "users"."id" = 11[0m
|
1438
|
+
[1m[35m (11.8ms)[0m commit transaction
|
1439
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
1440
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1441
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
1442
|
+
- signin
|
1443
|
+
' WHERE "users"."id" = 11[0m
|
1444
|
+
[1m[35m (25.5ms)[0m commit transaction
|
1445
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
1446
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1447
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
1448
|
+
- signin
|
1449
|
+
' WHERE "users"."id" = 11[0m
|
1450
|
+
[1m[35m (8.8ms)[0m commit transaction
|
1451
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
1452
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1453
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
1454
|
+
- signin
|
1455
|
+
' WHERE "users"."id" = 11[0m
|
1456
|
+
[1m[35m (8.3ms)[0m commit transaction
|
1457
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1458
|
+
[1m[35m (0.2ms)[0m UPDATE "users" SET "permissions" = '---
|
1459
|
+
- signin
|
1460
|
+
' WHERE "users"."id" = 11
|
1461
|
+
[1m[36m (10.2ms)[0m [1mcommit transaction[0m
|
1462
|
+
Completed 200 OK in 208.4ms (Views: 0.4ms | ActiveRecord: 66.5ms)
|
1463
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2014-09-03 16:24:28 +0000
|
1464
|
+
Processing by ExampleController#this_requires_signin_permission as JSON
|
1465
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
1466
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1467
|
+
[1m[35m (0.2ms)[0m UPDATE "users" SET "permissions" = '---
|
1468
|
+
- signin
|
1469
|
+
' WHERE "users"."id" = 11
|
1470
|
+
[1m[36m (8.6ms)[0m [1mcommit transaction[0m
|
1471
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
1472
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1473
|
+
[1m[35m (0.2ms)[0m UPDATE "users" SET "permissions" = '---
|
1474
|
+
- signin
|
1475
|
+
' WHERE "users"."id" = 11
|
1476
|
+
[1m[36m (10.5ms)[0m [1mcommit transaction[0m
|
1477
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
1478
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1479
|
+
[1m[35m (0.2ms)[0m UPDATE "users" SET "permissions" = '---
|
1480
|
+
- signin
|
1481
|
+
' WHERE "users"."id" = 11
|
1482
|
+
[1m[36m (9.1ms)[0m [1mcommit transaction[0m
|
1483
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
1484
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1485
|
+
[1m[35m (0.2ms)[0m UPDATE "users" SET "permissions" = '---
|
1486
|
+
- signin
|
1487
|
+
' WHERE "users"."id" = 11
|
1488
|
+
[1m[36m (11.6ms)[0m [1mcommit transaction[0m
|
1489
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1490
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
1491
|
+
- signin
|
1492
|
+
' WHERE "users"."id" = 11[0m
|
1493
|
+
[1m[35m (8.9ms)[0m commit transaction
|
1494
|
+
Completed 200 OK in 193.9ms (Views: 0.4ms | ActiveRecord: 50.6ms)
|
1495
|
+
Started GET "/restricted" for 127.0.0.1 at 2014-09-03 16:24:28 +0000
|
1496
|
+
Processing by ExampleController#restricted as JSON
|
1497
|
+
Completed in 14.6ms
|
1498
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2014-09-03 16:24:46 +0000
|
1499
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
1500
|
+
Authenticating with gds_sso strategy
|
1501
|
+
Completed in 14ms
|
1502
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2014-09-03 16:24:46 +0000
|
1503
|
+
Started GET "/auth/gds/callback?code=ddd5761525b76f952b2bf9a4e82d1e9a6d8a160c30f470ac71d475101ec29f46&state=6c57dabed9d0f7df34eb96db8c3496e9a4f5a163890d5ec0" for 127.0.0.1 at 2014-09-03 16:24:47 +0000
|
1504
|
+
Processing by AuthenticationsController#callback as HTML
|
1505
|
+
Parameters: {"code"=>"ddd5761525b76f952b2bf9a4e82d1e9a6d8a160c30f470ac71d475101ec29f46", "state"=>"6c57dabed9d0f7df34eb96db8c3496e9a4f5a163890d5ec0"}
|
1506
|
+
Authenticating with gds_sso strategy
|
1507
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1[0m
|
1508
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'test@example-client.com' ORDER BY "users"."id" ASC LIMIT 1
|
1509
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1510
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("email", "name", "permissions", "uid") VALUES (?, ?, ?, ?) [["email", "test@example-client.com"], ["name", "Test User"], ["permissions", "---\n- signin\n"], ["uid", "integration-uid"]]
|
1511
|
+
[1m[36m (7.7ms)[0m [1mcommit transaction[0m
|
1512
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1513
|
+
[1m[36mSQL (2.3ms)[0m [1mUPDATE "users" SET "remotely_signed_out" = ?, "permissions" = ? WHERE "users"."id" = 1[0m [["remotely_signed_out", false], ["permissions", "---\n- signin\n"]]
|
1514
|
+
[1m[35m (14.4ms)[0m commit transaction
|
1515
|
+
Redirected to http://www.example-client.com/this_requires_signin_permission
|
1516
|
+
Completed 302 Found in 46ms (ActiveRecord: 25.6ms)
|
1517
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2014-09-03 16:24:47 +0000
|
1518
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
1519
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' ORDER BY "users"."id" ASC LIMIT 1[0m
|
1520
|
+
Rendered text template (0.1ms)
|
1521
|
+
Completed 200 OK in 9ms (Views: 4.9ms | ActiveRecord: 0.2ms)
|
1522
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2014-09-03 16:24:47 +0000
|
1523
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
1524
|
+
Authenticating with gds_sso strategy
|
1525
|
+
Completed in 0ms
|
1526
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2014-09-03 16:24:47 +0000
|
1527
|
+
Started GET "/auth/gds/callback?code=6cb9db3c52b8b3a0cd353f94d6c098abcbe6199055e14f7f1c66898e83536966&state=88c7780d960e96286d3041f8d3212594b3f776d0651702ba" for 127.0.0.1 at 2014-09-03 16:24:47 +0000
|
1528
|
+
Processing by AuthenticationsController#callback as HTML
|
1529
|
+
Parameters: {"code"=>"6cb9db3c52b8b3a0cd353f94d6c098abcbe6199055e14f7f1c66898e83536966", "state"=>"88c7780d960e96286d3041f8d3212594b3f776d0651702ba"}
|
1530
|
+
Authenticating with gds_sso strategy
|
1531
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
|
1532
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1533
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1 [["permissions", "---\n- signin\n"]]
|
1534
|
+
[1m[36m (10.5ms)[0m [1mcommit transaction[0m
|
1535
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1536
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1[0m [["permissions", "---\n- signin\n"]]
|
1537
|
+
[1m[35m (7.9ms)[0m commit transaction
|
1538
|
+
Redirected to http://www.example-client.com/this_requires_signin_permission
|
1539
|
+
Completed 302 Found in 24ms (ActiveRecord: 19.2ms)
|
1540
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2014-09-03 16:24:47 +0000
|
1541
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
1542
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' ORDER BY "users"."id" ASC LIMIT 1[0m
|
1543
|
+
Rendered text template (0.0ms)
|
1544
|
+
Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.2ms)
|
1545
|
+
Started GET "/restricted" for 127.0.0.1 at 2014-09-03 16:24:47 +0000
|
1546
|
+
Processing by ExampleController#restricted as HTML
|
1547
|
+
Authenticating with gds_sso strategy
|
1548
|
+
Completed in 0ms
|
1549
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2014-09-03 16:24:47 +0000
|
1550
|
+
Started GET "/auth/gds/callback?code=50126bf7ad712c0b5759a70f0f31a1fcb815b110b7e8180cad459d991711a79e&state=df77d8f6da7b58f64c8ece48935711fbdac1dd105f717e06" for 127.0.0.1 at 2014-09-03 16:24:47 +0000
|
1551
|
+
Processing by AuthenticationsController#callback as HTML
|
1552
|
+
Parameters: {"code"=>"50126bf7ad712c0b5759a70f0f31a1fcb815b110b7e8180cad459d991711a79e", "state"=>"df77d8f6da7b58f64c8ece48935711fbdac1dd105f717e06"}
|
1553
|
+
Authenticating with gds_sso strategy
|
1554
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
|
1555
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1556
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1 [["permissions", "---\n- signin\n"]]
|
1557
|
+
[1m[36m (13.5ms)[0m [1mcommit transaction[0m
|
1558
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1559
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1[0m [["permissions", "---\n- signin\n"]]
|
1560
|
+
[1m[35m (9.9ms)[0m commit transaction
|
1561
|
+
Redirected to http://www.example-client.com/restricted
|
1562
|
+
Completed 302 Found in 29ms (ActiveRecord: 24.1ms)
|
1563
|
+
Started GET "/restricted" for 127.0.0.1 at 2014-09-03 16:24:48 +0000
|
1564
|
+
Processing by ExampleController#restricted as HTML
|
1565
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' ORDER BY "users"."id" ASC LIMIT 1[0m
|
1566
|
+
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.2ms)
|
1567
|
+
Started GET "/restricted" for 127.0.0.1 at 2014-09-03 16:24:48 +0000
|
1568
|
+
Processing by ExampleController#restricted as HTML
|
1569
|
+
Authenticating with gds_sso strategy
|
1570
|
+
Completed in 0ms
|
1571
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2014-09-03 16:24:48 +0000
|
1572
|
+
Started GET "/auth/gds/callback?code=382c08e4766dce4b4b0dc6955ed5ca6f14ecd65aaff441dbddb0534e7d95b8ae&state=b4ea8759e56dea634dcb7628ea2a61270937c7952b057281" for 127.0.0.1 at 2014-09-03 16:24:48 +0000
|
1573
|
+
Processing by AuthenticationsController#callback as HTML
|
1574
|
+
Parameters: {"code"=>"382c08e4766dce4b4b0dc6955ed5ca6f14ecd65aaff441dbddb0534e7d95b8ae", "state"=>"b4ea8759e56dea634dcb7628ea2a61270937c7952b057281"}
|
1575
|
+
Authenticating with gds_sso strategy
|
1576
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
|
1577
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1578
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1 [["permissions", "---\n- signin\n"]]
|
1579
|
+
[1m[36m (10.7ms)[0m [1mcommit transaction[0m
|
1580
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1581
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1[0m [["permissions", "---\n- signin\n"]]
|
1582
|
+
[1m[35m (9.6ms)[0m commit transaction
|
1583
|
+
Redirected to http://www.example-client.com/restricted
|
1584
|
+
Completed 302 Found in 25ms (ActiveRecord: 20.9ms)
|
1585
|
+
Started GET "/restricted" for 127.0.0.1 at 2014-09-03 16:24:48 +0000
|
1586
|
+
Processing by ExampleController#restricted as HTML
|
1587
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' ORDER BY "users"."id" ASC LIMIT 1[0m
|
1588
|
+
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.2ms)
|
1589
|
+
Started GET "/" for 127.0.0.1 at 2014-09-03 16:24:48 +0000
|
1590
|
+
Processing by ExampleController#index as HTML
|
1591
|
+
Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
1592
|
+
Started GET "/restricted" for 127.0.0.1 at 2014-09-03 16:24:48 +0000
|
1593
|
+
Processing by ExampleController#restricted as HTML
|
1594
|
+
Authenticating with gds_sso strategy
|
1595
|
+
Completed in 0ms
|
1596
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2014-09-03 16:24:48 +0000
|
1597
|
+
Started GET "/auth/gds/callback?code=3dac6ac9387873f76ecbc44bcbd0c087cdb798db4d1ccbba60e6510b452b9521&state=9d324f22911cd867e4dde2b9c492d84746d3eda88f042a23" for 127.0.0.1 at 2014-09-03 16:24:48 +0000
|
1598
|
+
Processing by AuthenticationsController#callback as HTML
|
1599
|
+
Parameters: {"code"=>"3dac6ac9387873f76ecbc44bcbd0c087cdb798db4d1ccbba60e6510b452b9521", "state"=>"9d324f22911cd867e4dde2b9c492d84746d3eda88f042a23"}
|
1600
|
+
Authenticating with gds_sso strategy
|
1601
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
|
1602
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1603
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1 [["permissions", "---\n- signin\n"]]
|
1604
|
+
[1m[36m (9.6ms)[0m [1mcommit transaction[0m
|
1605
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1606
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1[0m [["permissions", "---\n- signin\n"]]
|
1607
|
+
[1m[35m (12.4ms)[0m commit transaction
|
1608
|
+
Redirected to http://www.example-client.com/restricted
|
1609
|
+
Completed 302 Found in 28ms (ActiveRecord: 22.8ms)
|
1610
|
+
Started GET "/restricted" for 127.0.0.1 at 2014-09-03 16:24:49 +0000
|
1611
|
+
Processing by ExampleController#restricted as HTML
|
1612
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' ORDER BY "users"."id" ASC LIMIT 1[0m
|
1613
|
+
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.2ms)
|
1614
|
+
Started GET "/restricted" for 127.0.0.1 at 2014-09-03 16:24:49 +0000
|
1615
|
+
Processing by ExampleController#restricted as HTML
|
1616
|
+
Authenticating with gds_sso strategy
|
1617
|
+
Completed in 0ms
|
1618
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2014-09-03 16:24:49 +0000
|
1619
|
+
Started GET "/auth/gds/callback?code=0f281d6794a806828440b67e427ae0dd997f531f63a9601b28d8c49f5d770ff4&state=9c04e464017635d714e53cb2bcc017f74b96d6a93e2c3e52" for 127.0.0.1 at 2014-09-03 16:24:49 +0000
|
1620
|
+
Processing by AuthenticationsController#callback as HTML
|
1621
|
+
Parameters: {"code"=>"0f281d6794a806828440b67e427ae0dd997f531f63a9601b28d8c49f5d770ff4", "state"=>"9c04e464017635d714e53cb2bcc017f74b96d6a93e2c3e52"}
|
1622
|
+
Authenticating with gds_sso strategy
|
1623
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
|
1624
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1625
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1 [["permissions", "---\n- signin\n"]]
|
1626
|
+
[1m[36m (8.4ms)[0m [1mcommit transaction[0m
|
1627
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1628
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1[0m [["permissions", "---\n- signin\n"]]
|
1629
|
+
[1m[35m (13.3ms)[0m commit transaction
|
1630
|
+
Redirected to http://www.example-client.com/restricted
|
1631
|
+
Completed 302 Found in 27ms (ActiveRecord: 22.3ms)
|
1632
|
+
Started GET "/restricted" for 127.0.0.1 at 2014-09-03 16:24:49 +0000
|
1633
|
+
Processing by ExampleController#restricted as HTML
|
1634
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' ORDER BY "users"."id" ASC LIMIT 1[0m
|
1635
|
+
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.2ms)
|
1636
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'test@example-client.com' ORDER BY "users"."id" ASC LIMIT 1
|
1637
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1638
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "remotely_signed_out" = ?, "permissions" = ? WHERE "users"."id" = 1 [["remotely_signed_out", true], ["permissions", "---\n- signin\n"]]
|
1639
|
+
[1m[36m (83.0ms)[0m [1mcommit transaction[0m
|
1640
|
+
Started GET "/restricted" for 127.0.0.1 at 2014-09-03 16:24:49 +0000
|
1641
|
+
Processing by ExampleController#restricted as HTML
|
1642
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' ORDER BY "users"."id" ASC LIMIT 1
|
1643
|
+
Authenticating with gds_sso strategy
|
1644
|
+
Completed in 1ms
|
1645
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2014-09-03 16:24:49 +0000
|
1646
|
+
Started GET "/auth/gds/callback?code=5736b56828296a18869c885db51a79a00c1966ab69e04b9762448571a5a30aa3&state=8fa00e8df8cb520d1f631fd94acc19c2e146751f31e9f161" for 127.0.0.1 at 2014-09-03 16:24:49 +0000
|
1647
|
+
Processing by AuthenticationsController#callback as HTML
|
1648
|
+
Parameters: {"code"=>"5736b56828296a18869c885db51a79a00c1966ab69e04b9762448571a5a30aa3", "state"=>"8fa00e8df8cb520d1f631fd94acc19c2e146751f31e9f161"}
|
1649
|
+
Authenticating with gds_sso strategy
|
1650
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1[0m
|
1651
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1652
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1[0m [["permissions", "---\n- signin\n"]]
|
1653
|
+
[1m[35m (13.1ms)[0m commit transaction
|
1654
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1655
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "remotely_signed_out" = ?, "permissions" = ? WHERE "users"."id" = 1 [["remotely_signed_out", false], ["permissions", "---\n- signin\n"]]
|
1656
|
+
[1m[36m (13.4ms)[0m [1mcommit transaction[0m
|
1657
|
+
Redirected to http://www.example-client.com/restricted
|
1658
|
+
Completed 302 Found in 31ms (ActiveRecord: 27.1ms)
|
1659
|
+
Started GET "/restricted" for 127.0.0.1 at 2014-09-03 16:24:49 +0000
|
1660
|
+
Processing by ExampleController#restricted as HTML
|
1661
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' ORDER BY "users"."id" ASC LIMIT 1
|
1662
|
+
Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.2ms)
|
1663
|
+
Started GET "/restricted" for 127.0.0.1 at 2014-09-03 16:24:50 +0000
|
1664
|
+
Processing by ExampleController#restricted as HTML
|
1665
|
+
Authenticating with gds_sso strategy
|
1666
|
+
Completed in 1ms
|
1667
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2014-09-03 16:24:50 +0000
|
1668
|
+
Started GET "/auth/gds/callback?code=dd673a9dd18c1b96c56da7203aa3692f6d80be4970dcbfc1494677490063d682&state=c7df9c834454ca17b37c8f73e812267ddd7fc03c64c9cc09" for 127.0.0.1 at 2014-09-03 16:24:50 +0000
|
1669
|
+
Processing by AuthenticationsController#callback as HTML
|
1670
|
+
Parameters: {"code"=>"dd673a9dd18c1b96c56da7203aa3692f6d80be4970dcbfc1494677490063d682", "state"=>"c7df9c834454ca17b37c8f73e812267ddd7fc03c64c9cc09"}
|
1671
|
+
Authenticating with gds_sso strategy
|
1672
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1[0m
|
1673
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1674
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1[0m [["permissions", "---\n- signin\n"]]
|
1675
|
+
[1m[35m (10.6ms)[0m commit transaction
|
1676
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1677
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1 [["permissions", "---\n- signin\n"]]
|
1678
|
+
[1m[36m (12.7ms)[0m [1mcommit transaction[0m
|
1679
|
+
Redirected to http://www.example-client.com/restricted
|
1680
|
+
Completed 302 Found in 29ms (ActiveRecord: 24.1ms)
|
1681
|
+
Started GET "/restricted" for 127.0.0.1 at 2014-09-03 16:24:50 +0000
|
1682
|
+
Processing by ExampleController#restricted as HTML
|
1683
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' ORDER BY "users"."id" ASC LIMIT 1
|
1684
|
+
Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.2ms)
|
1685
|
+
Started GET "/restricted" for 127.0.0.1 at 2014-09-04 12:29:50 +0000
|
1686
|
+
Processing by ExampleController#restricted as HTML
|
1687
|
+
Authenticating with gds_sso strategy
|
1688
|
+
Completed in 1ms
|
1689
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2014-09-04 12:29:50 +0000
|
1690
|
+
Started GET "/auth/gds/callback?code=3a6dbf5531e084fd07832634d62c6ec45d505d6f0686f824f05ab539f5933af5&state=e25373d8b0f085616b3b3665de623de1cef7f6ea1c2a7d39" for 127.0.0.1 at 2014-09-04 12:29:50 +0000
|
1691
|
+
Processing by AuthenticationsController#callback as HTML
|
1692
|
+
Parameters: {"code"=>"3a6dbf5531e084fd07832634d62c6ec45d505d6f0686f824f05ab539f5933af5", "state"=>"e25373d8b0f085616b3b3665de623de1cef7f6ea1c2a7d39"}
|
1693
|
+
Authenticating with gds_sso strategy
|
1694
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1[0m
|
1695
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1696
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1[0m [["permissions", "---\n- signin\n"]]
|
1697
|
+
[1m[35m (13.1ms)[0m commit transaction
|
1698
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1699
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1 [["permissions", "---\n- signin\n"]]
|
1700
|
+
[1m[36m (18.1ms)[0m [1mcommit transaction[0m
|
1701
|
+
Redirected to http://www.example-client.com/restricted
|
1702
|
+
Completed 302 Found in 37ms (ActiveRecord: 32.0ms)
|
1703
|
+
Started GET "/restricted" for 127.0.0.1 at 2014-09-04 12:29:50 +0000
|
1704
|
+
Processing by ExampleController#restricted as HTML
|
1705
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' ORDER BY "users"."id" ASC LIMIT 1
|
1706
|
+
Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.3ms)
|
1707
|
+
Started GET "/restricted" for 127.0.0.1 at 2014-09-03 16:24:50 +0000
|
1708
|
+
Processing by ExampleController#restricted as HTML
|
1709
|
+
Authenticating with gds_sso strategy
|
1710
|
+
Completed in 0ms
|
1711
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2014-09-03 16:24:50 +0000
|
1712
|
+
Started GET "/auth/gds/callback?code=b75851e9964d13277986d75879fa9bda0abbe249fe91aeeec3d6cc81128f8de9&state=285ad78a156a0d7361e8495e7f3f77c23e0436d69ebfd3e3" for 127.0.0.1 at 2014-09-03 16:24:51 +0000
|
1713
|
+
Processing by AuthenticationsController#callback as HTML
|
1714
|
+
Parameters: {"code"=>"b75851e9964d13277986d75879fa9bda0abbe249fe91aeeec3d6cc81128f8de9", "state"=>"285ad78a156a0d7361e8495e7f3f77c23e0436d69ebfd3e3"}
|
1715
|
+
Authenticating with gds_sso strategy
|
1716
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1[0m
|
1717
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1718
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1[0m [["permissions", "---\n- signin\n"]]
|
1719
|
+
[1m[35m (21.3ms)[0m commit transaction
|
1720
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1721
|
+
[1m[35mSQL (0.4ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1 [["permissions", "---\n- signin\n"]]
|
1722
|
+
[1m[36m (13.0ms)[0m [1mcommit transaction[0m
|
1723
|
+
Redirected to http://www.example-client.com/restricted
|
1724
|
+
Completed 302 Found in 40ms (ActiveRecord: 35.1ms)
|
1725
|
+
Started GET "/restricted" for 127.0.0.1 at 2014-09-03 16:24:51 +0000
|
1726
|
+
Processing by ExampleController#restricted as HTML
|
1727
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' ORDER BY "users"."id" ASC LIMIT 1
|
1728
|
+
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.3ms)
|
1729
|
+
Started GET "/restricted" for 127.0.0.1 at 2014-09-04 12:19:51 +0000
|
1730
|
+
Processing by ExampleController#restricted as HTML
|
1731
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' ORDER BY "users"."id" ASC LIMIT 1[0m
|
1732
|
+
Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.2ms)
|
1733
|
+
Started GET "/restricted" for 127.0.0.1 at 2014-09-03 16:24:51 +0000
|
1734
|
+
Processing by ExampleController#restricted as JSON
|
1735
|
+
Completed in 16ms
|
1736
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2014-09-03 16:24:51 +0000
|
1737
|
+
Processing by ExampleController#this_requires_signin_permission as JSON
|
1738
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
|
1739
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1740
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1 [["permissions", "---\n- signin\n"]]
|
1741
|
+
[1m[36m (7.2ms)[0m [1mcommit transaction[0m
|
1742
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
|
1743
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1744
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1 [["permissions", "---\n- signin\n"]]
|
1745
|
+
[1m[36m (7.9ms)[0m [1mcommit transaction[0m
|
1746
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
|
1747
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1748
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1 [["permissions", "---\n- signin\n"]]
|
1749
|
+
[1m[36m (9.1ms)[0m [1mcommit transaction[0m
|
1750
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
|
1751
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1752
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1 [["permissions", "---\n- signin\n"]]
|
1753
|
+
[1m[36m (9.5ms)[0m [1mcommit transaction[0m
|
1754
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1755
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1[0m [["permissions", "---\n- signin\n"]]
|
1756
|
+
[1m[35m (9.9ms)[0m commit transaction
|
1757
|
+
Completed 200 OK in 174ms (Views: 0.4ms | ActiveRecord: 45.7ms)
|
1758
|
+
Started GET "/restricted" for 127.0.0.1 at 2014-09-03 16:24:52 +0000
|
1759
|
+
Processing by ExampleController#restricted as JSON
|
1760
|
+
Completed in 12ms
|
1761
|
+
Started GET "/restricted" for 127.0.0.1 at 2014-09-03 16:24:52 +0000
|
1762
|
+
Processing by ExampleController#restricted as JSON
|
1763
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1[0m
|
1764
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1765
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1[0m [["permissions", "---\n- signin\n"]]
|
1766
|
+
[1m[35m (8.7ms)[0m commit transaction
|
1767
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1[0m
|
1768
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1769
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1[0m [["permissions", "---\n- signin\n"]]
|
1770
|
+
[1m[35m (6.8ms)[0m commit transaction
|
1771
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1[0m
|
1772
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1773
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1[0m [["permissions", "---\n- signin\n"]]
|
1774
|
+
[1m[35m (8.7ms)[0m commit transaction
|
1775
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1[0m
|
1776
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1777
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1[0m [["permissions", "---\n- signin\n"]]
|
1778
|
+
[1m[35m (7.5ms)[0m commit transaction
|
1779
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1780
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 1 [["permissions", "---\n- signin\n"]]
|
1781
|
+
[1m[36m (9.8ms)[0m [1mcommit transaction[0m
|
1782
|
+
Completed 200 OK in 176ms (Views: 0.4ms | ActiveRecord: 43.5ms)
|
1783
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1784
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("email", "name", "permissions", "uid") VALUES (?, ?, ?, ?)[0m [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"], ["uid", "a1s2d38772"]]
|
1785
|
+
[1m[35m (11.4ms)[0m commit transaction
|
1786
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1787
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("email", "name", "permissions", "uid") VALUES (?, ?, ?, ?) [["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"], ["uid", "a1s2d33047"]]
|
1788
|
+
[1m[36m (11.0ms)[0m [1mcommit transaction[0m
|
1789
|
+
Processing by Api::UserController#update as HTML
|
1790
|
+
Parameters: {"uid"=>"a1s2d38772"}
|
1791
|
+
Completed 403 Forbidden in 4ms (Views: 3.3ms | ActiveRecord: 0.0ms)
|
1792
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1793
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("email", "name", "permissions", "uid") VALUES (?, ?, ?, ?)[0m [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"], ["uid", "a1s2d38969"]]
|
1794
|
+
[1m[35m (13.0ms)[0m commit transaction
|
1795
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1796
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("email", "name", "permissions", "uid") VALUES (?, ?, ?, ?) [["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"], ["uid", "a1s2d37935"]]
|
1797
|
+
[1m[36m (12.4ms)[0m [1mcommit transaction[0m
|
1798
|
+
Processing by Api::UserController#update as HTML
|
1799
|
+
Parameters: {"uid"=>"a1s2d38969"}
|
1800
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'a1s2d38969' ORDER BY "users"."id" ASC LIMIT 1
|
1801
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1802
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "email" = ?, "name" = ?, "permissions" = ?, "organisation_slug" = ? WHERE "users"."id" = 4 [["email", "user@domain.com"], ["name", "Joshua Marshall"], ["permissions", "---\n- signin\n- new permission\n"], ["organisation_slug", "justice-league"]]
|
1803
|
+
[1m[36m (11.3ms)[0m [1mcommit transaction[0m
|
1804
|
+
Completed 200 OK in 15ms (ActiveRecord: 11.9ms)
|
1805
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]]
|
1806
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1807
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("email", "name", "permissions", "uid") VALUES (?, ?, ?, ?) [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"], ["uid", "a1s2d34395"]]
|
1808
|
+
[1m[36m (13.4ms)[0m [1mcommit transaction[0m
|
1809
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1810
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("email", "name", "permissions", "uid") VALUES (?, ?, ?, ?)[0m [["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"], ["uid", "a1s2d3860"]]
|
1811
|
+
[1m[35m (15.0ms)[0m commit transaction
|
1812
|
+
Processing by Api::UserController#reauth as HTML
|
1813
|
+
Parameters: {"uid"=>"a1s2d34395"}
|
1814
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'a1s2d34395' ORDER BY "users"."id" ASC LIMIT 1[0m
|
1815
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1816
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "users" SET "remotely_signed_out" = ?, "permissions" = ? WHERE "users"."id" = 6[0m [["remotely_signed_out", true], ["permissions", "---\n- signin\n"]]
|
1817
|
+
[1m[35m (9.8ms)[0m commit transaction
|
1818
|
+
Completed 200 OK in 13ms (ActiveRecord: 10.4ms)
|
1819
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 6]]
|
1820
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1821
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("email", "name", "permissions", "uid") VALUES (?, ?, ?, ?)[0m [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"], ["uid", "a1s2d39713"]]
|
1822
|
+
[1m[35m (14.2ms)[0m commit transaction
|
1823
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1824
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("email", "name", "permissions", "uid") VALUES (?, ?, ?, ?) [["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"], ["uid", "a1s2d32695"]]
|
1825
|
+
[1m[36m (23.3ms)[0m [1mcommit transaction[0m
|
1826
|
+
Processing by Api::UserController#reauth as HTML
|
1827
|
+
Parameters: {"uid"=>"nonexistent-user"}
|
1828
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'nonexistent-user' ORDER BY "users"."id" ASC LIMIT 1
|
1829
|
+
Completed 200 OK in 1ms (ActiveRecord: 0.2ms)
|
1830
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1831
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("email", "name", "permissions", "uid") VALUES (?, ?, ?, ?) [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"], ["uid", "a1s2d38178"]]
|
1832
|
+
[1m[36m (23.0ms)[0m [1mcommit transaction[0m
|
1833
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1834
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("email", "name", "permissions", "uid") VALUES (?, ?, ?, ?)[0m [["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"], ["uid", "a1s2d32182"]]
|
1835
|
+
[1m[35m (13.4ms)[0m commit transaction
|
1836
|
+
Processing by Api::UserController#reauth as HTML
|
1837
|
+
Parameters: {"uid"=>"a1s2d38178"}
|
1838
|
+
Completed 403 Forbidden in 1ms (Views: 1.1ms | ActiveRecord: 0.0ms)
|
1839
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1840
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("email", "name", "permissions", "uid") VALUES (?, ?, ?, ?) [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"], ["uid", "a1s2d36870"]]
|
1841
|
+
[1m[36m (15.5ms)[0m [1mcommit transaction[0m
|
1842
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1843
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("email", "name", "permissions", "uid") VALUES (?, ?, ?, ?)[0m [["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"], ["uid", "a1s2d37225"]]
|
1844
|
+
[1m[35m (10.1ms)[0m commit transaction
|
1845
|
+
Processing by Api::UserController#update as HTML
|
1846
|
+
Parameters: {"uid"=>"a1s2d36870"}
|
1847
|
+
Rendered /home/jenkins/workspace/govuk_gds_sso/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (0.3ms)
|
1848
|
+
Completed 403 Forbidden in 7ms (Views: 6.8ms | ActiveRecord: 0.0ms)
|
1849
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1850
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("email", "name", "permissions", "uid") VALUES (?, ?, ?, ?) [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"], ["uid", "a1s2d38375"]]
|
1851
|
+
[1m[36m (19.0ms)[0m [1mcommit transaction[0m
|
1852
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1853
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("email", "name", "permissions", "uid") VALUES (?, ?, ?, ?)[0m [["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"], ["uid", "a1s2d3392"]]
|
1854
|
+
[1m[35m (13.5ms)[0m commit transaction
|
1855
|
+
Processing by Api::UserController#update as HTML
|
1856
|
+
Parameters: {"uid"=>"a1s2d38375"}
|
1857
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'a1s2d38375' ORDER BY "users"."id" ASC LIMIT 1[0m
|
1858
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1859
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "email" = ?, "name" = ?, "organisation_slug" = ?, "permissions" = ? WHERE "users"."id" = 3[0m [["email", "user@domain.com"], ["name", "Joshua Marshall"], ["organisation_slug", "justice-league"], ["permissions", "---\n- signin\n- new permission\n"]]
|
1860
|
+
[1m[35m (18.5ms)[0m commit transaction
|
1861
|
+
Completed 200 OK in 28ms (ActiveRecord: 19.0ms)
|
1862
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 3]]
|
1863
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1864
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("email", "name", "permissions", "uid") VALUES (?, ?, ?, ?)[0m [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"], ["uid", "a1s2d33946"]]
|
1865
|
+
[1m[35m (7.8ms)[0m commit transaction
|
1866
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1867
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("email", "name", "permissions", "uid") VALUES (?, ?, ?, ?) [["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"], ["uid", "a1s2d31968"]]
|
1868
|
+
[1m[36m (14.5ms)[0m [1mcommit transaction[0m
|
1869
|
+
Processing by Api::UserController#reauth as HTML
|
1870
|
+
Parameters: {"uid"=>"a1s2d33946"}
|
1871
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'a1s2d33946' ORDER BY "users"."id" ASC LIMIT 1
|
1872
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1873
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "permissions" = ?, "remotely_signed_out" = ? WHERE "users"."id" = 5 [["permissions", "---\n- signin\n"], ["remotely_signed_out", "t"]]
|
1874
|
+
[1m[36m (22.3ms)[0m [1mcommit transaction[0m
|
1875
|
+
Completed 200 OK in 25ms (ActiveRecord: 22.8ms)
|
1876
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 5]]
|
1877
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1878
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("email", "name", "permissions", "uid") VALUES (?, ?, ?, ?) [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"], ["uid", "a1s2d32133"]]
|
1879
|
+
[1m[36m (26.2ms)[0m [1mcommit transaction[0m
|
1880
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1881
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("email", "name", "permissions", "uid") VALUES (?, ?, ?, ?)[0m [["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"], ["uid", "a1s2d3488"]]
|
1882
|
+
[1m[35m (14.3ms)[0m commit transaction
|
1883
|
+
Processing by Api::UserController#reauth as HTML
|
1884
|
+
Parameters: {"uid"=>"nonexistent-user"}
|
1885
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'nonexistent-user' ORDER BY "users"."id" ASC LIMIT 1[0m
|
1886
|
+
Completed 200 OK in 1ms (ActiveRecord: 0.2ms)
|
1887
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1888
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("email", "name", "permissions", "uid") VALUES (?, ?, ?, ?)[0m [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "---\n- signin\n"], ["uid", "a1s2d35011"]]
|
1889
|
+
[1m[35m (11.9ms)[0m commit transaction
|
1890
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1891
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("email", "name", "permissions", "uid") VALUES (?, ?, ?, ?) [["email", "ssopushuser@legit.com"], ["name", "SSO Push user"], ["permissions", "---\n- signin\n- user_update_permission\n"], ["uid", "a1s2d34765"]]
|
1892
|
+
[1m[36m (10.1ms)[0m [1mcommit transaction[0m
|
1893
|
+
Processing by Api::UserController#reauth as HTML
|
1894
|
+
Parameters: {"uid"=>"a1s2d35011"}
|
1895
|
+
Completed 403 Forbidden in 1ms (Views: 1.0ms | ActiveRecord: 0.0ms)
|
1896
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2014-09-03 16:25:10 +0000
|
1897
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
1898
|
+
Authenticating with gds_sso strategy
|
1899
|
+
Completed in 15ms
|
1900
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2014-09-03 16:25:10 +0000
|
1901
|
+
Started GET "/auth/gds/callback?code=e64513342e8863f7f5a471060db383853c3b059da995f7ed800c7def93c9866d&state=58f649d4f4d3380ff98f7b72acaf6562f23a156086403b03" for 127.0.0.1 at 2014-09-03 16:25:11 +0000
|
1902
|
+
Processing by AuthenticationsController#callback as HTML
|
1903
|
+
Parameters: {"code"=>"e64513342e8863f7f5a471060db383853c3b059da995f7ed800c7def93c9866d", "state"=>"58f649d4f4d3380ff98f7b72acaf6562f23a156086403b03"}
|
1904
|
+
Authenticating with gds_sso strategy
|
1905
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
|
1906
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'test@example-client.com' ORDER BY "users"."id" ASC LIMIT 1[0m
|
1907
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1908
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("email", "name", "permissions", "uid") VALUES (?, ?, ?, ?)[0m [["email", "test@example-client.com"], ["name", "Test User"], ["permissions", "---\n- signin\n"], ["uid", "integration-uid"]]
|
1909
|
+
[1m[35m (44.1ms)[0m commit transaction
|
1910
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1911
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "permissions" = ?, "remotely_signed_out" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"], ["remotely_signed_out", "f"]]
|
1912
|
+
[1m[36m (54.6ms)[0m [1mcommit transaction[0m
|
1913
|
+
Redirected to http://www.example-client.com/this_requires_signin_permission
|
1914
|
+
Completed 302 Found in 105ms (ActiveRecord: 99.5ms)
|
1915
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2014-09-03 16:25:11 +0000
|
1916
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
1917
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' ORDER BY "users"."id" ASC LIMIT 1
|
1918
|
+
Completed 200 OK in 5ms (Views: 1.3ms | ActiveRecord: 0.2ms)
|
1919
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2014-09-03 16:25:11 +0000
|
1920
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
1921
|
+
Authenticating with gds_sso strategy
|
1922
|
+
Completed in 0ms
|
1923
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2014-09-03 16:25:11 +0000
|
1924
|
+
Started GET "/auth/gds/callback?code=02ee52ba09c3dffa5b55732871d5d9bf3024bb40a53be7b86f48c4c6cd6de671&state=f4a3ec8e33aa25d81c1e9b4b43f033ae4c3e8d8ec31d0ddb" for 127.0.0.1 at 2014-09-03 16:25:11 +0000
|
1925
|
+
Processing by AuthenticationsController#callback as HTML
|
1926
|
+
Parameters: {"code"=>"02ee52ba09c3dffa5b55732871d5d9bf3024bb40a53be7b86f48c4c6cd6de671", "state"=>"f4a3ec8e33aa25d81c1e9b4b43f033ae4c3e8d8ec31d0ddb"}
|
1927
|
+
Authenticating with gds_sso strategy
|
1928
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1[0m
|
1929
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1930
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11[0m [["permissions", "---\n- signin\n"]]
|
1931
|
+
[1m[35m (37.2ms)[0m commit transaction
|
1932
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1933
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
|
1934
|
+
[1m[36m (25.1ms)[0m [1mcommit transaction[0m
|
1935
|
+
Redirected to http://www.example-client.com/this_requires_signin_permission
|
1936
|
+
Completed 302 Found in 68ms (ActiveRecord: 63.1ms)
|
1937
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2014-09-03 16:25:11 +0000
|
1938
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
1939
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' ORDER BY "users"."id" ASC LIMIT 1
|
1940
|
+
Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.2ms)
|
1941
|
+
Started GET "/restricted" for 127.0.0.1 at 2014-09-03 16:25:12 +0000
|
1942
|
+
Processing by ExampleController#restricted as HTML
|
1943
|
+
Authenticating with gds_sso strategy
|
1944
|
+
Completed in 0ms
|
1945
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2014-09-03 16:25:12 +0000
|
1946
|
+
Started GET "/auth/gds/callback?code=9157de77d24ed08e94e9b1eda42afbc86d60456debbad73860627bafedf415f3&state=666e68ab435046d2eb4b6fd49a4d001c7477e2a149ac6efe" for 127.0.0.1 at 2014-09-03 16:25:12 +0000
|
1947
|
+
Processing by AuthenticationsController#callback as HTML
|
1948
|
+
Parameters: {"code"=>"9157de77d24ed08e94e9b1eda42afbc86d60456debbad73860627bafedf415f3", "state"=>"666e68ab435046d2eb4b6fd49a4d001c7477e2a149ac6efe"}
|
1949
|
+
Authenticating with gds_sso strategy
|
1950
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1[0m
|
1951
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1952
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11[0m [["permissions", "---\n- signin\n"]]
|
1953
|
+
[1m[35m (20.6ms)[0m commit transaction
|
1954
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1955
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
|
1956
|
+
[1m[36m (19.6ms)[0m [1mcommit transaction[0m
|
1957
|
+
Redirected to http://www.example-client.com/restricted
|
1958
|
+
Completed 302 Found in 46ms (ActiveRecord: 40.9ms)
|
1959
|
+
Started GET "/restricted" for 127.0.0.1 at 2014-09-03 16:25:12 +0000
|
1960
|
+
Processing by ExampleController#restricted as HTML
|
1961
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' ORDER BY "users"."id" ASC LIMIT 1
|
1962
|
+
Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.2ms)
|
1963
|
+
Started GET "/restricted" for 127.0.0.1 at 2014-09-03 16:25:12 +0000
|
1964
|
+
Processing by ExampleController#restricted as HTML
|
1965
|
+
Authenticating with gds_sso strategy
|
1966
|
+
Completed in 0ms
|
1967
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2014-09-03 16:25:12 +0000
|
1968
|
+
Started GET "/auth/gds/callback?code=2a203e2d0b3fc56dd597f968e4f49dbdae41d596ca89bef1e95b089892946d57&state=83e8bdbe59d0263eb6333c298791ba43f369f6e79b58e843" for 127.0.0.1 at 2014-09-03 16:25:12 +0000
|
1969
|
+
Processing by AuthenticationsController#callback as HTML
|
1970
|
+
Parameters: {"code"=>"2a203e2d0b3fc56dd597f968e4f49dbdae41d596ca89bef1e95b089892946d57", "state"=>"83e8bdbe59d0263eb6333c298791ba43f369f6e79b58e843"}
|
1971
|
+
Authenticating with gds_sso strategy
|
1972
|
+
[1m[36mUser Load (0.4ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1[0m
|
1973
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1974
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11[0m [["permissions", "---\n- signin\n"]]
|
1975
|
+
[1m[35m (13.6ms)[0m commit transaction
|
1976
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1977
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
|
1978
|
+
[1m[36m (28.0ms)[0m [1mcommit transaction[0m
|
1979
|
+
Redirected to http://www.example-client.com/restricted
|
1980
|
+
Completed 302 Found in 47ms (ActiveRecord: 42.5ms)
|
1981
|
+
Started GET "/restricted" for 127.0.0.1 at 2014-09-03 16:25:13 +0000
|
1982
|
+
Processing by ExampleController#restricted as HTML
|
1983
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' ORDER BY "users"."id" ASC LIMIT 1
|
1984
|
+
Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.2ms)
|
1985
|
+
Started GET "/restricted" for 127.0.0.1 at 2014-09-03 16:25:13 +0000
|
1986
|
+
Processing by ExampleController#restricted as HTML
|
1987
|
+
Authenticating with gds_sso strategy
|
1988
|
+
Completed in 0ms
|
1989
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2014-09-03 16:25:13 +0000
|
1990
|
+
Started GET "/auth/gds/callback?code=3c645a0c67cfa681c943c91b45ca7fa51137117e82e91632812cf656460dd09f&state=c763a0d8537d3cc3bd64f4e5271fa380b2bdcd56a965008a" for 127.0.0.1 at 2014-09-03 16:25:13 +0000
|
1991
|
+
Processing by AuthenticationsController#callback as HTML
|
1992
|
+
Parameters: {"code"=>"3c645a0c67cfa681c943c91b45ca7fa51137117e82e91632812cf656460dd09f", "state"=>"c763a0d8537d3cc3bd64f4e5271fa380b2bdcd56a965008a"}
|
1993
|
+
Authenticating with gds_sso strategy
|
1994
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1[0m
|
1995
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1996
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11[0m [["permissions", "---\n- signin\n"]]
|
1997
|
+
[1m[35m (25.7ms)[0m commit transaction
|
1998
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1999
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
|
2000
|
+
[1m[36m (9.8ms)[0m [1mcommit transaction[0m
|
2001
|
+
Redirected to http://www.example-client.com/restricted
|
2002
|
+
Completed 302 Found in 40ms (ActiveRecord: 36.1ms)
|
2003
|
+
Started GET "/restricted" for 127.0.0.1 at 2014-09-03 16:25:13 +0000
|
2004
|
+
Processing by ExampleController#restricted as HTML
|
2005
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' ORDER BY "users"."id" ASC LIMIT 1
|
2006
|
+
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.2ms)
|
2007
|
+
Started GET "/" for 127.0.0.1 at 2014-09-03 16:25:13 +0000
|
2008
|
+
Processing by ExampleController#index as HTML
|
2009
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
2010
|
+
Started GET "/restricted" for 127.0.0.1 at 2014-09-03 16:25:13 +0000
|
2011
|
+
Processing by ExampleController#restricted as HTML
|
2012
|
+
Authenticating with gds_sso strategy
|
2013
|
+
Completed in 1ms
|
2014
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2014-09-03 16:25:13 +0000
|
2015
|
+
Started GET "/auth/gds/callback?code=94c7888da7f291892f34a985113b2a8a712573cbe8c7aa6723e58bca705fa3af&state=6c9518d8a3866dc01171e5f4d7e22641b6a6fdfbcbde20d3" for 127.0.0.1 at 2014-09-03 16:25:14 +0000
|
2016
|
+
Processing by AuthenticationsController#callback as HTML
|
2017
|
+
Parameters: {"code"=>"94c7888da7f291892f34a985113b2a8a712573cbe8c7aa6723e58bca705fa3af", "state"=>"6c9518d8a3866dc01171e5f4d7e22641b6a6fdfbcbde20d3"}
|
2018
|
+
Authenticating with gds_sso strategy
|
2019
|
+
[1m[36mUser Load (0.4ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1[0m
|
2020
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2021
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11[0m [["permissions", "---\n- signin\n"]]
|
2022
|
+
[1m[35m (23.2ms)[0m commit transaction
|
2023
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2024
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
|
2025
|
+
[1m[36m (19.4ms)[0m [1mcommit transaction[0m
|
2026
|
+
Redirected to http://www.example-client.com/restricted
|
2027
|
+
Completed 302 Found in 49ms (ActiveRecord: 43.5ms)
|
2028
|
+
Started GET "/restricted" for 127.0.0.1 at 2014-09-03 16:25:14 +0000
|
2029
|
+
Processing by ExampleController#restricted as HTML
|
2030
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' ORDER BY "users"."id" ASC LIMIT 1
|
2031
|
+
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.2ms)
|
2032
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'test@example-client.com' ORDER BY "users"."id" ASC LIMIT 1[0m
|
2033
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2034
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "permissions" = ?, "remotely_signed_out" = ? WHERE "users"."id" = 11[0m [["permissions", "---\n- signin\n"], ["remotely_signed_out", "t"]]
|
2035
|
+
[1m[35m (14.8ms)[0m commit transaction
|
2036
|
+
Started GET "/restricted" for 127.0.0.1 at 2014-09-03 16:25:14 +0000
|
2037
|
+
Processing by ExampleController#restricted as HTML
|
2038
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' ORDER BY "users"."id" ASC LIMIT 1[0m
|
2039
|
+
Authenticating with gds_sso strategy
|
2040
|
+
Completed in 1ms
|
2041
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2014-09-03 16:25:14 +0000
|
2042
|
+
Started GET "/auth/gds/callback?code=a537dd6615e7850e1c7652a598ba2a66ee2be7db53d656ea9db6a30f7dce5354&state=4b15a8e0f033f2acb99ae0f22e4edc2195eb4008bd9bdffe" for 127.0.0.1 at 2014-09-03 16:25:14 +0000
|
2043
|
+
Processing by AuthenticationsController#callback as HTML
|
2044
|
+
Parameters: {"code"=>"a537dd6615e7850e1c7652a598ba2a66ee2be7db53d656ea9db6a30f7dce5354", "state"=>"4b15a8e0f033f2acb99ae0f22e4edc2195eb4008bd9bdffe"}
|
2045
|
+
Authenticating with gds_sso strategy
|
2046
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
|
2047
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2048
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
|
2049
|
+
[1m[36m (10.1ms)[0m [1mcommit transaction[0m
|
2050
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2051
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "permissions" = ?, "remotely_signed_out" = ? WHERE "users"."id" = 11[0m [["permissions", "---\n- signin\n"], ["remotely_signed_out", "f"]]
|
2052
|
+
[1m[35m (6.8ms)[0m commit transaction
|
2053
|
+
Redirected to http://www.example-client.com/restricted
|
2054
|
+
Completed 302 Found in 21ms (ActiveRecord: 17.5ms)
|
2055
|
+
Started GET "/restricted" for 127.0.0.1 at 2014-09-03 16:25:14 +0000
|
2056
|
+
Processing by ExampleController#restricted as HTML
|
2057
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' ORDER BY "users"."id" ASC LIMIT 1[0m
|
2058
|
+
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.2ms)
|
2059
|
+
Started GET "/restricted" for 127.0.0.1 at 2014-09-03 16:25:14 +0000
|
2060
|
+
Processing by ExampleController#restricted as HTML
|
2061
|
+
Authenticating with gds_sso strategy
|
2062
|
+
Completed in 1ms
|
2063
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2014-09-03 16:25:14 +0000
|
2064
|
+
Started GET "/auth/gds/callback?code=1003860500097f6ad3a3bd0b96cbddecff7c866f96f1b7c0e1beaa115e96ca01&state=96430d2ad9c66e04a25ca125a022965776d7bc39a0cb61e2" for 127.0.0.1 at 2014-09-03 16:25:15 +0000
|
2065
|
+
Processing by AuthenticationsController#callback as HTML
|
2066
|
+
Parameters: {"code"=>"1003860500097f6ad3a3bd0b96cbddecff7c866f96f1b7c0e1beaa115e96ca01", "state"=>"96430d2ad9c66e04a25ca125a022965776d7bc39a0cb61e2"}
|
2067
|
+
Authenticating with gds_sso strategy
|
2068
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
|
2069
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2070
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
|
2071
|
+
[1m[36m (12.1ms)[0m [1mcommit transaction[0m
|
2072
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2073
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11[0m [["permissions", "---\n- signin\n"]]
|
2074
|
+
[1m[35m (18.8ms)[0m commit transaction
|
2075
|
+
Redirected to http://www.example-client.com/restricted
|
2076
|
+
Completed 302 Found in 36ms (ActiveRecord: 31.6ms)
|
2077
|
+
Started GET "/restricted" for 127.0.0.1 at 2014-09-03 16:25:15 +0000
|
2078
|
+
Processing by ExampleController#restricted as HTML
|
2079
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' ORDER BY "users"."id" ASC LIMIT 1[0m
|
2080
|
+
Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.2ms)
|
2081
|
+
Started GET "/restricted" for 127.0.0.1 at 2014-09-04 12:30:15 +0000
|
2082
|
+
Processing by ExampleController#restricted as HTML
|
2083
|
+
Authenticating with gds_sso strategy
|
2084
|
+
Completed in 1ms
|
2085
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2014-09-04 12:30:15 +0000
|
2086
|
+
Started GET "/auth/gds/callback?code=d5e8732e4060268a1c60e1a997aed95f26324df34bdca453cd94a01ff936dd83&state=1b6527cf8c88eb0aa8d11380fa409235eae5f3f0567991d6" for 127.0.0.1 at 2014-09-04 12:30:15 +0000
|
2087
|
+
Processing by AuthenticationsController#callback as HTML
|
2088
|
+
Parameters: {"code"=>"d5e8732e4060268a1c60e1a997aed95f26324df34bdca453cd94a01ff936dd83", "state"=>"1b6527cf8c88eb0aa8d11380fa409235eae5f3f0567991d6"}
|
2089
|
+
Authenticating with gds_sso strategy
|
2090
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
|
2091
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2092
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
|
2093
|
+
[1m[36m (15.1ms)[0m [1mcommit transaction[0m
|
2094
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2095
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11[0m [["permissions", "---\n- signin\n"]]
|
2096
|
+
[1m[35m (14.9ms)[0m commit transaction
|
2097
|
+
Redirected to http://www.example-client.com/restricted
|
2098
|
+
Completed 302 Found in 36ms (ActiveRecord: 30.7ms)
|
2099
|
+
Started GET "/restricted" for 127.0.0.1 at 2014-09-04 12:30:15 +0000
|
2100
|
+
Processing by ExampleController#restricted as HTML
|
2101
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' ORDER BY "users"."id" ASC LIMIT 1[0m
|
2102
|
+
Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.3ms)
|
2103
|
+
Started GET "/restricted" for 127.0.0.1 at 2014-09-03 16:25:15 +0000
|
2104
|
+
Processing by ExampleController#restricted as HTML
|
2105
|
+
Authenticating with gds_sso strategy
|
2106
|
+
Completed in 0ms
|
2107
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2014-09-03 16:25:15 +0000
|
2108
|
+
Started GET "/auth/gds/callback?code=13b5fc01b820619d77ca8f5a383851300fad8c6bad2b713684195fb73b0615f0&state=8aa197a812c2fd1442eae4751ac7469fb8b8f738349778dd" for 127.0.0.1 at 2014-09-03 16:25:15 +0000
|
2109
|
+
Processing by AuthenticationsController#callback as HTML
|
2110
|
+
Parameters: {"code"=>"13b5fc01b820619d77ca8f5a383851300fad8c6bad2b713684195fb73b0615f0", "state"=>"8aa197a812c2fd1442eae4751ac7469fb8b8f738349778dd"}
|
2111
|
+
Authenticating with gds_sso strategy
|
2112
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
|
2113
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2114
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
|
2115
|
+
[1m[36m (15.4ms)[0m [1mcommit transaction[0m
|
2116
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2117
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11[0m [["permissions", "---\n- signin\n"]]
|
2118
|
+
[1m[35m (14.7ms)[0m commit transaction
|
2119
|
+
Redirected to http://www.example-client.com/restricted
|
2120
|
+
Completed 302 Found in 36ms (ActiveRecord: 30.7ms)
|
2121
|
+
Started GET "/restricted" for 127.0.0.1 at 2014-09-03 16:25:15 +0000
|
2122
|
+
Processing by ExampleController#restricted as HTML
|
2123
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' ORDER BY "users"."id" ASC LIMIT 1[0m
|
2124
|
+
Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.2ms)
|
2125
|
+
Started GET "/restricted" for 127.0.0.1 at 2014-09-04 12:20:15 +0000
|
2126
|
+
Processing by ExampleController#restricted as HTML
|
2127
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' AND "users"."remotely_signed_out" = 'f' ORDER BY "users"."id" ASC LIMIT 1
|
2128
|
+
Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.2ms)
|
2129
|
+
Started GET "/restricted" for 127.0.0.1 at 2014-09-03 16:25:16 +0000
|
2130
|
+
Processing by ExampleController#restricted as JSON
|
2131
|
+
Completed in 17ms
|
2132
|
+
Started GET "/restricted" for 127.0.0.1 at 2014-09-03 16:25:16 +0000
|
2133
|
+
Processing by ExampleController#restricted as JSON
|
2134
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1[0m
|
2135
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2136
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11[0m [["permissions", "---\n- signin\n"]]
|
2137
|
+
[1m[35m (9.8ms)[0m commit transaction
|
2138
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1[0m
|
2139
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2140
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11[0m [["permissions", "---\n- signin\n"]]
|
2141
|
+
[1m[35m (9.9ms)[0m commit transaction
|
2142
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1[0m
|
2143
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2144
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11[0m [["permissions", "---\n- signin\n"]]
|
2145
|
+
[1m[35m (64.7ms)[0m commit transaction
|
2146
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1[0m
|
2147
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2148
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11[0m [["permissions", "---\n- signin\n"]]
|
2149
|
+
[1m[35m (12.9ms)[0m commit transaction
|
2150
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2151
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
|
2152
|
+
[1m[36m (15.9ms)[0m [1mcommit transaction[0m
|
2153
|
+
Completed 200 OK in 333ms (Views: 0.5ms | ActiveRecord: 115.4ms)
|
2154
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2014-09-03 16:25:16 +0000
|
2155
|
+
Processing by ExampleController#this_requires_signin_permission as JSON
|
2156
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
|
2157
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2158
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
|
2159
|
+
[1m[36m (38.9ms)[0m [1mcommit transaction[0m
|
2160
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
|
2161
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2162
|
+
[1m[35mSQL (0.4ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
|
2163
|
+
[1m[36m (46.5ms)[0m [1mcommit transaction[0m
|
2164
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
|
2165
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2166
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
|
2167
|
+
[1m[36m (11.0ms)[0m [1mcommit transaction[0m
|
2168
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' ORDER BY "users"."id" ASC LIMIT 1
|
2169
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2170
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11 [["permissions", "---\n- signin\n"]]
|
2171
|
+
[1m[36m (18.0ms)[0m [1mcommit transaction[0m
|
2172
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2173
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "users" SET "permissions" = ? WHERE "users"."id" = 11[0m [["permissions", "---\n- signin\n"]]
|
2174
|
+
[1m[35m (11.6ms)[0m commit transaction
|
2175
|
+
Completed 200 OK in 347ms (Views: 0.5ms | ActiveRecord: 128.5ms)
|
2176
|
+
Started GET "/restricted" for 127.0.0.1 at 2014-09-03 16:25:17 +0000
|
2177
|
+
Processing by ExampleController#restricted as JSON
|
2178
|
+
Completed in 12ms
|