jemJ
Convex Community3y ago
16 replies
jem

Custom Auth (for ATprotocol)

hihi! trying to implement a custom auth provider, and for some reason isAuthenticated is false even tho in my useAuthFromProviderX function (and my auth provider) it's true

noticed this in the Clerk & Auth0 doc pages but not the Custom auth provider page - do I potentially need to add something to convex.json?
Debugging authentication
If a user goes through the Auth0 login flow successfully, and after being redirected back to your page useConvexAuth gives isAuthenticated: false, it's possible that your backend isn't correctly configured.

The convex.json file in your project directory contains a list of configured authentication providers. You must run npx convex dev or npx convex deploy after adding a new provider to sync the configuration to your backend.
Was this page helpful?