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?
1 Reply
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?