mirror of
https://github.com/netbox-community/netbox.git
synced 2025-08-24 00:15:17 -06:00
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:
parent
41d653738a
commit
c9a3fa9a08
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user