Features
- introduce
@auth/upstash-redis-adapter
(#7791)
BREAKING CHANGES
- If you are coming from the previous adapter, change your
package.json
:
- "@next-auth/upstash-redis-adapter": "0.0.0",
+ "@auth/upstash-redis-adapter": "0.0.0",
And run npm install
, yarn install
or pnpm install
respectively.
Note: This packages is published as ESM-only
This package assumes that globalThis.crypto
is available.
In older Node.js versions, you can polyfill by adding:
globalThis.crypto ??= require("node:crypto").webcrypto