Next.js Discord

Discord Forum

Users are able to sign in but receiving null upon calling getAuth

Unanswered
Silver posted this in #help-forum
Open in Discord
SilverOP
Hi, I recently created a new nextjs site (letscreateart.ai) and am having trouble with clerk auth. For reference, it was working in development fine, when I shifted over to prod on vercel I am now not able to perform actions as if the user was logged in. When I call getAuth(), it doesn't return the user id, it returns null even with a logged in user. I checked all my api keys and they seem correct, If anyone could lend a helping hand I would be forever grateful 🙏

0 Replies