diff --git a/public/docs-static/img/integrations/identity-providers/self-hosted/azure-desktop-uri-setup.png b/public/docs-static/img/integrations/identity-providers/self-hosted/azure-desktop-uri-setup.png new file mode 100644 index 00000000..10e791da Binary files /dev/null and b/public/docs-static/img/integrations/identity-providers/self-hosted/azure-desktop-uri-setup.png differ diff --git a/public/docs-static/img/integrations/identity-providers/self-hosted/azure-spa-uri-setup.png b/public/docs-static/img/integrations/identity-providers/self-hosted/azure-spa-uri-setup.png index 28965437..fe3aad0c 100644 Binary files a/public/docs-static/img/integrations/identity-providers/self-hosted/azure-spa-uri-setup.png and b/public/docs-static/img/integrations/identity-providers/self-hosted/azure-spa-uri-setup.png differ diff --git a/src/pages/selfhosted/identity-providers.mdx b/src/pages/selfhosted/identity-providers.mdx index 5a1b1e1a..eee95b99 100644 --- a/src/pages/selfhosted/identity-providers.mdx +++ b/src/pages/selfhosted/identity-providers.mdx @@ -578,9 +578,9 @@ In this step, we will create and configure NetBird application in azure AD. - Navigate to [Azure Active Directory](https://portal.azure.com/#view/Microsoft_AAD_IAM/ActiveDirectoryMenuBlade/~/Overview) - Click `App Registrations` in the left menu then click on the `+ New registration` button to create a new application. - Fill in the form with the following values and click Register -- Name: `Netbird` -- Account Types: `Accounts in this organizational directory only (Default Directory only - Single tenant)` -- Redirect URI: select `Single-page application (SPA)` and URI as `https:///silent-auth` + - Name: `Netbird` + - Account Types: `Accounts in this organizational directory only (Default Directory only - Single tenant)` + - Redirect URI: select `Single-page application (SPA)` and URI as `https:///silent-auth`

high-level-dia @@ -588,7 +588,7 @@ In this step, we will create and configure NetBird application in azure AD. #### Step 2. Platform configurations - Click `Authentication` on the left side menu -- Under the `Single-page application` Section, add another URI `https:///auth` and `http://localhost:53000` +- Under the `Single-page application` Section, add another URI `https:///auth`

high-level-dia @@ -600,6 +600,13 @@ In this step, we will create and configure NetBird application in azure AD. high-level-dia

+- Click `Add a Platform` and select `Mobile and desktop applications` +- Fill in the form with the following values and click Configure + - Custom redirect URIs: `http://localhost:53000` +

+ high-level-dia +

+ #### Step 3. Create a NetBird application scope - Click `Expose an API` on the left menu - Under `Application ID URI` click `Set` and then `Save` @@ -686,6 +693,7 @@ https://login.microsoftonline.com//v2.0/.well-known/openid-configurat - Set properties in the `setup.env` file: ```shell +NETBIRD_DOMAIN="" NETBIRD_AUTH_OIDC_CONFIGURATION_ENDPOINT="https://login.microsoftonline.com//v2.0/.well-known/openid-configuration" NETBIRD_USE_AUTH0=false NETBIRD_AUTH_CLIENT_ID=""