fix providers not getting populated

This commit is contained in:
jnfrati
2026-04-06 12:33:00 +02:00
parent 6d251c7c2a
commit 2b0f8b941a
2 changed files with 5 additions and 0 deletions

View File

@@ -203,6 +203,10 @@ func (c *EmbeddedIdPConfig) ToYAMLConfig() (*dex.YAMLConfig, error) {
}
// Absolutely required, otherwsise the dex server will omit the MFA configuration entirely
os.Setenv("DEX_SESSIONS_ENABLED", "true")
for i := range cfg.StaticClients {
cfg.StaticClients[i].MFAChain = []string{"default-totp"}
}
}
// Add owner user if provided