Permalink
Browse files

Merge pull request #4 from dsyer/feature/tokenserver

Allow login server to adopt auth server role
  • Loading branch information...
2 parents 98b1fd8 + cc2f29f commit 85ffc38d9295372456f6614ee766fe4c0b26e071 @cf-frameworks cf-frameworks committed Mar 1, 2013
Showing with 2 additions and 1 deletion.
  1. +2 −1 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

0 comments on commit 85ffc38

Please sign in to comment.