fix: remove erroneous await from getIdTokenClaims() call

Agent-Logs-Url: https://github.com/christianlouis/dmarq/sessions/2a043a05-25c6-4750-a9e8-da2b1651b55b

Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2026-03-30 19:51:43 +00:00
parent c4a5d7da53
commit 9f1494a090
+1 -1
View File
@@ -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)