This commit is contained in:
Timothy Jaeryang Baek 2025-10-27 16:46:49 -07:00 committed by Stoyan Zlatev
parent db658a730c
commit 21ca649ee4

View file

@ -2066,8 +2066,8 @@ async def oauth_client_authorize(
client_id, client_id,
) )
re_registered = await register_client(request, client_id) registered = await register_client(request, client_id)
if not re_registered: if not registered:
raise HTTPException( raise HTTPException(
status_code=status.HTTP_500_INTERNAL_SERVER_ERROR, status_code=status.HTTP_500_INTERNAL_SERVER_ERROR,
detail="Failed to re-register OAuth client", detail="Failed to re-register OAuth client",