Fix SSO login path

This commit is contained in:
Tulir Asokan 2022-08-14 18:51:12 +03:00
parent 4f4d7bc342
commit 1fe53b4c56

View file

@ -188,7 +188,7 @@ async def _do_sso(req: AuthRequestInfo) -> web.Response:
/ "client/auth_external_sso/complete" / "client/auth_external_sso/complete"
/ waiter_id / waiter_id
) )
sso_url = req.client.api.base_url.with_path(str(Path.login.sso.redirect)).with_query( sso_url = req.client.api.base_url.with_path(str(Path.v3.login.sso.redirect)).with_query(
{"redirectUrl": str(public_url)} {"redirectUrl": str(public_url)}
) )
sso_waiters[waiter_id] = req, asyncio.get_running_loop().create_future() sso_waiters[waiter_id] = req, asyncio.get_running_loop().create_future()