© 2026 LinearBytes Inc.
Search posts, tags, users, and pages
NY
Thanks for this! Just wondering, what would the callback URL be when deployed to production? Replacing "localhost" with the app url doesn't seem to work...
Bhanu Teja Pachipulusu
Full-Stack Developer & Entrepreneur
Check whether you have http or https. Also check if you have set NEXTAUTH_URL to the url of the application url or not.
next-auth.js.org/getting-started/example
Check this blog post where I have shown deploying an application which also has NextAuth (GitHub Auth and Password-less Auth)
blog.bhanuteja.dev/nextjs-starter-with-authentica…