1
0
mirror of https://github.com/matrix-org/matrix-authentication-service.git synced 2025-07-31 09:24:31 +03:00

Allow a trailing slash on the compat SSO route

This commit is contained in:
Quentin Gliech
2023-08-08 18:53:14 +02:00
parent 79ad2dbc65
commit dc711f8ecb
2 changed files with 16 additions and 2 deletions

View File

@ -329,6 +329,10 @@ where
mas_router::CompatLoginSsoRedirectIdp::route(),
get(self::compat::login_sso_redirect::get),
)
.route(
mas_router::CompatLoginSsoRedirectSlash::route(),
get(self::compat::login_sso_redirect::get),
)
.route(
mas_router::CompatLoginSsoComplete::route(),
get(self::compat::login_sso_complete::get).post(self::compat::login_sso_complete::post),