Skip to content

Commit 81e4c92

Browse files
author
alexandergr
committed
add setting
1 parent 5aa3e02 commit 81e4c92

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

backend/infrahub/config.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -758,6 +758,10 @@ class SecuritySettings(BaseSettings):
758758
default=False,
759759
description="When enabled, automatically create account groups for SSO users based on groups provided by identity provider",
760760
)
761+
sso_generate_groups_filter: str | None = Field(
762+
default=None,
763+
description="When sso_generate_groups is enabled, this filter is used to extract the group name from the group identifier provided by the identity provider",
764+
)
761765

762766
@model_validator(mode="after")
763767
def check_oauth2_provider_settings(self) -> Self:

0 commit comments

Comments
 (0)