DanielSinclair
released this
03 Aug 06:37
·
274 commits
to main
since this release
Minor Changes
-
86be3f0: Support for
next-auth
versions4.21.0
and above.Migration guide
-
Upgrade
next-auth
to~4.22.0
-
In your
next-auth
providersasync authorize(credentials)
implementation, alter the parameters passed togetCsrfToken
like so. Reference our example implementation here.
- const nonce = await getCsrfToken({ req }); + const nonce = await getCsrfToken({ req: { headers: req.headers } });
-