Skip to content

Commit 5bf5775

Browse files
add custom domain note
1 parent 15e599b commit 5bf5775

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

src/content/docs/developer-tools/guides/deploy-on-cloudflare-workers.mdx

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -156,10 +156,14 @@ Before diving into setup, understand these critical differences when deploying K
156156

157157
## Step 3: Add Kinde env variables and redeploy
158158

159+
<Aside>
160+
If you are using a custom domain, configure the domain in Cloudflare and follow the instructions below.
161+
</Aside>
162+
159163
1. In your Kinde dashboard, go to your application > **Details** and add the following URLs:
160164

161-
- **Allowed callback URLs**: `https://your_app_name.your_account_name.workers.dev/api/auth/kinde_callback`
162-
- **Allowed logout redirect URLs**: `https://your_app_name.your_account_name.workers.dev`
165+
- **Allowed callback URLs**: `https://your-app-url.com/api/auth/kinde_callback`
166+
- **Allowed logout redirect URLs**: `https://your-app-url.com`
163167

164168
Select **Save**
165169

@@ -171,9 +175,9 @@ Before diving into setup, understand these critical differences when deploying K
171175
[vars]
172176
KINDE_CLIENT_ID = "your_client_id"
173177
KINDE_ISSUER_URL = "https://your_business.kinde.com"
174-
KINDE_SITE_URL = "https://your_app_name.your_account_name.workers.dev"
175-
KINDE_POST_LOGIN_REDIRECT_URL = "https://your_app_name.your_account_name.workers.dev/dashboard"
176-
KINDE_POST_LOGOUT_REDIRECT_URL = "https://your_app_name.your_account_name.workers.dev"
178+
KINDE_SITE_URL = "https://your-app-url.com"
179+
KINDE_POST_LOGIN_REDIRECT_URL = "https://your-app-url.com/dashboard"
180+
KINDE_POST_LOGOUT_REDIRECT_URL = "https://your-app-url.com"
177181
```
178182

179183
<Aside type="warning" title="Important">

0 commit comments

Comments
 (0)