gds-sso 1.2.2 → 2.0.0
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +1 -1
- data/lib/gds-sso.rb +1 -1
- data/lib/gds-sso/api_access.rb +8 -0
- data/lib/gds-sso/version.rb +1 -1
- data/lib/gds-sso/warden_config.rb +76 -0
- data/spec/fixtures/integration/authorize_api_users.sql +4 -0
- data/spec/fixtures/integration/signonotron2.sql +1 -1
- data/spec/internal/db/combustion_test.sqlite +0 -0
- data/spec/internal/log/test.log +169 -627
- data/spec/requests/end_to_end_spec.rb +28 -2
- data/spec/support/signonotron2_integration_helpers.rb +10 -2
- data/test/api_access_test.rb +11 -0
- metadata +32 -30
data/Gemfile
CHANGED
data/lib/gds-sso.rb
CHANGED
@@ -38,7 +38,7 @@ module GDS
|
|
38
38
|
end
|
39
39
|
|
40
40
|
def self.default_strategies
|
41
|
-
use_mock_strategies? ? [:mock_gds_sso, :mock_gds_sso_api_access] : [:gds_sso, :gds_sso_api_access]
|
41
|
+
use_mock_strategies? ? [:mock_gds_sso, :mock_gds_sso_api_access] : [:gds_sso, :gds_bearer_token, :gds_sso_api_access]
|
42
42
|
end
|
43
43
|
|
44
44
|
config.app_middleware.use Warden::Manager do |config|
|
data/lib/gds-sso/api_access.rb
CHANGED
@@ -7,6 +7,14 @@ module GDS
|
|
7
7
|
request = Rack::Accept::Request.new(env)
|
8
8
|
request.best_media_type(%w{text/html application/json}) == 'application/json'
|
9
9
|
end
|
10
|
+
|
11
|
+
def self.has_bearer_token?(env)
|
12
|
+
env['HTTP_AUTHORIZATION'] && env['HTTP_AUTHORIZATION'].match(/^Bearer /)
|
13
|
+
end
|
14
|
+
|
15
|
+
def self.oauth_api_call?(env)
|
16
|
+
has_bearer_token?(env)
|
17
|
+
end
|
10
18
|
end
|
11
19
|
end
|
12
20
|
end
|
data/lib/gds-sso/version.rb
CHANGED
@@ -51,6 +51,82 @@ Warden::Strategies.add(:gds_sso) do
|
|
51
51
|
end
|
52
52
|
end
|
53
53
|
|
54
|
+
Warden::Strategies.add(:gds_bearer_token) do
|
55
|
+
def valid?
|
56
|
+
::GDS::SSO::ApiAccess.api_call?(env) &&
|
57
|
+
::GDS::SSO::ApiAccess.oauth_api_call?(env)
|
58
|
+
end
|
59
|
+
|
60
|
+
def authenticate!
|
61
|
+
Rails.logger.debug("Authenticating with gds_bearer_token strategy")
|
62
|
+
|
63
|
+
begin
|
64
|
+
access_token = OAuth2::AccessToken.new(oauth_client, token_from_authorization_header)
|
65
|
+
response_body = access_token.get('/user.json').body
|
66
|
+
user_details = omniauth_style_response(response_body)
|
67
|
+
user = prep_user(user_details)
|
68
|
+
success!(user)
|
69
|
+
rescue OAuth2::Error
|
70
|
+
custom!(unauthorized)
|
71
|
+
end
|
72
|
+
end
|
73
|
+
|
74
|
+
def oauth_client
|
75
|
+
@oauth_client ||= OAuth2::Client.new(
|
76
|
+
GDS::SSO::Config.oauth_id,
|
77
|
+
GDS::SSO::Config.oauth_secret,
|
78
|
+
:site => GDS::SSO::Config.oauth_root_url
|
79
|
+
)
|
80
|
+
end
|
81
|
+
|
82
|
+
def token_from_authorization_header
|
83
|
+
env['HTTP_AUTHORIZATION'].gsub(/Bearer /, '')
|
84
|
+
end
|
85
|
+
|
86
|
+
# Our User code assumes we're getting our user data back
|
87
|
+
# via omniauth and so receiving it in omniauth's preferred
|
88
|
+
# structure. Here we're addressing signonotron directly so
|
89
|
+
# we need to transform the response ourselves.
|
90
|
+
#
|
91
|
+
# There may be a way to simplify matters by having this
|
92
|
+
# strategy work via omniauth too but I've not worked out how
|
93
|
+
# to wire that up yet.
|
94
|
+
def omniauth_style_response(response_body)
|
95
|
+
input = MultiJson.decode(response_body)['user']
|
96
|
+
|
97
|
+
{
|
98
|
+
'uid' => input['uid'],
|
99
|
+
'info' => {
|
100
|
+
'email' => input['email'],
|
101
|
+
'name' => input['name']
|
102
|
+
},
|
103
|
+
'extra' => {
|
104
|
+
'user' => {
|
105
|
+
'permissions' => input['permissions']
|
106
|
+
}
|
107
|
+
}
|
108
|
+
}
|
109
|
+
end
|
110
|
+
|
111
|
+
def prep_user(auth_hash)
|
112
|
+
user = GDS::SSO::Config.user_klass.find_for_gds_oauth(auth_hash)
|
113
|
+
custom!(anauthorized) unless user
|
114
|
+
user
|
115
|
+
end
|
116
|
+
|
117
|
+
def unauthorized
|
118
|
+
[
|
119
|
+
401,
|
120
|
+
{
|
121
|
+
'Content-Type' => 'text/plain',
|
122
|
+
'Content-Length' => '0',
|
123
|
+
'WWW-Authenticate' => %(Bearer realm="#{GDS::SSO::Config.basic_auth_realm}", error="invalid_token")
|
124
|
+
},
|
125
|
+
[]
|
126
|
+
]
|
127
|
+
end
|
128
|
+
end
|
129
|
+
|
54
130
|
Warden::Strategies.add(:gds_sso_api_access) do
|
55
131
|
def api_user
|
56
132
|
@api_user ||= GDS::SSO::ApiUser.new
|
@@ -0,0 +1,4 @@
|
|
1
|
+
DELETE FROM `oauth_access_tokens`;
|
2
|
+
|
3
|
+
INSERT INTO oauth_access_tokens VALUES
|
4
|
+
(NULL, 1, 1, 'caaeb53be5c7277fb0ef158181bfd1537b57f9e3b83eb795be3cd0af6e118b28', '1bc343797483954d7306d67e96687feccdfdaa8b23ed662ae23e2b03e6661d16', 307584000, NULL, '2012-06-27 13:57:47', NULL);
|
@@ -6,7 +6,7 @@ DELETE FROM `permissions`;
|
|
6
6
|
DELETE FROM `users`;
|
7
7
|
|
8
8
|
-- Setup fixture data
|
9
|
-
INSERT INTO `oauth_applications` VALUES (1,'GDS_SSO integration test','gds-sso-test','secret','http://www.example-client.com/auth/gds/callback','2012-04-19 13:26:54','2012-04-19 13:26:54', 'http://
|
9
|
+
INSERT INTO `oauth_applications` VALUES (1,'GDS_SSO integration test','gds-sso-test','secret','http://www.example-client.com/auth/gds/callback','2012-04-19 13:26:54','2012-04-19 13:26:54', 'http://home.com', 'GDS_SSO integration test');
|
10
10
|
INSERT INTO `users` (id, email, encrypted_password, created_at, updated_at, name, uid, is_admin) VALUES (1,'test@example-client.com','$2a$04$MdMkVFwTq5GLJJkHS8GLIe6dK1.C4ozzba5ZS5Ks2b/NenVsMGGRW','2012-04-19 13:26:54','2012-04-19 13:26:54','Test User','integration-uid', 0);
|
11
11
|
INSERT INTO `permissions` (id, user_id, application_id, permissions) VALUES (1,1,1,"---
|
12
12
|
- signin
|
Binary file
|
data/spec/internal/log/test.log
CHANGED
@@ -1,297 +1,249 @@
|
|
1
1
|
Connecting to database specified by database.yml
|
2
|
-
[1m[36m (2.
|
3
|
-
[1m[35m (
|
4
|
-
[1m[36m (2.
|
2
|
+
[1m[36m (2.8ms)[0m [1mselect sqlite_version(*)[0m
|
3
|
+
[1m[35m (15.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)
|
4
|
+
[1m[36m (2.0ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
5
5
|
[1m[35m (0.0ms)[0m PRAGMA index_list("schema_migrations")
|
6
6
|
[1m[36m (3.1ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
7
7
|
[1m[35m (0.1ms)[0m begin transaction
|
8
|
-
[1m[36mSQL (
|
9
|
-
[1m[35m (
|
8
|
+
[1m[36mSQL (28.7ms)[0m [1mINSERT INTO "users" ("email", "name", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?)[0m [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "--- \nGDS_SSO integration test: \n- signin\n"], ["remotely_signed_out", nil], ["uid", "a1s2d33754"]]
|
9
|
+
[1m[35m (10.0ms)[0m commit transaction
|
10
10
|
WARNING: Can't mass-assign protected attributes: uid, name, permissions
|
11
11
|
Processing by Api::UserController#update as HTML
|
12
|
-
Parameters: {"uid"=>"
|
13
|
-
Rendered /mnt/jenkins/workspace/GDS-SSO/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (
|
14
|
-
Completed 403 Forbidden in
|
12
|
+
Parameters: {"uid"=>"a1s2d33754"}
|
13
|
+
Rendered /mnt/jenkins/workspace/GDS-SSO/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (4.4ms)
|
14
|
+
Completed 403 Forbidden in 203ms (Views: 202.0ms | ActiveRecord: 0.0ms)
|
15
15
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
16
|
-
[1m[35mSQL (0.
|
17
|
-
[1m[36m (2.
|
16
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("email", "name", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?) [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "--- \nGDS_SSO integration test: \n- signin\n"], ["remotely_signed_out", nil], ["uid", "a1s2d39954"]]
|
17
|
+
[1m[36m (2.6ms)[0m [1mcommit transaction[0m
|
18
18
|
Processing by Api::UserController#update as HTML
|
19
|
-
Parameters: {"uid"=>"
|
20
|
-
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = '
|
19
|
+
Parameters: {"uid"=>"a1s2d39954"}
|
20
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'a1s2d39954' LIMIT 1
|
21
21
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
22
|
-
[1m[35m (0.
|
22
|
+
[1m[35m (0.4ms)[0m UPDATE "users" SET "email" = 'user@domain.com', "name" = 'Joshua Marshall', "permissions" = '---
|
23
23
|
GDS_SSO integration test:
|
24
24
|
- signin
|
25
25
|
- new permission
|
26
26
|
' WHERE "users"."id" = 2
|
27
|
-
[1m[36m (
|
28
|
-
Completed 200 OK in
|
27
|
+
[1m[36m (10.2ms)[0m [1mcommit transaction[0m
|
28
|
+
Completed 200 OK in 173ms (ActiveRecord: 10.9ms)
|
29
29
|
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
|
30
30
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
31
|
-
[1m[35mSQL (0.
|
32
|
-
[1m[36m (
|
31
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("email", "name", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?) [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "--- \nGDS_SSO integration test: \n- signin\n"], ["remotely_signed_out", nil], ["uid", "a1s2d33374"]]
|
32
|
+
[1m[36m (14.7ms)[0m [1mcommit transaction[0m
|
33
33
|
WARNING: Can't mass-assign protected attributes: uid, name, permissions
|
34
34
|
Processing by Api::UserController#reauth as HTML
|
35
|
-
Parameters: {"uid"=>"
|
35
|
+
Parameters: {"uid"=>"a1s2d33374"}
|
36
36
|
Completed 403 Forbidden in 2ms (Views: 1.1ms | ActiveRecord: 0.0ms)
|
37
37
|
[1m[35m (0.1ms)[0m begin transaction
|
38
|
-
[1m[36mSQL (
|
39
|
-
[1m[35m (
|
40
|
-
Processing by Api::UserController#reauth as HTML
|
41
|
-
Parameters: {"uid"=>"a1s2d33440"}
|
42
|
-
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'a1s2d33440' LIMIT 1[0m
|
43
|
-
[1m[35m (0.0ms)[0m begin transaction
|
44
|
-
[1m[36m (0.2ms)[0m [1mUPDATE "users" SET "remotely_signed_out" = 't', "permissions" = '---
|
45
|
-
GDS_SSO integration test:
|
46
|
-
- signin
|
47
|
-
' WHERE "users"."id" = 4[0m
|
48
|
-
[1m[35m (3.0ms)[0m commit transaction
|
49
|
-
Completed 200 OK in 6ms (ActiveRecord: 3.5ms)
|
50
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 4]]
|
51
|
-
Connecting to database specified by database.yml
|
52
|
-
[1m[36m (2.6ms)[0m [1mselect sqlite_version(*)[0m
|
53
|
-
[1m[35m (10.9ms)[0m DROP TABLE "users"
|
54
|
-
[1m[36m (3.1ms)[0m [1mCREATE 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) [0m
|
55
|
-
[1m[35m (0.1ms)[0m begin transaction
|
56
|
-
[1m[36mSQL (7.0ms)[0m [1mINSERT INTO "users" ("email", "name", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?)[0m [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "--- \nGDS_SSO integration test: \n- signin\n"], ["remotely_signed_out", nil], ["uid", "a1s2d34004"]]
|
57
|
-
[1m[35m (4.3ms)[0m commit transaction
|
58
|
-
WARNING: Can't mass-assign protected attributes: uid, name, permissions
|
59
|
-
Processing by Api::UserController#update as HTML
|
60
|
-
Parameters: {"uid"=>"a1s2d34004"}
|
61
|
-
Rendered /mnt/jenkins/workspace/GDS-SSO/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (3.6ms)
|
62
|
-
Completed 403 Forbidden in 53ms (Views: 52.2ms | ActiveRecord: 0.0ms)
|
63
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
64
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("email", "name", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?) [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "--- \nGDS_SSO integration test: \n- signin\n"], ["remotely_signed_out", nil], ["uid", "a1s2d35273"]]
|
65
|
-
[1m[36m (2.7ms)[0m [1mcommit transaction[0m
|
66
|
-
Processing by Api::UserController#update as HTML
|
67
|
-
Parameters: {"uid"=>"a1s2d35273"}
|
68
|
-
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'a1s2d35273' LIMIT 1
|
69
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
70
|
-
[1m[35m (0.3ms)[0m UPDATE "users" SET "email" = 'user@domain.com', "name" = 'Joshua Marshall', "permissions" = '---
|
71
|
-
GDS_SSO integration test:
|
72
|
-
- signin
|
73
|
-
- new permission
|
74
|
-
' WHERE "users"."id" = 2
|
75
|
-
[1m[36m (2.9ms)[0m [1mcommit transaction[0m
|
76
|
-
Completed 200 OK in 55ms (ActiveRecord: 3.5ms)
|
77
|
-
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
|
78
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
79
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("email", "name", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?) [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "--- \nGDS_SSO integration test: \n- signin\n"], ["remotely_signed_out", nil], ["uid", "a1s2d33207"]]
|
80
|
-
[1m[36m (2.7ms)[0m [1mcommit transaction[0m
|
81
|
-
WARNING: Can't mass-assign protected attributes: uid, name, permissions
|
38
|
+
[1m[36mSQL (10.4ms)[0m [1mINSERT INTO "users" ("email", "name", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?)[0m [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "--- \nGDS_SSO integration test: \n- signin\n"], ["remotely_signed_out", nil], ["uid", "a1s2d37905"]]
|
39
|
+
[1m[35m (11.5ms)[0m commit transaction
|
82
40
|
Processing by Api::UserController#reauth as HTML
|
83
|
-
Parameters: {"uid"=>"
|
84
|
-
|
41
|
+
Parameters: {"uid"=>"a1s2d37905"}
|
42
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'a1s2d37905' LIMIT 1[0m
|
85
43
|
[1m[35m (0.1ms)[0m begin transaction
|
86
|
-
[1m[
|
87
|
-
[1m[35m (2.2ms)[0m commit transaction
|
88
|
-
Processing by Api::UserController#reauth as HTML
|
89
|
-
Parameters: {"uid"=>"a1s2d32336"}
|
90
|
-
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'a1s2d32336' LIMIT 1[0m
|
91
|
-
[1m[35m (0.0ms)[0m begin transaction
|
92
|
-
[1m[36m (0.2ms)[0m [1mUPDATE "users" SET "remotely_signed_out" = 't', "permissions" = '---
|
44
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "remotely_signed_out" = 't', "permissions" = '---
|
93
45
|
GDS_SSO integration test:
|
94
46
|
- signin
|
95
47
|
' WHERE "users"."id" = 4[0m
|
96
|
-
[1m[35m (
|
97
|
-
Completed 200 OK in
|
48
|
+
[1m[35m (4.1ms)[0m commit transaction
|
49
|
+
Completed 200 OK in 7ms (ActiveRecord: 4.7ms)
|
98
50
|
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 4]]
|
99
51
|
|
100
52
|
|
101
|
-
Started GET "/" for 127.0.0.1 at 2012-09-
|
53
|
+
Started GET "/" for 127.0.0.1 at 2012-09-11 10:01:59 +0000
|
102
54
|
Processing by ExampleController#index as HTML
|
103
|
-
Completed 200 OK in 6ms (Views: 5.
|
55
|
+
Completed 200 OK in 6ms (Views: 5.5ms | ActiveRecord: 0.0ms)
|
104
56
|
|
105
57
|
|
106
|
-
Started GET "/restricted" for 127.0.0.1 at 2012-09-
|
58
|
+
Started GET "/restricted" for 127.0.0.1 at 2012-09-11 10:01:59 +0000
|
107
59
|
Processing by ExampleController#restricted as HTML
|
108
60
|
Authenticating with gds_sso strategy
|
109
|
-
Completed in
|
61
|
+
Completed in 66ms
|
110
62
|
|
111
63
|
|
112
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2012-09-
|
64
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2012-09-11 10:01:59 +0000
|
113
65
|
|
114
66
|
|
115
|
-
Started GET "/auth/gds/callback?code=
|
67
|
+
Started GET "/auth/gds/callback?code=bc84931099e3276d7d1675de3d41254b509092611eddb4b2d086732c2c8afbe1&state=4f848870a8d491f899787a43fac36c6b39f502b06337b832" for 127.0.0.1 at 2012-09-11 10:02:00 +0000
|
116
68
|
Processing by AuthenticationsController#callback as HTML
|
117
|
-
Parameters: {"code"=>"
|
69
|
+
Parameters: {"code"=>"bc84931099e3276d7d1675de3d41254b509092611eddb4b2d086732c2c8afbe1", "state"=>"4f848870a8d491f899787a43fac36c6b39f502b06337b832"}
|
118
70
|
Authenticating with gds_sso strategy
|
119
|
-
[1m[35mUser Load (0.
|
71
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
120
72
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
121
73
|
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("email", "name", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?) [["email", "test@example-client.com"], ["name", "Test User"], ["permissions", "--- \nGDS_SSO integration test: \n- signin\n"], ["remotely_signed_out", nil], ["uid", "integration-uid"]]
|
122
|
-
[1m[36m (
|
123
|
-
[1m[35m (0.
|
124
|
-
[1m[36m (0.
|
74
|
+
[1m[36m (16.6ms)[0m [1mcommit transaction[0m
|
75
|
+
[1m[35m (0.1ms)[0m begin transaction
|
76
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "remotely_signed_out" = 'f', "permissions" = '---
|
125
77
|
GDS_SSO integration test:
|
126
78
|
- signin
|
127
79
|
' WHERE "users"."id" = 5[0m
|
128
|
-
[1m[35m (2.
|
80
|
+
[1m[35m (2.0ms)[0m commit transaction
|
129
81
|
Redirected to http://www.example-client.com/restricted
|
130
|
-
Completed 302 Found in
|
82
|
+
Completed 302 Found in 26ms (ActiveRecord: 19.6ms)
|
131
83
|
|
132
84
|
|
133
|
-
Started GET "/restricted" for 127.0.0.1 at 2012-09-
|
85
|
+
Started GET "/restricted" for 127.0.0.1 at 2012-09-11 10:02:00 +0000
|
134
86
|
Processing by ExampleController#restricted as HTML
|
135
|
-
[1m[36mUser Load (0.
|
136
|
-
Completed 200 OK in 2ms (Views: 0.5ms | ActiveRecord: 0.
|
87
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
88
|
+
Completed 200 OK in 2ms (Views: 0.5ms | ActiveRecord: 0.2ms)
|
137
89
|
|
138
90
|
|
139
|
-
Started GET "/restricted" for 127.0.0.1 at 2012-09-
|
91
|
+
Started GET "/restricted" for 127.0.0.1 at 2012-09-11 10:02:00 +0000
|
140
92
|
Processing by ExampleController#restricted as HTML
|
141
93
|
Authenticating with gds_sso strategy
|
142
94
|
Completed in 0ms
|
143
95
|
|
144
96
|
|
145
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2012-09-
|
97
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2012-09-11 10:02:00 +0000
|
146
98
|
|
147
99
|
|
148
|
-
Started GET "/auth/gds/callback?code=
|
100
|
+
Started GET "/auth/gds/callback?code=5b3104133f5bacd7eb2fb72c7a9ecf06d1bfb591185fb81664b78b64e89c558b&state=02cd24c5380efba67d46452845a54f655b2c877a0838e80f" for 127.0.0.1 at 2012-09-11 10:02:01 +0000
|
149
101
|
Processing by AuthenticationsController#callback as HTML
|
150
|
-
Parameters: {"code"=>"
|
102
|
+
Parameters: {"code"=>"5b3104133f5bacd7eb2fb72c7a9ecf06d1bfb591185fb81664b78b64e89c558b", "state"=>"02cd24c5380efba67d46452845a54f655b2c877a0838e80f"}
|
151
103
|
Authenticating with gds_sso strategy
|
152
|
-
[1m[35mUser Load (0.
|
104
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
153
105
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
154
|
-
[1m[35m (0.
|
106
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
155
107
|
GDS_SSO integration test:
|
156
108
|
- signin
|
157
109
|
' WHERE "users"."id" = 5
|
158
|
-
[1m[36m (
|
159
|
-
[1m[35m (0.
|
160
|
-
[1m[36m (0.
|
110
|
+
[1m[36m (6.0ms)[0m [1mcommit transaction[0m
|
111
|
+
[1m[35m (0.1ms)[0m begin transaction
|
112
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
161
113
|
GDS_SSO integration test:
|
162
114
|
- signin
|
163
115
|
' WHERE "users"."id" = 5[0m
|
164
|
-
[1m[35m (2.
|
116
|
+
[1m[35m (2.3ms)[0m commit transaction
|
165
117
|
Redirected to http://www.example-client.com/restricted
|
166
|
-
Completed 302 Found in
|
118
|
+
Completed 302 Found in 15ms (ActiveRecord: 9.2ms)
|
167
119
|
|
168
120
|
|
169
|
-
Started GET "/restricted" for 127.0.0.1 at 2012-09-
|
121
|
+
Started GET "/restricted" for 127.0.0.1 at 2012-09-11 10:02:01 +0000
|
170
122
|
Processing by ExampleController#restricted as HTML
|
171
|
-
[1m[36mUser Load (0.
|
172
|
-
Completed 200 OK in 2ms (Views: 0.
|
123
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
124
|
+
Completed 200 OK in 2ms (Views: 0.6ms | ActiveRecord: 0.2ms)
|
173
125
|
|
174
126
|
|
175
|
-
Started GET "/restricted" for 127.0.0.1 at 2012-09-
|
127
|
+
Started GET "/restricted" for 127.0.0.1 at 2012-09-11 10:02:01 +0000
|
176
128
|
Processing by ExampleController#restricted as HTML
|
177
129
|
Authenticating with gds_sso strategy
|
178
130
|
Completed in 0ms
|
179
131
|
|
180
132
|
|
181
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2012-09-
|
133
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2012-09-11 10:02:01 +0000
|
182
134
|
|
183
135
|
|
184
|
-
Started GET "/auth/gds/callback?code=
|
136
|
+
Started GET "/auth/gds/callback?code=3595fb01ce5a4cbbcfa22394ad4b902d9797dd732434a5d7e23ae903bc18dafe&state=83dd91285e2e6b4c20e166d9200a3f8cae4b9189c4a07d98" for 127.0.0.1 at 2012-09-11 10:02:01 +0000
|
185
137
|
Processing by AuthenticationsController#callback as HTML
|
186
|
-
Parameters: {"code"=>"
|
138
|
+
Parameters: {"code"=>"3595fb01ce5a4cbbcfa22394ad4b902d9797dd732434a5d7e23ae903bc18dafe", "state"=>"83dd91285e2e6b4c20e166d9200a3f8cae4b9189c4a07d98"}
|
187
139
|
Authenticating with gds_sso strategy
|
188
|
-
[1m[35mUser Load (0.
|
140
|
+
[1m[35mUser Load (0.5ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
189
141
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
190
|
-
[1m[35m (0.
|
142
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
191
143
|
GDS_SSO integration test:
|
192
144
|
- signin
|
193
145
|
' WHERE "users"."id" = 5
|
194
|
-
[1m[36m (
|
146
|
+
[1m[36m (8.6ms)[0m [1mcommit transaction[0m
|
195
147
|
[1m[35m (0.0ms)[0m begin transaction
|
196
148
|
[1m[36m (0.2ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
197
149
|
GDS_SSO integration test:
|
198
150
|
- signin
|
199
151
|
' WHERE "users"."id" = 5[0m
|
200
|
-
[1m[35m (2.
|
152
|
+
[1m[35m (2.0ms)[0m commit transaction
|
201
153
|
Redirected to http://www.example-client.com/restricted
|
202
|
-
Completed 302 Found in
|
154
|
+
Completed 302 Found in 16ms (ActiveRecord: 11.6ms)
|
203
155
|
|
204
156
|
|
205
|
-
Started GET "/restricted" for 127.0.0.1 at 2012-09-
|
157
|
+
Started GET "/restricted" for 127.0.0.1 at 2012-09-11 10:02:01 +0000
|
206
158
|
Processing by ExampleController#restricted as HTML
|
207
159
|
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
208
160
|
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
209
161
|
|
210
162
|
|
211
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2012-09-
|
163
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2012-09-11 10:02:01 +0000
|
212
164
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
213
165
|
Authenticating with gds_sso strategy
|
214
166
|
Completed in 1ms
|
215
167
|
|
216
168
|
|
217
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2012-09-
|
169
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2012-09-11 10:02:01 +0000
|
218
170
|
|
219
171
|
|
220
|
-
Started GET "/auth/gds/callback?code=
|
172
|
+
Started GET "/auth/gds/callback?code=21a6b7417ba8925e677e350ab50b069a60e0f7f9acac712dea65155a0b2ec392&state=2f3d359a9ebea337e7e387caf2a2316414d2679155b4ced4" for 127.0.0.1 at 2012-09-11 10:02:01 +0000
|
221
173
|
Processing by AuthenticationsController#callback as HTML
|
222
|
-
Parameters: {"code"=>"
|
174
|
+
Parameters: {"code"=>"21a6b7417ba8925e677e350ab50b069a60e0f7f9acac712dea65155a0b2ec392", "state"=>"2f3d359a9ebea337e7e387caf2a2316414d2679155b4ced4"}
|
223
175
|
Authenticating with gds_sso strategy
|
224
176
|
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
225
177
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
226
|
-
[1m[35m (0.
|
178
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
227
179
|
GDS_SSO integration test:
|
228
180
|
- signin
|
229
181
|
' WHERE "users"."id" = 5
|
230
|
-
[1m[36m (7.
|
182
|
+
[1m[36m (7.9ms)[0m [1mcommit transaction[0m
|
231
183
|
[1m[35m (0.1ms)[0m begin transaction
|
232
|
-
[1m[36m (0.
|
184
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
233
185
|
GDS_SSO integration test:
|
234
186
|
- signin
|
235
187
|
' WHERE "users"."id" = 5[0m
|
236
|
-
[1m[35m (2.
|
188
|
+
[1m[35m (2.0ms)[0m commit transaction
|
237
189
|
Redirected to http://www.example-client.com/this_requires_signin_permission
|
238
|
-
Completed 302 Found in
|
190
|
+
Completed 302 Found in 17ms (ActiveRecord: 10.9ms)
|
239
191
|
|
240
192
|
|
241
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2012-09-
|
193
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2012-09-11 10:02:01 +0000
|
242
194
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
243
195
|
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
244
|
-
Completed 200 OK in 2ms (Views: 0.
|
196
|
+
Completed 200 OK in 2ms (Views: 0.6ms | ActiveRecord: 0.2ms)
|
245
197
|
|
246
198
|
|
247
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2012-09-
|
199
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2012-09-11 10:02:01 +0000
|
248
200
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
249
201
|
Authenticating with gds_sso strategy
|
250
202
|
Completed in 0ms
|
251
203
|
|
252
204
|
|
253
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2012-09-
|
205
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2012-09-11 10:02:01 +0000
|
254
206
|
|
255
207
|
|
256
|
-
Started GET "/auth/gds/callback?code=
|
208
|
+
Started GET "/auth/gds/callback?code=767d96b4cd5158a5784e4b5c6d6312f0b693e72fc3d6184fd9ba9c897d476586&state=61a43f3371db677a3c7f84b2278c47b819576459845bc9cc" for 127.0.0.1 at 2012-09-11 10:02:02 +0000
|
257
209
|
Processing by AuthenticationsController#callback as HTML
|
258
|
-
Parameters: {"code"=>"
|
210
|
+
Parameters: {"code"=>"767d96b4cd5158a5784e4b5c6d6312f0b693e72fc3d6184fd9ba9c897d476586", "state"=>"61a43f3371db677a3c7f84b2278c47b819576459845bc9cc"}
|
259
211
|
Authenticating with gds_sso strategy
|
260
212
|
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
261
213
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
262
|
-
[1m[35m (0.
|
214
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
263
215
|
GDS_SSO integration test:
|
264
216
|
- signin
|
265
217
|
' WHERE "users"."id" = 5
|
266
|
-
[1m[36m (
|
218
|
+
[1m[36m (5.5ms)[0m [1mcommit transaction[0m
|
267
219
|
[1m[35m (0.1ms)[0m begin transaction
|
268
220
|
[1m[36m (0.2ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
269
221
|
GDS_SSO integration test:
|
270
222
|
- signin
|
271
223
|
' WHERE "users"."id" = 5[0m
|
272
|
-
[1m[35m (
|
224
|
+
[1m[35m (1.8ms)[0m commit transaction
|
273
225
|
Redirected to http://www.example-client.com/this_requires_signin_permission
|
274
|
-
Completed 302 Found in
|
226
|
+
Completed 302 Found in 13ms (ActiveRecord: 8.2ms)
|
275
227
|
|
276
228
|
|
277
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2012-09-
|
229
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2012-09-11 10:02:02 +0000
|
278
230
|
Processing by ExampleController#this_requires_signin_permission as HTML
|
279
231
|
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
280
232
|
Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.1ms)
|
281
233
|
|
282
234
|
|
283
|
-
Started GET "/restricted" for 127.0.0.1 at 2012-09-
|
235
|
+
Started GET "/restricted" for 127.0.0.1 at 2012-09-11 10:02:02 +0000
|
284
236
|
Processing by ExampleController#restricted as HTML
|
285
237
|
Authenticating with gds_sso strategy
|
286
238
|
Completed in 0ms
|
287
239
|
|
288
240
|
|
289
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2012-09-
|
241
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2012-09-11 10:02:02 +0000
|
290
242
|
|
291
243
|
|
292
|
-
Started GET "/auth/gds/callback?code=
|
244
|
+
Started GET "/auth/gds/callback?code=712ca60a2012e4b3fc6789708c2b61939b2b21cc086396baea54e9f3b0887652&state=ee049bfbaf70f4b475816a2c148d44e44691399094cff596" for 127.0.0.1 at 2012-09-11 10:02:02 +0000
|
293
245
|
Processing by AuthenticationsController#callback as HTML
|
294
|
-
Parameters: {"code"=>"
|
246
|
+
Parameters: {"code"=>"712ca60a2012e4b3fc6789708c2b61939b2b21cc086396baea54e9f3b0887652", "state"=>"ee049bfbaf70f4b475816a2c148d44e44691399094cff596"}
|
295
247
|
Authenticating with gds_sso strategy
|
296
248
|
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
297
249
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
@@ -299,660 +251,250 @@ Authenticating with gds_sso strategy
|
|
299
251
|
GDS_SSO integration test:
|
300
252
|
- signin
|
301
253
|
' WHERE "users"."id" = 5
|
302
|
-
[1m[36m (
|
303
|
-
[1m[35m (0.
|
304
|
-
[1m[36m (0.
|
254
|
+
[1m[36m (18.5ms)[0m [1mcommit transaction[0m
|
255
|
+
[1m[35m (0.1ms)[0m begin transaction
|
256
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
305
257
|
GDS_SSO integration test:
|
306
258
|
- signin
|
307
259
|
' WHERE "users"."id" = 5[0m
|
308
|
-
[1m[35m (
|
260
|
+
[1m[35m (1.9ms)[0m commit transaction
|
309
261
|
Redirected to http://www.example-client.com/restricted
|
310
|
-
Completed 302 Found in
|
262
|
+
Completed 302 Found in 27ms (ActiveRecord: 21.3ms)
|
311
263
|
|
312
264
|
|
313
|
-
Started GET "/restricted" for 127.0.0.1 at 2012-09-
|
265
|
+
Started GET "/restricted" for 127.0.0.1 at 2012-09-11 10:02:02 +0000
|
314
266
|
Processing by ExampleController#restricted as HTML
|
315
|
-
[1m[36mUser Load (0.
|
316
|
-
Completed 200 OK in
|
267
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
268
|
+
Completed 200 OK in 2ms (Views: 0.6ms | ActiveRecord: 0.2ms)
|
317
269
|
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
318
|
-
[1m[36m (0.
|
319
|
-
[1m[35m (0.
|
270
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
271
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "remotely_signed_out" = 't', "permissions" = '---
|
320
272
|
GDS_SSO integration test:
|
321
273
|
- signin
|
322
274
|
' WHERE "users"."id" = 5
|
323
|
-
[1m[36m (2.
|
275
|
+
[1m[36m (2.6ms)[0m [1mcommit transaction[0m
|
324
276
|
|
325
277
|
|
326
|
-
Started GET "/restricted" for 127.0.0.1 at 2012-09-
|
278
|
+
Started GET "/restricted" for 127.0.0.1 at 2012-09-11 10:02:02 +0000
|
327
279
|
Processing by ExampleController#restricted as HTML
|
328
280
|
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
329
281
|
Filter chain halted as :authenticate_user! rendered or redirected
|
330
|
-
Completed 403 Forbidden in
|
282
|
+
Completed 403 Forbidden in 65ms (Views: 63.5ms | ActiveRecord: 0.1ms)
|
331
283
|
|
332
284
|
|
333
|
-
Started GET "/auth/gds/sign_out" for 127.0.0.1 at 2012-09-
|
285
|
+
Started GET "/auth/gds/sign_out" for 127.0.0.1 at 2012-09-11 10:02:02 +0000
|
334
286
|
Processing by AuthenticationsController#sign_out as HTML
|
335
287
|
Redirected to http://localhost:4567/users/sign_out
|
336
288
|
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
337
289
|
|
338
290
|
|
339
|
-
Started GET "/restricted" for 127.0.0.1 at 2012-09-
|
291
|
+
Started GET "/restricted" for 127.0.0.1 at 2012-09-11 10:02:03 +0000
|
340
292
|
Processing by ExampleController#restricted as HTML
|
341
293
|
Authenticating with gds_sso strategy
|
342
294
|
Completed in 0ms
|
343
295
|
|
344
296
|
|
345
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2012-09-
|
297
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2012-09-11 10:02:03 +0000
|
346
298
|
|
347
299
|
|
348
|
-
Started GET "/auth/gds/callback?code=
|
300
|
+
Started GET "/auth/gds/callback?code=472ae08fd98a1ca4a5beb68c24d61d6061a483be0aa092b202711316e5c2b964&state=7dea408a684c3e330be0b5500ac3f72720ea392f324a8a13" for 127.0.0.1 at 2012-09-11 10:02:03 +0000
|
349
301
|
Processing by AuthenticationsController#callback as HTML
|
350
|
-
Parameters: {"code"=>"
|
302
|
+
Parameters: {"code"=>"472ae08fd98a1ca4a5beb68c24d61d6061a483be0aa092b202711316e5c2b964", "state"=>"7dea408a684c3e330be0b5500ac3f72720ea392f324a8a13"}
|
351
303
|
Authenticating with gds_sso strategy
|
352
304
|
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
353
305
|
[1m[35m (0.1ms)[0m begin transaction
|
354
|
-
[1m[36m (0.
|
306
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
355
307
|
GDS_SSO integration test:
|
356
308
|
- signin
|
357
309
|
' WHERE "users"."id" = 5[0m
|
358
|
-
[1m[35m (9.
|
310
|
+
[1m[35m (9.3ms)[0m commit transaction
|
359
311
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
360
312
|
[1m[35m (0.2ms)[0m UPDATE "users" SET "remotely_signed_out" = 'f', "permissions" = '---
|
361
313
|
GDS_SSO integration test:
|
362
314
|
- signin
|
363
315
|
' WHERE "users"."id" = 5
|
364
|
-
[1m[36m (
|
316
|
+
[1m[36m (1.8ms)[0m [1mcommit transaction[0m
|
365
317
|
Redirected to http://www.example-client.com/restricted
|
366
|
-
Completed 302 Found in
|
318
|
+
Completed 302 Found in 16ms (ActiveRecord: 11.8ms)
|
367
319
|
|
368
320
|
|
369
|
-
Started GET "/restricted" for 127.0.0.1 at 2012-09-
|
321
|
+
Started GET "/restricted" for 127.0.0.1 at 2012-09-11 10:02:03 +0000
|
370
322
|
Processing by ExampleController#restricted as HTML
|
371
323
|
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
372
324
|
Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.1ms)
|
373
325
|
|
374
326
|
|
375
|
-
Started GET "/restricted" for 127.0.0.1 at 2012-09-
|
327
|
+
Started GET "/restricted" for 127.0.0.1 at 2012-09-11 10:02:03 +0000
|
376
328
|
Processing by ExampleController#restricted as HTML
|
377
329
|
Authenticating with gds_sso strategy
|
378
330
|
Completed in 0ms
|
379
331
|
|
380
332
|
|
381
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2012-09-
|
333
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2012-09-11 10:02:03 +0000
|
382
334
|
|
383
335
|
|
384
|
-
Started GET "/auth/gds/callback?code=
|
336
|
+
Started GET "/auth/gds/callback?code=5b0fc8e24c8ca6591c9b8065ff6fed1ee7e43855b918baad2e3d9d317f911b17&state=ce98454ef561cccbf83d6cab3ea3441f498dd7e9171a14c2" for 127.0.0.1 at 2012-09-11 10:02:03 +0000
|
385
337
|
Processing by AuthenticationsController#callback as HTML
|
386
|
-
Parameters: {"code"=>"
|
338
|
+
Parameters: {"code"=>"5b0fc8e24c8ca6591c9b8065ff6fed1ee7e43855b918baad2e3d9d317f911b17", "state"=>"ce98454ef561cccbf83d6cab3ea3441f498dd7e9171a14c2"}
|
387
339
|
Authenticating with gds_sso strategy
|
388
|
-
[1m[36mUser Load (0.
|
340
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
389
341
|
[1m[35m (0.1ms)[0m begin transaction
|
390
|
-
[1m[36m (0.
|
342
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
391
343
|
GDS_SSO integration test:
|
392
344
|
- signin
|
393
345
|
' WHERE "users"."id" = 5[0m
|
394
|
-
[1m[35m (
|
346
|
+
[1m[35m (16.5ms)[0m commit transaction
|
395
347
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
396
|
-
[1m[35m (0.
|
348
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
397
349
|
GDS_SSO integration test:
|
398
350
|
- signin
|
399
351
|
' WHERE "users"."id" = 5
|
400
352
|
[1m[36m (2.8ms)[0m [1mcommit transaction[0m
|
401
353
|
Redirected to http://www.example-client.com/restricted
|
402
|
-
Completed 302 Found in
|
354
|
+
Completed 302 Found in 26ms (ActiveRecord: 20.3ms)
|
403
355
|
|
404
356
|
|
405
|
-
Started GET "/restricted" for 127.0.0.1 at 2012-09-
|
357
|
+
Started GET "/restricted" for 127.0.0.1 at 2012-09-11 10:02:03 +0000
|
406
358
|
Processing by ExampleController#restricted as HTML
|
407
|
-
[1m[35mUser Load (0.
|
408
|
-
Completed 200 OK in 2ms (Views: 0.6ms | ActiveRecord: 0.
|
359
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
360
|
+
Completed 200 OK in 2ms (Views: 0.6ms | ActiveRecord: 0.2ms)
|
409
361
|
|
410
362
|
|
411
|
-
Started GET "/restricted" for 127.0.0.1 at 2012-09-
|
363
|
+
Started GET "/restricted" for 127.0.0.1 at 2012-09-12 06:07:03 +0000
|
412
364
|
Processing by ExampleController#restricted as HTML
|
413
365
|
Authenticating with gds_sso strategy
|
414
366
|
Completed in 0ms
|
415
367
|
|
416
368
|
|
417
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2012-09-
|
369
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2012-09-12 06:07:03 +0000
|
418
370
|
|
419
371
|
|
420
|
-
Started GET "/auth/gds/callback?code=
|
372
|
+
Started GET "/auth/gds/callback?code=0f062933a2c6b3dd7d81bc94783a1a956488a2657e89d852cdfef83d753e094f&state=a2bc36a88756773441cfb3d4f70a93dfcc6cec5168b2d967" for 127.0.0.1 at 2012-09-12 06:07:03 +0000
|
421
373
|
Processing by AuthenticationsController#callback as HTML
|
422
|
-
Parameters: {"code"=>"
|
374
|
+
Parameters: {"code"=>"0f062933a2c6b3dd7d81bc94783a1a956488a2657e89d852cdfef83d753e094f", "state"=>"a2bc36a88756773441cfb3d4f70a93dfcc6cec5168b2d967"}
|
423
375
|
Authenticating with gds_sso strategy
|
424
376
|
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
425
377
|
[1m[35m (0.1ms)[0m begin transaction
|
426
|
-
[1m[36m (0.
|
378
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
427
379
|
GDS_SSO integration test:
|
428
380
|
- signin
|
429
381
|
' WHERE "users"."id" = 5[0m
|
430
|
-
[1m[35m (8.
|
382
|
+
[1m[35m (8.7ms)[0m commit transaction
|
431
383
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
432
|
-
[1m[35m (0.
|
384
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
433
385
|
GDS_SSO integration test:
|
434
386
|
- signin
|
435
387
|
' WHERE "users"."id" = 5
|
436
|
-
[1m[36m (
|
388
|
+
[1m[36m (1.9ms)[0m [1mcommit transaction[0m
|
437
389
|
Redirected to http://www.example-client.com/restricted
|
438
|
-
Completed 302 Found in 17ms (ActiveRecord: 11.
|
390
|
+
Completed 302 Found in 17ms (ActiveRecord: 11.5ms)
|
439
391
|
|
440
392
|
|
441
|
-
Started GET "/restricted" for 127.0.0.1 at 2012-09-
|
393
|
+
Started GET "/restricted" for 127.0.0.1 at 2012-09-12 06:07:03 +0000
|
442
394
|
Processing by ExampleController#restricted as HTML
|
443
395
|
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
444
396
|
Completed 200 OK in 2ms (Views: 0.5ms | ActiveRecord: 0.2ms)
|
445
397
|
|
446
398
|
|
447
|
-
Started GET "/restricted" for 127.0.0.1 at 2012-09-
|
399
|
+
Started GET "/restricted" for 127.0.0.1 at 2012-09-11 10:02:03 +0000
|
448
400
|
Processing by ExampleController#restricted as HTML
|
449
401
|
Authenticating with gds_sso strategy
|
450
402
|
Completed in 0ms
|
451
403
|
|
452
404
|
|
453
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2012-09-
|
405
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2012-09-11 10:02:03 +0000
|
454
406
|
|
455
407
|
|
456
|
-
Started GET "/auth/gds/callback?code=
|
408
|
+
Started GET "/auth/gds/callback?code=390edc06dfc6ad00a3f5b9f7c707f2e294d752627dcf2973dc6a444203fc347a&state=492aa5f66f74fe69b4f9ef2143cfb218b5d5c77a057e577c" for 127.0.0.1 at 2012-09-11 10:02:04 +0000
|
457
409
|
Processing by AuthenticationsController#callback as HTML
|
458
|
-
Parameters: {"code"=>"
|
410
|
+
Parameters: {"code"=>"390edc06dfc6ad00a3f5b9f7c707f2e294d752627dcf2973dc6a444203fc347a", "state"=>"492aa5f66f74fe69b4f9ef2143cfb218b5d5c77a057e577c"}
|
459
411
|
Authenticating with gds_sso strategy
|
460
412
|
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
461
413
|
[1m[35m (0.1ms)[0m begin transaction
|
462
|
-
[1m[36m (0.
|
414
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
463
415
|
GDS_SSO integration test:
|
464
416
|
- signin
|
465
417
|
' WHERE "users"."id" = 5[0m
|
466
|
-
[1m[35m (
|
418
|
+
[1m[35m (6.0ms)[0m commit transaction
|
467
419
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
468
420
|
[1m[35m (0.2ms)[0m UPDATE "users" SET "permissions" = '---
|
469
421
|
GDS_SSO integration test:
|
470
422
|
- signin
|
471
423
|
' WHERE "users"."id" = 5
|
472
|
-
[1m[36m (2.
|
424
|
+
[1m[36m (2.1ms)[0m [1mcommit transaction[0m
|
473
425
|
Redirected to http://www.example-client.com/restricted
|
474
|
-
Completed 302 Found in
|
426
|
+
Completed 302 Found in 16ms (ActiveRecord: 9.0ms)
|
475
427
|
|
476
428
|
|
477
|
-
Started GET "/restricted" for 127.0.0.1 at 2012-09-
|
429
|
+
Started GET "/restricted" for 127.0.0.1 at 2012-09-11 10:02:04 +0000
|
478
430
|
Processing by ExampleController#restricted as HTML
|
479
431
|
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
480
432
|
Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.1ms)
|
481
433
|
|
482
434
|
|
483
|
-
Started GET "/restricted" for 127.0.0.1 at 2012-09-
|
435
|
+
Started GET "/restricted" for 127.0.0.1 at 2012-09-12 05:57:04 +0000
|
484
436
|
Processing by ExampleController#restricted as HTML
|
485
437
|
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
486
438
|
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
487
439
|
|
488
440
|
|
489
|
-
Started GET "/restricted" for 127.0.0.1 at 2012-09-
|
441
|
+
Started GET "/restricted" for 127.0.0.1 at 2012-09-11 10:02:04 +0000
|
490
442
|
Processing by ExampleController#restricted as JSON
|
491
443
|
Authenticating with gds_sso_api_access strategy
|
492
|
-
Completed in
|
444
|
+
Completed in 47ms
|
493
445
|
|
494
446
|
|
495
|
-
Started GET "/restricted" for 127.0.0.1 at 2012-09-
|
447
|
+
Started GET "/restricted" for 127.0.0.1 at 2012-09-11 10:02:04 +0000
|
496
448
|
Processing by ExampleController#restricted as JSON
|
497
449
|
Authenticating with gds_sso_api_access strategy
|
498
|
-
Completed 200 OK in 1ms (Views: 0.
|
450
|
+
Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
|
499
451
|
|
500
452
|
|
501
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2012-09-
|
453
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2012-09-11 10:02:04 +0000
|
502
454
|
Processing by ExampleController#this_requires_signin_permission as JSON
|
503
455
|
Authenticating with gds_sso_api_access strategy
|
504
456
|
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
505
|
-
Connecting to database specified by database.yml
|
506
|
-
[1m[36m (2.6ms)[0m [1mselect sqlite_version(*)[0m
|
507
|
-
[1m[35m (15.2ms)[0m DROP TABLE "users"
|
508
|
-
[1m[36m (3.2ms)[0m [1mCREATE 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) [0m
|
509
|
-
[1m[35m (0.1ms)[0m begin transaction
|
510
|
-
[1m[36mSQL (7.4ms)[0m [1mINSERT INTO "users" ("email", "name", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?)[0m [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "--- \nGDS_SSO integration test: \n- signin\n"], ["remotely_signed_out", nil], ["uid", "a1s2d36341"]]
|
511
|
-
[1m[35m (2.8ms)[0m commit transaction
|
512
|
-
WARNING: Can't mass-assign protected attributes: uid, name, permissions
|
513
|
-
Processing by Api::UserController#update as HTML
|
514
|
-
Parameters: {"uid"=>"a1s2d36341"}
|
515
|
-
Rendered /mnt/jenkins/workspace/GDS-SSO/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (3.3ms)
|
516
|
-
Completed 403 Forbidden in 54ms (Views: 52.9ms | ActiveRecord: 0.0ms)
|
517
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
518
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("email", "name", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?) [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "--- \nGDS_SSO integration test: \n- signin\n"], ["remotely_signed_out", nil], ["uid", "a1s2d35869"]]
|
519
|
-
[1m[36m (2.7ms)[0m [1mcommit transaction[0m
|
520
|
-
Processing by Api::UserController#update as HTML
|
521
|
-
Parameters: {"uid"=>"a1s2d35869"}
|
522
|
-
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'a1s2d35869' LIMIT 1
|
523
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
524
|
-
[1m[35m (5.7ms)[0m UPDATE "users" SET "email" = 'user@domain.com', "name" = 'Joshua Marshall', "permissions" = '---
|
525
|
-
GDS_SSO integration test:
|
526
|
-
- signin
|
527
|
-
- new permission
|
528
|
-
' WHERE "users"."id" = 2
|
529
|
-
[1m[36m (2.8ms)[0m [1mcommit transaction[0m
|
530
|
-
Completed 200 OK in 58ms (ActiveRecord: 8.8ms)
|
531
|
-
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
|
532
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
533
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("email", "name", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?) [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "--- \nGDS_SSO integration test: \n- signin\n"], ["remotely_signed_out", nil], ["uid", "a1s2d33885"]]
|
534
|
-
[1m[36m (2.2ms)[0m [1mcommit transaction[0m
|
535
|
-
WARNING: Can't mass-assign protected attributes: uid, name, permissions
|
536
|
-
Processing by Api::UserController#reauth as HTML
|
537
|
-
Parameters: {"uid"=>"a1s2d33885"}
|
538
|
-
Completed 403 Forbidden in 2ms (Views: 1.1ms | ActiveRecord: 0.0ms)
|
539
|
-
[1m[35m (0.1ms)[0m begin transaction
|
540
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("email", "name", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?)[0m [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "--- \nGDS_SSO integration test: \n- signin\n"], ["remotely_signed_out", nil], ["uid", "a1s2d37520"]]
|
541
|
-
[1m[35m (2.2ms)[0m commit transaction
|
542
|
-
Processing by Api::UserController#reauth as HTML
|
543
|
-
Parameters: {"uid"=>"a1s2d37520"}
|
544
|
-
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'a1s2d37520' LIMIT 1[0m
|
545
|
-
[1m[35m (0.0ms)[0m begin transaction
|
546
|
-
[1m[36m (0.2ms)[0m [1mUPDATE "users" SET "remotely_signed_out" = 't', "permissions" = '---
|
547
|
-
GDS_SSO integration test:
|
548
|
-
- signin
|
549
|
-
' WHERE "users"."id" = 4[0m
|
550
|
-
[1m[35m (2.4ms)[0m commit transaction
|
551
|
-
Completed 200 OK in 5ms (ActiveRecord: 2.8ms)
|
552
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 4]]
|
553
|
-
|
554
|
-
|
555
|
-
Started GET "/" for 127.0.0.1 at 2012-09-03 16:59:11 +0000
|
556
|
-
Processing by ExampleController#index as HTML
|
557
|
-
Completed 200 OK in 6ms (Views: 5.2ms | ActiveRecord: 0.0ms)
|
558
|
-
|
559
|
-
|
560
|
-
Started GET "/restricted" for 127.0.0.1 at 2012-09-03 16:59:11 +0000
|
561
|
-
Processing by ExampleController#restricted as HTML
|
562
|
-
Authenticating with gds_sso strategy
|
563
|
-
Completed in 17ms
|
564
|
-
|
565
|
-
|
566
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2012-09-03 16:59:11 +0000
|
567
|
-
|
568
|
-
|
569
|
-
Started GET "/auth/gds/callback?code=81cda0826d64a158b5d95a3f56dbf4271e579302f7a08627ecc82c9edce2cf24&state=f8164ca491d63bf1debf98ffda5e5d77e966cab765b4d94e" for 127.0.0.1 at 2012-09-03 16:59:12 +0000
|
570
|
-
Processing by AuthenticationsController#callback as HTML
|
571
|
-
Parameters: {"code"=>"81cda0826d64a158b5d95a3f56dbf4271e579302f7a08627ecc82c9edce2cf24", "state"=>"f8164ca491d63bf1debf98ffda5e5d77e966cab765b4d94e"}
|
572
|
-
Authenticating with gds_sso strategy
|
573
|
-
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
574
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
575
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("email", "name", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?) [["email", "test@example-client.com"], ["name", "Test User"], ["permissions", "--- \nGDS_SSO integration test: \n- signin\n"], ["remotely_signed_out", nil], ["uid", "integration-uid"]]
|
576
|
-
[1m[36m (11.8ms)[0m [1mcommit transaction[0m
|
577
|
-
[1m[35m (0.0ms)[0m begin transaction
|
578
|
-
[1m[36m (0.2ms)[0m [1mUPDATE "users" SET "remotely_signed_out" = 'f', "permissions" = '---
|
579
|
-
GDS_SSO integration test:
|
580
|
-
- signin
|
581
|
-
' WHERE "users"."id" = 5[0m
|
582
|
-
[1m[35m (2.7ms)[0m commit transaction
|
583
|
-
Redirected to http://www.example-client.com/restricted
|
584
|
-
Completed 302 Found in 21ms (ActiveRecord: 15.3ms)
|
585
|
-
|
586
|
-
|
587
|
-
Started GET "/restricted" for 127.0.0.1 at 2012-09-03 16:59:12 +0000
|
588
|
-
Processing by ExampleController#restricted as HTML
|
589
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
590
|
-
Completed 200 OK in 2ms (Views: 0.5ms | ActiveRecord: 0.1ms)
|
591
|
-
|
592
|
-
|
593
|
-
Started GET "/restricted" for 127.0.0.1 at 2012-09-03 16:59:12 +0000
|
594
|
-
Processing by ExampleController#restricted as HTML
|
595
|
-
Authenticating with gds_sso strategy
|
596
|
-
Completed in 0ms
|
597
|
-
|
598
|
-
|
599
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2012-09-03 16:59:12 +0000
|
600
457
|
|
601
458
|
|
602
|
-
Started GET "/
|
603
|
-
Processing by
|
604
|
-
|
605
|
-
|
606
|
-
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
607
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
608
|
-
[1m[35m (0.2ms)[0m UPDATE "users" SET "permissions" = '---
|
609
|
-
GDS_SSO integration test:
|
610
|
-
- signin
|
611
|
-
' WHERE "users"."id" = 5
|
612
|
-
[1m[36m (6.5ms)[0m [1mcommit transaction[0m
|
613
|
-
[1m[35m (0.1ms)[0m begin transaction
|
614
|
-
[1m[36m (0.2ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
615
|
-
GDS_SSO integration test:
|
616
|
-
- signin
|
617
|
-
' WHERE "users"."id" = 5[0m
|
618
|
-
[1m[35m (2.7ms)[0m commit transaction
|
619
|
-
Redirected to http://www.example-client.com/restricted
|
620
|
-
Completed 302 Found in 16ms (ActiveRecord: 10.0ms)
|
621
|
-
|
622
|
-
|
623
|
-
Started GET "/restricted" for 127.0.0.1 at 2012-09-03 16:59:12 +0000
|
624
|
-
Processing by ExampleController#restricted as HTML
|
625
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
626
|
-
Completed 200 OK in 2ms (Views: 0.6ms | ActiveRecord: 0.1ms)
|
627
|
-
|
628
|
-
|
629
|
-
Started GET "/restricted" for 127.0.0.1 at 2012-09-03 16:59:12 +0000
|
630
|
-
Processing by ExampleController#restricted as HTML
|
631
|
-
Authenticating with gds_sso strategy
|
632
|
-
Completed in 0ms
|
633
|
-
|
634
|
-
|
635
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2012-09-03 16:59:13 +0000
|
636
|
-
|
637
|
-
|
638
|
-
Started GET "/auth/gds/callback?code=6e3c37583e10792679a530a49025f242343843376b8b0127cdafcea564e05a37&state=209f831be25313ef857cd21db7709427a9a5ea052e058946" for 127.0.0.1 at 2012-09-03 16:59:13 +0000
|
639
|
-
Processing by AuthenticationsController#callback as HTML
|
640
|
-
Parameters: {"code"=>"6e3c37583e10792679a530a49025f242343843376b8b0127cdafcea564e05a37", "state"=>"209f831be25313ef857cd21db7709427a9a5ea052e058946"}
|
641
|
-
Authenticating with gds_sso strategy
|
642
|
-
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
643
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
644
|
-
[1m[35m (0.2ms)[0m UPDATE "users" SET "permissions" = '---
|
645
|
-
GDS_SSO integration test:
|
646
|
-
- signin
|
647
|
-
' WHERE "users"."id" = 5
|
648
|
-
[1m[36m (10.5ms)[0m [1mcommit transaction[0m
|
649
|
-
[1m[35m (0.0ms)[0m begin transaction
|
650
|
-
[1m[36m (0.2ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
651
|
-
GDS_SSO integration test:
|
652
|
-
- signin
|
653
|
-
' WHERE "users"."id" = 5[0m
|
654
|
-
[1m[35m (2.8ms)[0m commit transaction
|
655
|
-
Redirected to http://www.example-client.com/restricted
|
656
|
-
Completed 302 Found in 18ms (ActiveRecord: 13.9ms)
|
657
|
-
|
658
|
-
|
659
|
-
Started GET "/restricted" for 127.0.0.1 at 2012-09-03 16:59:13 +0000
|
660
|
-
Processing by ExampleController#restricted as HTML
|
661
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
662
|
-
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
663
|
-
|
664
|
-
|
665
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2012-09-03 16:59:13 +0000
|
666
|
-
Processing by ExampleController#this_requires_signin_permission as HTML
|
667
|
-
Authenticating with gds_sso strategy
|
668
|
-
Completed in 1ms
|
669
|
-
|
670
|
-
|
671
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2012-09-03 16:59:13 +0000
|
459
|
+
Started GET "/restricted" for 127.0.0.1 at 2012-09-11 10:02:04 +0000
|
460
|
+
Processing by ExampleController#restricted as JSON
|
461
|
+
Authenticating with gds_bearer_token strategy
|
462
|
+
Completed in 19ms
|
672
463
|
|
673
464
|
|
674
|
-
Started GET "/
|
675
|
-
Processing by
|
676
|
-
|
677
|
-
Authenticating with gds_sso strategy
|
465
|
+
Started GET "/restricted" for 127.0.0.1 at 2012-09-11 10:02:04 +0000
|
466
|
+
Processing by ExampleController#restricted as JSON
|
467
|
+
Authenticating with gds_bearer_token strategy
|
678
468
|
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
679
469
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
680
|
-
[1m[35m (0.
|
681
|
-
GDS_SSO integration test:
|
682
|
-
- signin
|
683
|
-
' WHERE "users"."id" = 5
|
684
|
-
[1m[36m (8.1ms)[0m [1mcommit transaction[0m
|
685
|
-
[1m[35m (0.1ms)[0m begin transaction
|
686
|
-
[1m[36m (0.2ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
687
|
-
GDS_SSO integration test:
|
688
|
-
- signin
|
689
|
-
' WHERE "users"."id" = 5[0m
|
690
|
-
[1m[35m (2.6ms)[0m commit transaction
|
691
|
-
Redirected to http://www.example-client.com/this_requires_signin_permission
|
692
|
-
Completed 302 Found in 17ms (ActiveRecord: 11.6ms)
|
693
|
-
|
694
|
-
|
695
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2012-09-03 16:59:13 +0000
|
696
|
-
Processing by ExampleController#this_requires_signin_permission as HTML
|
697
|
-
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
698
|
-
Completed 200 OK in 2ms (Views: 0.5ms | ActiveRecord: 0.2ms)
|
699
|
-
|
700
|
-
|
701
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2012-09-03 16:59:13 +0000
|
702
|
-
Processing by ExampleController#this_requires_signin_permission as HTML
|
703
|
-
Authenticating with gds_sso strategy
|
704
|
-
Completed in 0ms
|
705
|
-
|
706
|
-
|
707
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2012-09-03 16:59:13 +0000
|
708
|
-
|
709
|
-
|
710
|
-
Started GET "/auth/gds/callback?code=b01359e06edda1882a7ce7358ca7a0125a924eeb82f8b6790528e4f6e8ac0f77&state=dce53540d826d70256f10b732de1d7a7a6b5001dbe912fb9" for 127.0.0.1 at 2012-09-03 16:59:13 +0000
|
711
|
-
Processing by AuthenticationsController#callback as HTML
|
712
|
-
Parameters: {"code"=>"b01359e06edda1882a7ce7358ca7a0125a924eeb82f8b6790528e4f6e8ac0f77", "state"=>"dce53540d826d70256f10b732de1d7a7a6b5001dbe912fb9"}
|
713
|
-
Authenticating with gds_sso strategy
|
714
|
-
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
715
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
716
|
-
[1m[35m (0.2ms)[0m UPDATE "users" SET "permissions" = '---
|
717
|
-
GDS_SSO integration test:
|
718
|
-
- signin
|
719
|
-
' WHERE "users"."id" = 5
|
720
|
-
[1m[36m (8.8ms)[0m [1mcommit transaction[0m
|
721
|
-
[1m[35m (0.1ms)[0m begin transaction
|
722
|
-
[1m[36m (0.2ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
723
|
-
GDS_SSO integration test:
|
724
|
-
- signin
|
725
|
-
' WHERE "users"."id" = 5[0m
|
726
|
-
[1m[35m (2.8ms)[0m commit transaction
|
727
|
-
Redirected to http://www.example-client.com/this_requires_signin_permission
|
728
|
-
Completed 302 Found in 18ms (ActiveRecord: 12.4ms)
|
729
|
-
|
730
|
-
|
731
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2012-09-03 16:59:13 +0000
|
732
|
-
Processing by ExampleController#this_requires_signin_permission as HTML
|
733
|
-
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
734
|
-
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.2ms)
|
735
|
-
|
736
|
-
|
737
|
-
Started GET "/restricted" for 127.0.0.1 at 2012-09-03 16:59:13 +0000
|
738
|
-
Processing by ExampleController#restricted as HTML
|
739
|
-
Authenticating with gds_sso strategy
|
740
|
-
Completed in 0ms
|
741
|
-
|
742
|
-
|
743
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2012-09-03 16:59:13 +0000
|
744
|
-
|
745
|
-
|
746
|
-
Started GET "/auth/gds/callback?code=7e61f8126ce10aec160bcef5d5fa0aac3dacf4577d74da64ec96e4ab526a1f62&state=e0a7039034a8b84750a7cc1fb55d3c653f7f65148953a4dd" for 127.0.0.1 at 2012-09-03 16:59:14 +0000
|
747
|
-
Processing by AuthenticationsController#callback as HTML
|
748
|
-
Parameters: {"code"=>"7e61f8126ce10aec160bcef5d5fa0aac3dacf4577d74da64ec96e4ab526a1f62", "state"=>"e0a7039034a8b84750a7cc1fb55d3c653f7f65148953a4dd"}
|
749
|
-
Authenticating with gds_sso strategy
|
750
|
-
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
751
|
-
[1m[36m (1.5ms)[0m [1mbegin transaction[0m
|
752
|
-
[1m[35m (4.7ms)[0m UPDATE "users" SET "permissions" = '---
|
753
|
-
GDS_SSO integration test:
|
754
|
-
- signin
|
755
|
-
' WHERE "users"."id" = 5
|
756
|
-
[1m[36m (11.8ms)[0m [1mcommit transaction[0m
|
757
|
-
[1m[35m (0.0ms)[0m begin transaction
|
758
|
-
[1m[36m (0.2ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
759
|
-
GDS_SSO integration test:
|
760
|
-
- signin
|
761
|
-
' WHERE "users"."id" = 5[0m
|
762
|
-
[1m[35m (2.3ms)[0m commit transaction
|
763
|
-
Redirected to http://www.example-client.com/restricted
|
764
|
-
Completed 302 Found in 76ms (ActiveRecord: 20.8ms)
|
765
|
-
|
766
|
-
|
767
|
-
Started GET "/restricted" for 127.0.0.1 at 2012-09-03 16:59:14 +0000
|
768
|
-
Processing by ExampleController#restricted as HTML
|
769
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
770
|
-
Completed 200 OK in 2ms (Views: 0.6ms | ActiveRecord: 0.1ms)
|
771
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
772
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
773
|
-
[1m[35m (0.2ms)[0m UPDATE "users" SET "remotely_signed_out" = 't', "permissions" = '---
|
774
|
-
GDS_SSO integration test:
|
775
|
-
- signin
|
776
|
-
' WHERE "users"."id" = 5
|
777
|
-
[1m[36m (2.2ms)[0m [1mcommit transaction[0m
|
778
|
-
|
779
|
-
|
780
|
-
Started GET "/restricted" for 127.0.0.1 at 2012-09-03 16:59:14 +0000
|
781
|
-
Processing by ExampleController#restricted as HTML
|
782
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
783
|
-
Filter chain halted as :authenticate_user! rendered or redirected
|
784
|
-
Completed 403 Forbidden in 3ms (Views: 2.3ms | ActiveRecord: 0.1ms)
|
785
|
-
|
786
|
-
|
787
|
-
Started GET "/auth/gds/sign_out" for 127.0.0.1 at 2012-09-03 16:59:14 +0000
|
788
|
-
Processing by AuthenticationsController#sign_out as HTML
|
789
|
-
Redirected to http://localhost:4567/users/sign_out
|
790
|
-
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
791
|
-
|
792
|
-
|
793
|
-
Started GET "/restricted" for 127.0.0.1 at 2012-09-03 16:59:14 +0000
|
794
|
-
Processing by ExampleController#restricted as HTML
|
795
|
-
Authenticating with gds_sso strategy
|
796
|
-
Completed in 0ms
|
797
|
-
|
798
|
-
|
799
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2012-09-03 16:59:14 +0000
|
800
|
-
|
801
|
-
|
802
|
-
Started GET "/auth/gds/callback?code=f3f37641bd5cbc7956578adbd392068404377058a773db1aabeb97566a792933&state=e909edc3882fe2fa5a8c936eaf97ec15c120b755dce5a80b" for 127.0.0.1 at 2012-09-03 16:59:14 +0000
|
803
|
-
Processing by AuthenticationsController#callback as HTML
|
804
|
-
Parameters: {"code"=>"f3f37641bd5cbc7956578adbd392068404377058a773db1aabeb97566a792933", "state"=>"e909edc3882fe2fa5a8c936eaf97ec15c120b755dce5a80b"}
|
805
|
-
Authenticating with gds_sso strategy
|
806
|
-
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
807
|
-
[1m[35m (0.1ms)[0m begin transaction
|
808
|
-
[1m[36m (0.2ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
809
|
-
GDS_SSO integration test:
|
810
|
-
- signin
|
811
|
-
' WHERE "users"."id" = 5[0m
|
812
|
-
[1m[35m (9.1ms)[0m commit transaction
|
813
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
814
|
-
[1m[35m (0.2ms)[0m UPDATE "users" SET "remotely_signed_out" = 'f', "permissions" = '---
|
470
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
815
471
|
GDS_SSO integration test:
|
816
472
|
- signin
|
817
473
|
' WHERE "users"."id" = 5
|
818
|
-
[1m[36m (
|
819
|
-
Redirected to http://www.example-client.com/restricted
|
820
|
-
Completed 302 Found in 17ms (ActiveRecord: 12.8ms)
|
821
|
-
|
822
|
-
|
823
|
-
Started GET "/restricted" for 127.0.0.1 at 2012-09-03 16:59:14 +0000
|
824
|
-
Processing by ExampleController#restricted as HTML
|
825
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
826
|
-
Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.1ms)
|
827
|
-
|
828
|
-
|
829
|
-
Started GET "/restricted" for 127.0.0.1 at 2012-09-03 16:59:14 +0000
|
830
|
-
Processing by ExampleController#restricted as HTML
|
831
|
-
Authenticating with gds_sso strategy
|
832
|
-
Completed in 0ms
|
833
|
-
|
834
|
-
|
835
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2012-09-03 16:59:14 +0000
|
836
|
-
|
837
|
-
|
838
|
-
Started GET "/auth/gds/callback?code=fde173b3b12f1e261db71b38ef82c2007a7aa5f801b01f4e2aa54f3800e6b4ba&state=4ae6e309bd84d88d18c92233aab0f0ff911e15e2c1ed5d0d" for 127.0.0.1 at 2012-09-03 16:59:15 +0000
|
839
|
-
Processing by AuthenticationsController#callback as HTML
|
840
|
-
Parameters: {"code"=>"fde173b3b12f1e261db71b38ef82c2007a7aa5f801b01f4e2aa54f3800e6b4ba", "state"=>"4ae6e309bd84d88d18c92233aab0f0ff911e15e2c1ed5d0d"}
|
841
|
-
Authenticating with gds_sso strategy
|
842
|
-
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
474
|
+
[1m[36m (6.9ms)[0m [1mcommit transaction[0m
|
843
475
|
[1m[35m (0.1ms)[0m begin transaction
|
844
|
-
[1m[36m (0.
|
845
|
-
GDS_SSO integration test:
|
846
|
-
- signin
|
847
|
-
' WHERE "users"."id" = 5[0m
|
848
|
-
[1m[35m (7.0ms)[0m commit transaction
|
849
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
850
|
-
[1m[35m (0.2ms)[0m UPDATE "users" SET "permissions" = '---
|
851
|
-
GDS_SSO integration test:
|
852
|
-
- signin
|
853
|
-
' WHERE "users"."id" = 5
|
854
|
-
[1m[36m (2.2ms)[0m [1mcommit transaction[0m
|
855
|
-
Redirected to http://www.example-client.com/restricted
|
856
|
-
Completed 302 Found in 16ms (ActiveRecord: 9.9ms)
|
857
|
-
|
858
|
-
|
859
|
-
Started GET "/restricted" for 127.0.0.1 at 2012-09-03 16:59:15 +0000
|
860
|
-
Processing by ExampleController#restricted as HTML
|
861
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
862
|
-
Completed 200 OK in 2ms (Views: 0.6ms | ActiveRecord: 0.1ms)
|
863
|
-
|
864
|
-
|
865
|
-
Started GET "/restricted" for 127.0.0.1 at 2012-09-04 13:04:15 +0000
|
866
|
-
Processing by ExampleController#restricted as HTML
|
867
|
-
Authenticating with gds_sso strategy
|
868
|
-
Completed in 0ms
|
869
|
-
|
870
|
-
|
871
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2012-09-04 13:04:15 +0000
|
872
|
-
|
873
|
-
|
874
|
-
Started GET "/auth/gds/callback?code=28665d2bbb7c40b2c1c0d48743f3953cbe1639b1f82e20ce907e0920b51d1f7b&state=837341d3cc5519d88bb79a1995ea1d8fa3f705ae3799ac91" for 127.0.0.1 at 2012-09-04 13:04:15 +0000
|
875
|
-
Processing by AuthenticationsController#callback as HTML
|
876
|
-
Parameters: {"code"=>"28665d2bbb7c40b2c1c0d48743f3953cbe1639b1f82e20ce907e0920b51d1f7b", "state"=>"837341d3cc5519d88bb79a1995ea1d8fa3f705ae3799ac91"}
|
877
|
-
Authenticating with gds_sso strategy
|
878
|
-
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
879
|
-
[1m[35m (1.2ms)[0m begin transaction
|
880
|
-
[1m[36m (0.2ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
476
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
881
477
|
GDS_SSO integration test:
|
882
478
|
- signin
|
883
479
|
' WHERE "users"."id" = 5[0m
|
884
|
-
[1m[35m (
|
885
|
-
|
886
|
-
[1m[35m (0.2ms)[0m UPDATE "users" SET "permissions" = '---
|
887
|
-
GDS_SSO integration test:
|
888
|
-
- signin
|
889
|
-
' WHERE "users"."id" = 5
|
890
|
-
[1m[36m (2.2ms)[0m [1mcommit transaction[0m
|
891
|
-
Redirected to http://www.example-client.com/restricted
|
892
|
-
Completed 302 Found in 16ms (ActiveRecord: 10.7ms)
|
893
|
-
|
894
|
-
|
895
|
-
Started GET "/restricted" for 127.0.0.1 at 2012-09-04 13:04:15 +0000
|
896
|
-
Processing by ExampleController#restricted as HTML
|
897
|
-
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
898
|
-
Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.2ms)
|
899
|
-
|
900
|
-
|
901
|
-
Started GET "/restricted" for 127.0.0.1 at 2012-09-03 16:59:15 +0000
|
902
|
-
Processing by ExampleController#restricted as HTML
|
903
|
-
Authenticating with gds_sso strategy
|
904
|
-
Completed in 0ms
|
905
|
-
|
906
|
-
|
907
|
-
Started GET "/auth/gds" for 127.0.0.1 at 2012-09-03 16:59:15 +0000
|
480
|
+
[1m[35m (2.4ms)[0m commit transaction
|
481
|
+
Completed 200 OK in 77ms (Views: 0.7ms | ActiveRecord: 10.3ms)
|
908
482
|
|
909
483
|
|
910
|
-
Started GET "/
|
911
|
-
Processing by
|
912
|
-
|
913
|
-
|
914
|
-
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
484
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2012-09-11 10:02:04 +0000
|
485
|
+
Processing by ExampleController#this_requires_signin_permission as JSON
|
486
|
+
Authenticating with gds_bearer_token strategy
|
487
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
915
488
|
[1m[35m (0.1ms)[0m begin transaction
|
916
|
-
[1m[36m (0.
|
489
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
917
490
|
GDS_SSO integration test:
|
918
491
|
- signin
|
919
492
|
' WHERE "users"."id" = 5[0m
|
920
|
-
[1m[35m (8.
|
493
|
+
[1m[35m (8.5ms)[0m commit transaction
|
921
494
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
922
495
|
[1m[35m (0.2ms)[0m UPDATE "users" SET "permissions" = '---
|
923
496
|
GDS_SSO integration test:
|
924
497
|
- signin
|
925
498
|
' WHERE "users"."id" = 5
|
926
|
-
[1m[36m (
|
927
|
-
|
928
|
-
Completed 302 Found in 17ms (ActiveRecord: 11.9ms)
|
929
|
-
|
930
|
-
|
931
|
-
Started GET "/restricted" for 127.0.0.1 at 2012-09-03 16:59:15 +0000
|
932
|
-
Processing by ExampleController#restricted as HTML
|
933
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
934
|
-
Completed 200 OK in 2ms (Views: 0.6ms | ActiveRecord: 0.1ms)
|
935
|
-
|
936
|
-
|
937
|
-
Started GET "/restricted" for 127.0.0.1 at 2012-09-04 12:54:15 +0000
|
938
|
-
Processing by ExampleController#restricted as HTML
|
939
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
940
|
-
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
941
|
-
|
942
|
-
|
943
|
-
Started GET "/restricted" for 127.0.0.1 at 2012-09-03 16:59:15 +0000
|
944
|
-
Processing by ExampleController#restricted as JSON
|
945
|
-
Authenticating with gds_sso_api_access strategy
|
946
|
-
Completed in 12ms
|
947
|
-
|
948
|
-
|
949
|
-
Started GET "/restricted" for 127.0.0.1 at 2012-09-03 16:59:15 +0000
|
950
|
-
Processing by ExampleController#restricted as JSON
|
951
|
-
Authenticating with gds_sso_api_access strategy
|
952
|
-
Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
|
953
|
-
|
954
|
-
|
955
|
-
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2012-09-03 16:59:15 +0000
|
956
|
-
Processing by ExampleController#this_requires_signin_permission as JSON
|
957
|
-
Authenticating with gds_sso_api_access strategy
|
958
|
-
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
499
|
+
[1m[36m (1.9ms)[0m [1mcommit transaction[0m
|
500
|
+
Completed 200 OK in 46ms (Views: 0.7ms | ActiveRecord: 11.3ms)
|