fix: ensure service configured check is set to true when service is

configured
This commit is contained in:
Stavros
2026-02-02 16:32:08 +02:00
parent f24595b24e
commit ce25f9561f
3 changed files with 5 additions and 1 deletions

View File

@@ -62,6 +62,8 @@ func (ldap *LdapService) Init() error {
return nil
}
ldap.isConfigured = true
// Check whether authentication with client certificate is possible
if ldap.config.AuthCert != "" && ldap.config.AuthKey != "" {
cert, err := tls.LoadX509KeyPair(ldap.config.AuthCert, ldap.config.AuthKey)

View File

@@ -110,6 +110,8 @@ func (service *OIDCService) Init() error {
return nil
}
service.isConfigured = true
// Ensure issuer is https
uissuer, err := url.Parse(service.config.Issuer)