diff --git a/src/api/client/session/mod.rs b/src/api/client/session/mod.rs index f8ca21c4..c4c55254 100644 --- a/src/api/client/session/mod.rs +++ b/src/api/client/session/mod.rs @@ -79,6 +79,7 @@ pub(crate) async fn get_login_types_route( if list_idps && identity_providers.is_empty() => false, | LoginType::Password(_) => services.config.login_with_password, + | LoginType::Jwt(_) => services.config.jwt.enable, | _ => true, }) .collect(),