You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"Migrated to Auth.js v5 from NextAuth and Edge Runtime Compatibility Fixes"
Problem Description
Outdated NextAuth.js Version
The project was using an old version of next-auth, incompatible with the new designs folder structure. This caused issues with authentication flows and required updates to middleware and session management.
@ankitmukhia the PR is adding 11k+ lines and deleting many lines of code. I am also getting a similar issue in which I only changed one file, but when opening a PR it shows that I changed 10 files and added many lines. However, the other code is from someone else. How can I fix this? Do you have any ideas?
Title
"Migrated to Auth.js v5 from NextAuth and Edge Runtime Compatibility Fixes"
Problem Description
next-auth
, incompatible with the new designs folder structure. This caused issues with authentication flows and required updates to middleware and session management.bcrypt
was incompatible with the Edge runtime, leading to errors due to its reliance on native Node.js modules. More details can be found in this [GitHub issue](Fails in next-auth@beta in Next.js 14 kelektiv/node.bcrypt.js#1017).Solution
authjs
v5.bcrypt
to an Edge-compatible alternative likebcryptjs
.The text was updated successfully, but these errors were encountered: