#Different auth on Dev/Prod - Clerk

5 messages · Page 1 of 1 (latest)

novel wing
#

Hey @crimson quail , after you use convex auth add with

domain URL: <your issuer url like https://clerk.my-prject-domain.com >
application/client ID: "convex" (matches aud in the JWT template)

you need to push the updated convex.json to your production deployment via npx convex deploy (from CI or locally)

#

Let me know if this helps!

crimson quail
#

do i have to use a single provider/id pair? I tried that with several provider urls and none of them worked

crimson quail
#

Works now after not changing anything. Mightve taken a while for propagate

novel wing
#

For posterity: You can use multiple domain/clientId pairs and push them to both dev and prod deployment.

We're working right now on making this configuration clearer, stay tuned 🙂