Skip to content

Commit 527c181

Browse files
NicolappsConvex, Inc.
authored andcommitted
Fix Clerk setup docs (#39954)
GitOrigin-RevId: 689aa93fb5760376f67bb19d6d746888ec487bf3
1 parent e0c0287 commit 527c181

File tree

1 file changed

+5
-8
lines changed

1 file changed

+5
-8
lines changed

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

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -67,10 +67,10 @@ follow the [Convex React Quickstart](/quickstart/react.mdx) first. Then:
6767

6868
</Step>
6969
<Step title="Set the Issuer URL in your env vars">
70-
In your `env` file, add your _Issuer_ URL as the `CLERK_FRONTEND_API_URL` environment variable. If you're using Vite, you'll need to prefix it with `VITE_`.
70+
In your `env` file, add your _Issuer_ URL as the `CLERK_JWT_ISSUER_DOMAIN` environment variable.
7171

7272
```env title=".env"
73-
VITE_CLERK_FRONTEND_API_URL=https://verb-noun-00.clerk.accounts.dev
73+
CLERK_JWT_ISSUER_DOMAIN=https://verb-noun-00.clerk.accounts.dev
7474
```
7575

7676
</Step>
@@ -492,17 +492,14 @@ development, it's format will be `https://verb-noun-00.clerk.accounts.dev`. In
492492
production, it's format will be `https://clerk.<your-domain>.com`.
493493

494494
Paste your Clerk Frontend API URL into your `.env` file, set it as the
495-
`CLERK_FRONTEND_API_URL` environment variable. If you are using Vite, you will
496-
need to prefix it with `VITE_`. If you are using Next.js, you will need to
497-
prefix it with `NEXT_PUBLIC_`.
495+
`CLERK_JWT_ISSUER_DOMAIN` environment variable.
498496

499497
```env title=".env"
500-
CLERK_FRONTEND_API_URL=https://verb-noun-00.clerk.accounts.dev
498+
CLERK_JWT_ISSUER_DOMAIN=https://verb-noun-00.clerk.accounts.dev
501499
```
502500

503501
Then, update your <JSDialectFileName name="auth.config.ts" /> file to use the
504-
environment variable. Don't forget to use the necessary prefix for your client
505-
platform (e.g. `VITE_` or `NEXT_PUBLIC_`).
502+
environment variable.
506503

507504
```ts title="convex/auth.config.ts"
508505
export default {

0 commit comments

Comments
 (0)