vercel / ai-chatbot

A full-featured, hackable Next.js AI chatbot built by Vercel
https://chat.vercel.ai
Other
6.25k stars 1.96k forks source link

Demo from Vercel uses "Vercel Auth" vs "NextAuth.js" #257

Closed guylepage3 closed 6 months ago

guylepage3 commented 6 months ago

Just checking in to see if this project is still relevant.

I've noticed that the version linked as "Demo" is a completely different instance and repository than the one linked to for the project.

One uses "Vercel Auth" and the other uses "NextAuth.js".

Two totally different auth providers.

amplicity commented 6 months ago

I can shed some light here, but can't answer your question completely. This repo used a commit-referenced version of 'auth.js', which inherits from nextauth (and is nextauth's successor).

I came on here to ask a very similar question -- how can we update to the latest nextauth version within this repo?

When upgrading the auth.js version from anything other than the manually referenced commit, you face numerous issues

leerob commented 6 months ago

Update to Auth.js is happening here -> https://github.com/vercel/ai-chatbot/pull/253