Skip to content

Commit

Permalink
Merge pull request authlib#89 from nchudleigh/consent-request-method
Browse files Browse the repository at this point in the history
Update naming of consent request method
  • Loading branch information
lepture authored Aug 29, 2022
2 parents d6068cb + 3fb7a27 commit 882baf6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion website/routes.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ def authorize():
return redirect(url_for('home.home', next=request.url))
if request.method == 'GET':
try:
grant = authorization.validate_consent_request(end_user=user)
grant = authorization.get_consent_grant(end_user=user)
except OAuth2Error as error:
return error.error
return render_template('authorize.html', user=user, grant=grant)
Expand Down

0 comments on commit 882baf6

Please sign in to comment.