Next.js Discord

Discord Forum

NextAuth and password hashing

Unanswered
coder2000 posted this in #help-forum
Open in Discord
I am trying to use a tougher hashing algorithm than bcrypt like argon2 or scrypt however they require node:crypto in some way and therefore don't work when called in middleware. Is there a way to use them while still maintaining the edge runtime of middleware?

0 Replies