From c9a3fa9a08a6ae4ef126b854cc7902fb18eacd6a Mon Sep 17 00:00:00 2001 From: Ldogg123 Date: Tue, 6 Sep 2022 17:30:23 -0400 Subject: [PATCH] Add entry for customers on different cloud endpoints Add an entry for customers on GCC High / DoD or other endpoints (China, Germany, etc.) --- docs/administration/authentication/microsoft-azure-ad.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/docs/administration/authentication/microsoft-azure-ad.md b/docs/administration/authentication/microsoft-azure-ad.md index ee24e8232..fff601a9e 100644 --- a/docs/administration/authentication/microsoft-azure-ad.md +++ b/docs/administration/authentication/microsoft-azure-ad.md @@ -52,6 +52,13 @@ REMOTE_AUTH_BACKEND = 'social_core.backends.azuread.AzureADOAuth2' SOCIAL_AUTH_AZUREAD_OAUTH2_KEY = '{APPLICATION_ID}' 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