mirror of
https://github.com/netbirdio/docs.git
synced 2026-04-16 07:26:35 +00:00
Add pkce redirect url (#95)
* add pkce redirect url * add pkce url in auth0
This commit is contained in:
@@ -54,6 +54,7 @@ Create new zitadel application
|
||||
- Fill in the form with the following values and click `Continue`
|
||||
- Redirect URIs: `https://<domain>/auth` and click `+`
|
||||
- Redirect URIs: `https://<domain>/silent-auth` and click `+`
|
||||
- Redirect URIs: `http://localhost:53000` and click `+`
|
||||
- Post Logout URIs: `https://<domain>/` and click `+`
|
||||
|
||||
<p>
|
||||
@@ -293,7 +294,7 @@ In this step we will configure NetBird application client access with the NetBir
|
||||
- Go to `Access Settings` section
|
||||
- Fill in the fields with the following values:
|
||||
- Root URL: `https://YOUR DOMAIN/` (this is the NetBird Dashboard root URL)
|
||||
- Valid redirect URIs: `https://YOUR DOMAIN/*`
|
||||
- Valid redirect URIs: `https://YOUR DOMAIN/*` and `http://localhost:53000`
|
||||
- Valid post logout redirect URIs: `https://YOUR DOMAIN/*`
|
||||
- Web origins: `+`
|
||||
- Click `Save`
|
||||
@@ -465,7 +466,7 @@ In this step, we will create OAuth2/OpenID Provider in Authentik.
|
||||
- Authorization Flow: `default-provider-authorization-explicit-consent (Authorize Application)`
|
||||
- Protocal Settings:
|
||||
- Client type: `Public`
|
||||
- Redirect URIs/Origins (RegEx): `https://<domain>` and `https://<domain>.*` (Each URI should be entered on a new line)
|
||||
- Redirect URIs/Origins (RegEx): `https://<domain>`, `https://<domain>.*`, `http://localhost:53000` (Each URI should be entered on a new line)
|
||||
- Advanced protocol settings:
|
||||
- Access code validity: `minutes=10`
|
||||
- Subject mode: `Based on the User's ID`
|
||||
@@ -743,7 +744,7 @@ In this step, we will create and configure Netbird single-page application in ok
|
||||
- Fill in the form with the following values and click `Save`
|
||||
- App integration name: `Netbird`
|
||||
- Grant type: `Authorization Code` and `Refresh Token`
|
||||
- Sign-in redirect URIs: `https://<yournetbirddomain.com>/auth` and `https://<yournetbirddomain.com>/silent-auth`
|
||||
- Sign-in redirect URIs: `https://<yournetbirddomain.com>/auth`, `https://<yournetbirddomain.com>/silent-auth` and `http://localhost:53000`
|
||||
- Sign-out redirect URIs: `https://<yournetbirddomain.com>/`
|
||||
- Click `Save`
|
||||
|
||||
@@ -1030,7 +1031,8 @@ This Auth0 application will be used to authorize access to NetBird Dashboard (We
|
||||
|
||||
- Follow the steps in the [Auth0 React SDK Guide](https://auth0.com/docs/quickstart/spa/react/01-login#configure-auth0)
|
||||
up until "Install the Auth0 React SDK".
|
||||
- Use **`https://YOUR DOMAIN`** as: `Allowed Callback URLs`, `Allowed Logout URLs`, `Allowed Web Origins`, `Allowed Origins (CORS)`
|
||||
- Use **`https://YOUR DOMAIN`** and **`http://localhost:53000`** as: `Allowed Callback URLs`,
|
||||
- Use **`https://YOUR DOMAIN`** and **`http://localhost`** as: `Allowed Logout URLs`, `Allowed Web Origins`, `Allowed Origins (CORS)`
|
||||
<Note>
|
||||
Make sure that **`Token Endpoint Authentication Method`** is set to **`None`**.
|
||||
</Note>
|
||||
|
||||
Reference in New Issue
Block a user