lib/uaa/token_issuer.rb in cloulu-0.2.3 vs lib/uaa/token_issuer.rb in cloulu-0.2.4

- old
+ new

@@ -127,10 +127,10 @@ # to a json representation of the credential name/value pairs corresponding to # the keys retrieved by {#prompts}. # @return [TokenInfo] def implicit_grant_with_creds(credentials, scope = nil) # this manufactured redirect_uri is a convention here, not part of OAuth2 - redir_uri = "https://uaa.cloudfoundry.com/redirect/#{@client_id}" + redir_uri = "https://uaa.cloulu.com/redirect/#{@client_id}" uri = authorize_path_args("token", redir_uri, scope, state = random_state) # the accept header is only here so the uaa will issue error replies in json to aid debugging headers = {'content-type' => FORM_UTF8, 'accept' => JSON_UTF8 } body = Util.encode_form(credentials.merge(:source => 'credentials'))