fix: Token endpoint response for invalid_client (#1481)
Co-authored-by: Max Isbey <224885523+maxisbey@users.noreply.github.com>
This commit is contained in:
parent
3f6b0597f1
commit
a4bf947540
1 changed files with 62 additions and 7 deletions
|
|
@ -97,7 +97,7 @@ class TokenHandler:
|
|||
# Authentication failures should return 401
|
||||
return PydanticJSONResponse(
|
||||
content=TokenErrorResponse(
|
||||
error="unauthorized_client",
|
||||
error="invalid_client",
|
||||
error_description=e.message,
|
||||
),
|
||||
status_code=401,
|
||||
|
|
|
|||
Loading…
Reference in a new issue