Add conditional for login flows; filter out SSO when no providers configured.

Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
Jason Volk committed 2026-01-03 05:22:55 +00:00
1 parent 11038b0ec7
commit bd0a0acf4a
4 files changed
+74 -26

No files matched your search

+2 -1
View File
@@ -75,7 +75,8 @@ pub(crate) async fn sso_login_route(
_body: Ruma<sso_login::v3::Request>,
) -> Result<sso_login::v3::Response> {
Err!(Request(NotImplemented(
"SSO login without specific provider has not been implemented."
"sso_custom_providers_page has been enabled but this URL has not been overridden with \
any custom page listing the available providers..."
)))
}