You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: services/frontend/pkg/config/config.go
+8Lines changed: 8 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -63,6 +63,8 @@ type Config struct {
63
63
64
64
ServerManagedSpacesbool`yaml:"server_managed_spaces" env:"OCIS_CLAIM_MANAGED_SPACES_ENABLED" desc:"Enables Space management through OIDC claims. See the text description for more details." introductionVersion:"7.2.0"`
65
65
66
+
MultiFactorAuthenticationMFAConfig`yaml:"mfa"`
67
+
66
68
Context context.Context`yaml:"-"`
67
69
}
68
70
@@ -200,3 +202,9 @@ type PasswordPolicy struct {
200
202
typeValidationstruct {
201
203
MaxTagLengthint`yaml:"max_tag_length" env:"OCIS_MAX_TAG_LENGTH" desc:"Define the maximum tag length. Defaults to 100 if not set. Set to 0 to not limit the tag length. Changes only impact the validation of new tags." introductionVersion:"7.2.0"`
202
204
}
205
+
206
+
// MFAConfig configures multi factor multifactor authentication
207
+
typeMFAConfigstruct {
208
+
Enabledbool`yaml:"enabled" env:"OCIS_MFA_ENABLED" desc:"Set to true to enable multi factor authentication. See the documentation for more details." introductionVersion:"Balch"`
209
+
AuthLevelNames []string`yaml:"auth_level_names" env:"OCIS_MFA_AUTH_LEVEL_NAMES" desc:"This authentication level name indicates that multi-factor authentication was performed. The name must match the ACR claim in the access token received. Note: If multiple names are required, use a comma-separated list. The front-end service will use the first name in the list when requesting multi-factor authentication (MFA)." introductionVersion:"Balch"`
0 commit comments