DEV Community

Discussion on: Next.js Authentication - JWT Refresh Token Rotation with NextAuth.js

Collapse
 
marcelx8 profile image
Marcelx8

Thanks for sharing your experience and guidance on Next-Auth. It's my first time implementing authentication myself and with so many authentication libs out there, this seemed to be the one that has so much given functionality.

After my 3 day search and testing, I just couldn't get enough documentation or examples explaining the jwt and session callbacks and its uses together, especially with the CredentialsProvider.

You have provided reusable pieces of code as well as explaining them. Appreciated sincerely.