I’m trying to use the Clerk starter template. So far it’s not working.
I created an app on the clerk site. I have set the following env variables, in the deploy settings.
NEXT_PUBLIC_CLERK_FRONTEND_API
NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY
CLERK_SECRET_KEY
I also added the following property to the ClerkProvider. I saw this had to be done on a post somewhere. Not sure why this was not part of the starter template. Or maybe I’m totally off base here.
<ClerkProvider {...pageProps} publishableKey={process.env.NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY}>
I get the following error when I launch the deployed app.
Uncaught Error: @clerk/clerk-js: The publishableKey passed to Clerk is invalid. You can get your Publishable key at Dashboard | Clerk.com. (key=premium-katydid-73.clerk.accounts.dev)
App is at: https://shiny-pasca-f94044.netlify.app/
I already asked support at Clerk, but have not got a usesable response yet.
Thanks for any help.
Rich