mirror of
https://github.com/maubot/maubot.git
synced 2024-10-01 01:06:10 -04:00
Fix SSO login path
This commit is contained in:
parent
4f4d7bc342
commit
1fe53b4c56
@ -188,7 +188,7 @@ async def _do_sso(req: AuthRequestInfo) -> web.Response:
|
||||
/ "client/auth_external_sso/complete"
|
||||
/ 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)}
|
||||
)
|
||||
sso_waiters[waiter_id] = req, asyncio.get_running_loop().create_future()
|
||||
|
Loading…
Reference in New Issue
Block a user