From b20065d4916817c3358b79abd8a10dc24382202f Mon Sep 17 00:00:00 2001
From: braginini
Date: Mon, 29 May 2023 15:49:51 +0200
Subject: [PATCH] Update Zitadel doc
---
src/pages/selfhosted/identity-providers.mdx | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/src/pages/selfhosted/identity-providers.mdx b/src/pages/selfhosted/identity-providers.mdx
index efbaa913..cc1e18ee 100644
--- a/src/pages/selfhosted/identity-providers.mdx
+++ b/src/pages/selfhosted/identity-providers.mdx
@@ -576,7 +576,7 @@ Create new zitadel application
- Verify applications details and Click `Create` and then click `Close`
-- Check `Refresh Token` checkbox and click `Save`
+- Under `Grant Types` select `Authorization Code`, `Device Code` and `Refresh Token` and click `save`
@@ -662,7 +662,7 @@ In this step we will grant `Org User Manager` role to `netbird` service user.
Your authority OIDC configuration will be available under:
```
-https:///.well-known/openid-configuration
+https://< YOUR-ZITADEL-HOST-AND-PORT >/.well-known/openid-configuration
```
:::caution
Double-check if the endpoint returns a JSON response by calling it from your browser.
@@ -677,6 +677,10 @@ NETBIRD_AUTH_AUDIENCE=""
NETBIRD_AUTH_DEVICE_AUTH_CLIENT_ID=""
NETBIRD_AUTH_REDIRECT_URI="/auth"
NETBIRD_AUTH_SILENT_REDIRECT_URI="/silent-auth"
+NETBIRD_AUTH_DEVICE_AUTH_PROVIDER="hosted"
+NETBIRD_AUTH_DEVICE_AUTH_CLIENT_ID=""
+NETBIRD_AUTH_DEVICE_AUTH_AUDIENCE=""
+
```
- You can now continue with the [NetBird Self-hosting Guide](/selfhosted/selfhosted-guide#step-3-configure-identity-provider).