diff --git a/backend/app/api/api_v1/endpoints/auth.py b/backend/app/api/api_v1/endpoints/auth.py index 91a1c0c..c446162 100644 --- a/backend/app/api/api_v1/endpoints/auth.py +++ b/backend/app/api/api_v1/endpoints/auth.py @@ -131,7 +131,7 @@ async def callback( return RedirectResponse(url="/login?error=callback_failed", status_code=302) try: - claims = await client.getIdTokenClaims() + claims = client.getIdTokenClaims() except Exception as exc: # pylint: disable=broad-exception-caught logger.warning("Failed to extract ID-token claims: %s", exc) return RedirectResponse(url="/login?error=token_error", status_code=302)