Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Error: ClerkJS: Invalid frontendAPI option. Go to the instance home page at https://dashboard.clerk.dev and get your Frontend API value

ClerkJS API will not work even though I have inserted the correct Clerk API keys.

I am expecting for the application to allow me to use the ClerkJS API for user authentication.

like image 315
Amsu Warner Avatar asked Sep 19 '25 13:09

Amsu Warner


1 Answers

Use publishableKey instead frontendApi. Docs here. Works for my Gatsby + Netlify website.

<ClerkProvider
  publishableKey={clerk_pub_key}
  navigate={to => navigate(to)}
>
  Your application tree goes here.
  <SignedIn>
    <UserButton />
  </SignedIn>
</ClerkProvider>  
like image 93
Milton Bolonha Avatar answered Sep 22 '25 05:09

Milton Bolonha