@auth/xata-adapter
Official Xata adapter for Auth.js / NextAuth.js.
Installation
- Install Auth.js and the Xata adapter
npm install @auth/xata-adapter
- Install the Xata CLI globally if you don’t already have it
npm install -g @xata.io/cli
- Login
xata auth login
XataAdapter()
XataAdapter(client): Adapter
Parameters
Parameter | Type |
---|---|
client | XataClient |