getAuthUserId(ctx)getAuthUserId(ctx) returns nullnull in all backend queries/mutations, even though OAuth sign-in succeeds and creates a valid session.@convex-dev/auth@convex-dev/auth: ^0.0.90authSessionsauthSessions tablegetAuthUserId(ctx)getAuthUserId(ctx) returns nullnullctx.auth._tokenctx.auth._token is undefinedundefined (JWT not sent with requests)useConvexAuthuseConvexAuth):useConvexAuth()useConvexAuth() to wait for isAuthenticated: trueisAuthenticated: true before calling queriesgetAuthUserId()getAuthUserId() from @convex-dev/auth/server@convex-dev/auth/serverdomain: process.env.CONVEX_SITE_URLdomain: process.env.CONVEX_SITE_URL which may be undefined. Could this be blocking JWT validation? How should we properly configure authentication?Join the Discord to ask follow-up questions and connect with the community
Join the Convex Discord! Explore Convex, the backend platform that keeps your app in sync.
16,164 Members
Join