Merge pull request #2139 from coreos-inc/oauth-reauth

Fix error displayed for OAuth if an existing token already matches scopes
This commit is contained in:
josephschorr 2016-11-17 16:42:56 -05:00 committed by GitHub
commit ff14601669

View file

@ -518,6 +518,7 @@ def deny_application():
@param_required('client_id')
@param_required('redirect_uri')
@param_required('scope')
@process_auth_or_cookie
def request_authorization_code():
provider = FlaskAuthorizationProvider()
response_type = request.args.get('response_type', 'code')