fix sso login flow use await

This commit is contained in:
Ishaan Jaff 2025-04-08 15:52:32 -07:00
parent 7fac2e635f
commit 4cd8aff31e

View file

@ -115,7 +115,7 @@ async def google_login(request: Request): # noqa: PLR0915
)
is True
):
return SSOAuthenticationHandler.get_sso_login_redirect(
return await SSOAuthenticationHandler.get_sso_login_redirect(
redirect_url=redirect_url,
microsoft_client_id=microsoft_client_id,
google_client_id=google_client_id,