Skip to content

Commit bc5562b

Browse files
committed
add docs
1 parent 9cc4dcd commit bc5562b

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

docs/content/en/customize_dojo/user_management/configure_sso.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -569,6 +569,17 @@ You can also optionally set the following variables:
569569

570570
Once these variables have been set, restart DefectDojo. Log In With OIDC should now be added to the DefectDojo login page.
571571

572+
### Group synchronization options:
573+
You can set the following variables to parse the OIDC groups:
574+
575+
{{< highlight python >}}
576+
DD_SOCIAL_AUTH_OIDC_GET_GROUPS=True, # Enable group synchronization from OIDC claims
577+
DD_SOCIAL_AUTH_OIDC_GROUPS_FILTER='', # Optional regex to filter group names
578+
DD_SOCIAL_AUTH_OIDC_CLEANUP_GROUPS=True, # Remove user from groups not present in OIDC claim
579+
{{< /highlight >}}
580+
581+
Once these variables have been set, restart DefectDojo.
582+
572583
## SAML Configuration
573584

574585
<span style="background-color:rgba(242, 86, 29, 0.3)">DefectDojo Pro</span> users can follow this guide to set up a SAML configuration using the DefectDojo UI. Open-Source users can set up SAML via environment variables, using the following [guide](./#open-source-saml).

0 commit comments

Comments
 (0)