fix: Token endpoint response for invalid_client (#1481)

Co-authored-by: Max Isbey <224885523+maxisbey@users.noreply.github.com>
This commit is contained in:
Ankesh Kumar Thakur 2025-12-19 23:49:00 +05:30 • committed by GitHub
commit a4bf947540
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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,