mirror of
https://github.com/tiennm99/DocsGPT.git
synced 2026-10-13 04:14:42 +00:00
Use the default connector callback URL in the integration guides
This commit is contained in:
1 parent
1a7921a921
commit
a3484cb567
3 files changed
+3
-3
No files matched your search
@@ -22,7 +22,7 @@ Members connect this service from **Settings > Connectors**, and one sign-in ser
|
||||
|
||||
1. Go to [developer.atlassian.com/console/myapps](https://developer.atlassian.com/console/myapps/) and click **Create** > **OAuth 2.0 integration**
|
||||
2. Under **Authorization**, add a callback URL:
|
||||
- Local: `http://localhost:7091/api/connectors/callback`
|
||||
- Local: `http://127.0.0.1:7091/api/connectors/callback` (the default `CONNECTOR_REDIRECT_BASE_URI`; Admin > Connectors shows the exact value to copy)
|
||||
- Production: `https://yourdomain.com/api/connectors/callback` (the value of `CONNECTOR_REDIRECT_BASE_URI`, registered as-is)
|
||||
|
||||
### Step 2: Configure Permissions
|
||||
|
||||
@@ -30,7 +30,7 @@ Members connect this service from **Settings > Connectors**, and one sign-in ser
|
||||
3. Select **Web application** as the application type
|
||||
4. Add your DocsGPT URL to **Authorized JavaScript origins** (e.g. `http://localhost:3000`)
|
||||
5. Add your callback URL to **Authorized redirect URIs**:
|
||||
- Local: `http://localhost:7091/api/connectors/callback`
|
||||
- Local: `http://127.0.0.1:7091/api/connectors/callback` (the default `CONNECTOR_REDIRECT_BASE_URI`; Admin > Connectors shows the exact value to copy)
|
||||
- Production: `https://yourdomain.com/api/connectors/callback` (the value of `CONNECTOR_REDIRECT_BASE_URI`, registered as-is)
|
||||
6. Click **Create** and copy the **Client ID** and **Client Secret**
|
||||
|
||||
|
||||
@@ -22,7 +22,7 @@ Members connect this service from **Settings > Connectors**, and one sign-in ser
|
||||
|
||||
1. Go to the [Azure Portal](https://portal.azure.com/) > **Microsoft Entra ID** > **App registrations** > **New registration**
|
||||
2. Set **Redirect URI** (Web) to:
|
||||
- Local: `http://localhost:7091/api/connectors/callback`
|
||||
- Local: `http://127.0.0.1:7091/api/connectors/callback` (the default `CONNECTOR_REDIRECT_BASE_URI`; Admin > Connectors shows the exact value to copy)
|
||||
- Production: `https://yourdomain.com/api/connectors/callback` (the value of `CONNECTOR_REDIRECT_BASE_URI`, registered as-is)
|
||||
|
||||
### Step 2: Configure API Permissions
|
||||
|
||||
Reference in new issue
Block a user