1
0
mirror of https://github.com/matrix-org/matrix-authentication-service.git synced 2025-11-20 12:02:22 +03:00

Have a consent screen before continuing the SSO login

This commit is contained in:
Quentin Gliech
2022-05-20 15:03:38 +02:00
parent 033d60eb73
commit 1d61a94da4
10 changed files with 214 additions and 18 deletions

View File

@@ -193,7 +193,8 @@ where
)
.route(
mas_router::CompatLoginSsoComplete::route(),
get(self::compat::login_sso_complete::get),
get(self::compat::login_sso_complete::get)
.post(self::compat::login_sso_complete::post),
)
.layer(ThenLayer::new(
move |result: Result<axum::response::Response, Infallible>| async move {