Expose some external auth settings to make providers available

This commit is contained in:
Tomaž Jerman
2022-12-06 17:07:45 +01:00
committed by Jože Fortun
parent f14a5464fe
commit d8d7661bfa
+4 -4
View File
@@ -77,7 +77,7 @@ type (
External struct {
// Is external authentication
Enabled bool
Enabled bool `json:"enabled"`
// Saml
Saml struct {
@@ -112,11 +112,11 @@ type (
} `kv:"idp"`
Security ExternalAuthProviderSecurity `json:"-" kv:"security,final"`
}
} `json:"-"`
// all external providers we know
Providers ExternalAuthProviderSet
} `json:"-"`
Providers ExternalAuthProviderSet `json:"providers"`
} `json:"external"`
MultiFactor struct {
EmailOTP struct {