Skip to content

NextAuth example works locally but fails on Zeit #11530

Answered by iaincollins
shea256 asked this question in Help
Discussion options

You must be logged in to vote

Hi @shea256

I am the lead maintainer of next-auth

I can confirm, as @lfades says, that this problem is indeed an issue next-auth v1 and not with to Next.js or now.sh. NextAuth.js v1 was created for now.sh v1 and is not compatible with now.sh from Vercel today and does not take advantage of features in recent versions of Next.js.

There is some good news though!

You might want to check out next-auth.js.org for the beta of v2 or check out next-auth-example.now.sh for a demo.

  • Supports Next.js 9+ and Serverless
  • Much easier to set up and use than v1
  • Supports many popular providers, including Auth0
  • Install it will npm next-auth@beta

NextAuth.js v2 is an open source community project. It's curr…

Replies: 2 comments 8 replies

Comment options

You must be logged in to vote
8 replies
@shea256
Comment options

@lfades
Comment options

@lfades
Comment options

@shea256
Comment options

@shea256
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by lfades
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
3 participants