feat: Add more error logging
All checks were successful
Build Docker / Build Docker (push) Successful in 31s
All checks were successful
Build Docker / Build Docker (push) Successful in 31s
This commit is contained in:
parent
a7c6c34f1c
commit
c45c34adb1
@ -447,7 +447,11 @@ def authorize():
|
|||||||
try:
|
try:
|
||||||
grant = authorization.get_consent_grant(end_user=user)
|
grant = authorization.get_consent_grant(end_user=user)
|
||||||
except OAuth2Error as error:
|
except OAuth2Error as error:
|
||||||
return error.error
|
return jsonify({
|
||||||
|
"error": error.error,
|
||||||
|
"description": error.description,
|
||||||
|
"uri": error.uri,
|
||||||
|
})
|
||||||
return render_template("authorize.html", user=user, grant=grant)
|
return render_template("authorize.html", user=user, grant=grant)
|
||||||
|
|
||||||
grant_user = user
|
grant_user = user
|
||||||
|
Loading…
Reference in New Issue
Block a user