Skip to content

Commit ce56bca

Browse files
nipunn1313thehorse2000
authored andcommitted
convex-backend PR 143: Docs: adding correct Clerk Domain URL naming in Clerk/Nextjs docs (#38750)
Simple env naming change. Since `NEXT_PUBLIC_CLERK_FRONTEND_API_URL` is confused with a local env, while the env should be set on the convex dashboard. ---- By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice. Co-authored-by: Amr Osama <[email protected]> GitOrigin-RevId: 2618e71156ca0589d78df3c90c8f727d5c0c08e7
1 parent 9cbc7a5 commit ce56bca

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

npm-packages/docs/docs/auth/clerk.mdx

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,11 @@ follow the [Convex React Quickstart](/quickstart/react.mdx) first. Then:
8181
export default {
8282
providers: [
8383
{
84-
domain: process.env.VITE_CLERK_FRONTEND_API_URL,
84+
// Replace with your own Clerk Issuer URL from your "convex" JWT template
85+
// or with `process.env.CLERK_JWT_ISSUER_DOMAIN`
86+
// and configure CLERK_JWT_ISSUER_DOMAIN on the Convex Dashboard
87+
// See https://docs.convex.dev/auth/clerk#configuring-dev-and-prod-instances
88+
domain: process.env.CLERK_JWT_ISSUER_DOMAIN,
8589
applicationID: "convex",
8690
},
8791
]
@@ -242,7 +246,11 @@ follow the [Convex Next.js Quickstart](/quickstart/nextjs.mdx) first. Then:
242246
export default {
243247
providers: [
244248
{
245-
domain: process.env.NEXT_PUBLIC_CLERK_FRONTEND_API_URL,
249+
// Replace with your own Clerk Issuer URL from your "convex" JWT template
250+
// or with `process.env.CLERK_JWT_ISSUER_DOMAIN`
251+
// and configure CLERK_JWT_ISSUER_DOMAIN on the Convex Dashboard
252+
// See https://docs.convex.dev/auth/clerk#configuring-dev-and-prod-instances
253+
domain: process.env.CLERK_JWT_ISSUER_DOMAIN,
246254
applicationID: "convex",
247255
},
248256
]
@@ -500,7 +508,7 @@ platform (e.g. `VITE_` or `NEXT_PUBLIC_`).
500508
export default {
501509
providers: [
502510
{
503-
domain: process.env.CLERK_FRONTEND_API_URL,
511+
domain: process.env.CLERK_JWT_ISSUER_DOMAIN,
504512
applicationID: "convex",
505513
},
506514
],

0 commit comments

Comments
 (0)