Skip to content

@rainbow-me/[email protected]

Compare
Choose a tag to compare
@DanielSinclair DanielSinclair released this 03 Aug 06:37
· 274 commits to main since this release
76cfc14

Minor Changes

  • 86be3f0: Support for next-auth versions 4.21.0 and above.

    Migration guide

    1. Upgrade next-auth to ~4.22.0

    2. In your next-auth providers async authorize(credentials) implementation, alter the parameters passed to getCsrfToken like so. Reference our example implementation here.

    - const nonce = await getCsrfToken({ req });
    + const nonce = await getCsrfToken({ req: { headers: req.headers } });