fedeya / next-auth-sanity

NextAuth Adapter and Provider for Sanity
https://sanity.io/plugins/next-auth-sanity
MIT License
79 stars 20 forks source link

Any plan to make next-auth-sanity to be compatible with Next Auth v4? #7

Closed AeroFiTech closed 2 years ago

AeroFiTech commented 2 years ago

Hi Fedeya,

Wishing you well and happy new year!

Since Next Auth was updated to v4 last month (I think) which has some breaking changes, do you have any plan to update this library as well to be compatible with Next Auth v4?

I encountered some error using the next-auth-sanity library with next-auth v4.

Cheers mate.

danielvanc commented 2 years ago

Yeah I've just encountered errors on next-auth v4 as well. Unusable while it errors, unfortunately. Here's what I'm getting @kmelve @Fedeya

Screenshot 2022-01-10 at 20 22 54
fedeya commented 2 years ago

Hello @danielvanc @AeroFiTech in this days i see the changes on next auth and update the library, any pr is welcome!

fedeya commented 2 years ago

already make the changes, all works without failures!, i only need to update the docs for the merge

danielvanc commented 2 years ago

Awesome, thank you for the speedy fix @Fedeya ! 🥇

dshcheung commented 2 years ago

@Fedeya any news on the merge? I see that the PR is ready but have not been merged.

fedeya commented 2 years ago

@Fedeya any news on the merge? I see that the PR is ready but have not been merged.

sorry i forgot to do the docs, i already made that and merge and publish to npm

AeroFiTech commented 2 years ago

@Fedeya Awesome.. Let me have a spin on this soon! You're the best!