fix oauth2 token fetch bug
This commit is contained in:
parent
9ca15167ba
commit
4be94173d4
|
@ -79,7 +79,7 @@ def login():
|
|||
login_challenge = request.args.get('login_challenge')
|
||||
try:
|
||||
login_request = current_app.hydra_api.get_login_request(login_challenge)
|
||||
except ory_hydra_client.exceptions.ApiValueError:
|
||||
except ory_hydra_client.exceptions.ApiException:
|
||||
return redirect(url_for('frontend.index'))
|
||||
|
||||
if login_request.skip:
|
||||
|
|
|
@ -4,7 +4,7 @@ flask_babel
|
|||
flask_wtf
|
||||
flask_login
|
||||
flask_sqlalchemy
|
||||
flask_dancer
|
||||
Flask-Dance
|
||||
|
||||
ldap3
|
||||
ldap3_orm
|
||||
|
|
Loading…
Reference in a new issue