From 9f1494a090c0c0f78955aee9cbdba1f8512e6f82 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 30 Mar 2026 19:51:43 +0000 Subject: [PATCH] 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> --- backend/app/api/api_v1/endpoints/auth.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)