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: docs/content/en/customize_dojo/user_management/configure_sso.md
+17-13Lines changed: 17 additions & 13 deletions
Original file line number
Diff line number
Diff line change
@@ -141,9 +141,9 @@ When a user is removed from a given group in Azure AD, they will also be removed
141
141
142
142
### Open-Source
143
143
144
-
Open-Source users will need to set these variables as an environment variable, or in the `local_settings.py` file. (see [Configuration](/en/open_source/installation/configuration)).
144
+
Open-Source users will need to set these variables as an environment variable, or without the `DD_` prefix in the `local_settings.py` file. (see [Configuration](/en/open_source/installation/configuration)).
145
145
146
-
1. Add the following information to the settings file:
Open-Source users will need to set these fields as Docker environment variables, or add them to the `local_settings.py` file. (see [Configuration](/en/open_source/installation/configuration)).
216
+
Open-Source users will need to set these variables as an environment variable, or without the `DD_` prefix in the `local_settings.py` file. (see [Configuration](/en/open_source/installation/configuration)).
217
217
218
-
1. Add the following variables to Docker, or to local_settings.py:
Open-Source users will need to set these fields as Docker environment variables, or add them to the `local_settings.py` file. (see [Configuration](/en/open_source/installation/configuration)).
262
+
Open-Source users will need to set these variables as an environment variable, or without the `DD_` prefix in the `local_settings.py` file. (see [Configuration](/en/open_source/installation/configuration)).
263
263
264
-
1. Add the following variables to Docker, or to the `local_settings.py` file:
@@ -320,9 +320,9 @@ In order to use Google Authentication, a Google Authentication Server will need
320
320
321
321
### Open-Source
322
322
323
-
Open-Source users will need to set these fields as Docker environment variables, or add them to the `local_settings.py` file. (see [Configuration](/en/open_source/installation/configuration)).
323
+
Open-Source users will need to set these variables as an environment variable, or without the `DD_` prefix in the `local_settings.py` file. (see [Configuration](/en/open_source/installation/configuration)).
324
324
325
-
1. Add the following variables to Docker, or to the `local_settings.py` file:
325
+
1. Set the following environment variables
326
326
327
327
{{< highlight python >}}
328
328
DD_SOCIAL_AUTH_GOOGLE_OAUTH2_ENABLED=True,
@@ -404,9 +404,11 @@ This guide assumes you already have a KeyCloak Realm set up. If not, you will n
404
404
### Open-Source
405
405
406
406
407
-
Open-Source users will need to set these fields as Docker environment variables, or add them to the `local_settings.py` file. (see [Configuration](/en/open_source/installation/configuration)).
407
+
Open-Source users will need to set these variables as an environment variable, or without the `DD_` prefix in the `local_settings.py` file. (see [Configuration](/en/open_source/installation/configuration)).
1. Open-Source users will need to set these fields as Docker environment variables, or add them to the `local_settings.py` file. (see [Configuration](/en/open_source/installation/configuration)).
495
+
Open-Source users will need to set these variables as an environment variable, or without the `DD_` prefix in the `local_settings.py` file. (see [Configuration](/en/open_source/installation/configuration)).
496
+
497
+
1. Set the following environment variables
494
498
495
499
{{< highlight python >}}
496
500
DD_SOCIAL_AUTH_OKTA_OAUTH2_ENABLED=True,
@@ -504,7 +508,7 @@ If during the login process you get the following error: *The
504
508
in the client app settings.* and the `redirect_uri` HTTP
505
509
GET parameter starts with `http://` instead of
506
510
`https://`you need to add
507
-
`SOCIAL_AUTH_REDIRECT_IS_HTTPS = True`to Docker environment variables, or to your local_settings.py file.
511
+
`SOCIAL_AUTH_REDIRECT_IS_HTTPS = True`to Docker environment variables, or to your `local_settings.py` file.
508
512
509
513
2. Restart DefectDojo, and 'Login With Okta' should appear on the login screen.
510
514
@@ -559,7 +563,7 @@ The left side of the ‘=’ sign represents the attribute you want to map from
559
563
### Open-Source SAML
560
564
561
565
1. Navigate to your SAML IdP and find your metadata.
562
-
2. Set these fields as Docker environment variables, or add them to the `local_settings.py` file. (see [Configuration](/en/open_source/installation/configuration)).
566
+
2. Set these variables as an environment variable, or without the `DD_` prefix in the `local_settings.py` file. (see [Configuration](/en/open_source/installation/configuration)).
0 commit comments