feat: Try to find more errors
All checks were successful
Build Docker / Build Docker (push) Successful in 29s
All checks were successful
Build Docker / Build Docker (push) Successful in 29s
This commit is contained in:
parent
cbe8996f7a
commit
3b6c7c5b7d
@ -522,7 +522,9 @@ def authUser():
|
|||||||
@bp.route("/oauth/token", methods=["POST"])
|
@bp.route("/oauth/token", methods=["POST"])
|
||||||
def issue_token():
|
def issue_token():
|
||||||
try:
|
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:
|
except OAuth2Error as error:
|
||||||
print(json.dumps({
|
print(json.dumps({
|
||||||
"error": error.error,
|
"error": error.error,
|
||||||
|
Loading…
Reference in New Issue
Block a user