AmruthPillai/next-auth-hasura-adapter

Auth.js support

xmlking opened this issue · 3 comments

NextAuth moved to Auth.js with new multi framework API.

We are using with sveltekit and realized this lib no more working.
Please support now Auth.js as well.

I think this should work...

import {
  Adapter,
  AdapterAccount,
  AdapterSession,
  AdapterUser,
  VerificationToken,
} from "@auth/core/adapters";

Could you check if v2.0.0 now has the changes required to support Auth.js?
This PR comes with a couple of migration changes: #2

Will test and let you know.
Thanks for your continuous support.