daun
daun14mo ago

Authenticating Next.js app with Auth0 (in client side)

Hi, I'm authenticating my app with auth0 and convex and when I call useConvexAuth - it initially return isAuthenticated as true and then switch it to false after a while. when I just call useAuth0, it works perfectly fine without state switching. Do you know why this happen and how to fix?
No description
No description
No description
1 Reply
Michal Srb
Michal Srb14mo ago
Hey @daun, this means that your client-side is working, but your Convex backend is not authenticating correctly. Have you configured your convex/auth.config.js file according to the docs?

Did you find this page helpful?