Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #4 from dsyer/feature/tokenserver

Allow login server to adopt auth server role
  • Loading branch information...
commit 85ffc38d9295372456f6614ee766fe4c0b26e071 2 parents 98b1fd8 + cc2f29f
@cf-frameworks cf-frameworks authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  cloud_controller/app/controllers/default_controller.rb
View
3  cloud_controller/app/controllers/default_controller.rb
@@ -11,7 +11,8 @@ def info
}
if uaa_enabled?
- info[:authorization_endpoint] = AppConfig[:uaa][:url]
+ info[:authorization_endpoint] = (AppConfig[:login] && AppConfig[:login][:url]) ? AppConfig[:login][:url] : AppConfig[:uaa][:url]
+ info[:token_endpoint] = AppConfig[:uaa][:url]
end
# If there is a logged in user, give out additional information
Please sign in to comment.
Something went wrong with that request. Please try again.