feat: Try to find more errors
All checks were successful
Build Docker / Build Docker (push) Successful in 29s

This commit is contained in:
Nathan Woodburn 2024-06-20 12:42:33 +10:00
parent cbe8996f7a
commit 3b6c7c5b7d
Signed by: nathanwoodburn
GPG Key ID: 203B000478AD0EF1

View File

@ -522,7 +522,9 @@ def authUser():
@bp.route("/oauth/token", methods=["POST"])
def issue_token():
try:
return authorization.create_token_response()
resp = authorization.create_token_response()
print(json.dumps(resp, indent=4),flush=True)
return resp
except OAuth2Error as error:
print(json.dumps({
"error": error.error,