Skip to content

Commit

Permalink
Do not request scopes from the token endpoint
Browse files Browse the repository at this point in the history
The UAA does not like this and it's not compliant with the spec

Change-Id: Ib8efce85e521a4213d571f262100a07490dc15d4
  • Loading branch information
joeldsa committed Oct 8, 2012
1 parent 22ac0b6 commit f4742e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/uaa/token_issuer.rb
Expand Up @@ -123,7 +123,7 @@ def authcode_grant(authcode_uri, callback_query)
raise BadResponse, "received invalid response from target #{@target}"
end
request_token(grant_type: "authorization_code", code: authcode,
redirect_uri: ac_params[:redirect_uri], scope: ac_params[:scope])
redirect_uri: ac_params[:redirect_uri])
end

def owner_password_grant(username, password, scope = nil)
Expand Down

0 comments on commit f4742e0

Please sign in to comment.