Add entry for customers on different cloud endpoints

Add an entry for customers on GCC High / DoD or other endpoints (China, Germany, etc.)
This commit is contained in:
Ldogg123 2022-09-06 17:30:23 -04:00 committed by GitHub
parent 41d653738a
commit c9a3fa9a08
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -52,6 +52,13 @@ REMOTE_AUTH_BACKEND = 'social_core.backends.azuread.AzureADOAuth2'
SOCIAL_AUTH_AZUREAD_OAUTH2_KEY = '{APPLICATION_ID}' SOCIAL_AUTH_AZUREAD_OAUTH2_KEY = '{APPLICATION_ID}'
SOCIAL_AUTH_AZUREAD_OAUTH2_SECRET = '{SECRET_VALUE}' SOCIAL_AUTH_AZUREAD_OAUTH2_SECRET = '{SECRET_VALUE}'
``` ```
For GCC High / DoD or other cloud endpoints, additonally add this line:
Additonal cloud endpoints [HERE](https://docs.microsoft.com/en-us/python/api/azure-identity/azure.identity.azureauthorityhosts?view=azure-python)
```python
SOCIAL_AUTH_AZUREAD_OAUTH2_AUTHORITY_HOST = 'login.microsoftonline.us'
```
### 2. Restart NetBox ### 2. Restart NetBox