Use map of identity_provider to accommodate env var enumerations.

Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
Jason Volk committed 2026-02-01 01:22:13 +00:00
1 parent 0474753333
commit 0b864801f5
6 files changed
+76 -18

No files matched your search

+1 -1
View File
@@ -52,7 +52,7 @@ pub(crate) async fn get_login_types_route(
let identity_providers: Vec<_> = services
.config
.identity_provider
.iter()
.values()
.filter(|_| list_idps)
.cloned()
.map(|config| IdentityProvider {