-
-
Notifications
You must be signed in to change notification settings - Fork 89
feat(dgraph): initial adapter #170
Conversation
|
Thank you! That will be awesome! Although it might be worth waiting for nextauthjs/next-auth#2361 to be merged. I am currently rewriting/simplifying the Adapter API and so it could spare both of us some time if we don't merge this to What do you think? :) |
|
Looks good! I have a few suggestions, but let me do a test deploy and test it locally first. |
|
@balazsorban44 Yes that seems the smartest thing to do.
|
|
Also dgraph has a secure way to store passwords and verify them (see password-type). While I understand your concern about the security of credentials, this is still a standard way to implement auth in our applications. So I'm wondering if we could add a method in the adapter that would be responsible to check the validity of a password and returning the user.What do think about that ? |
|
It's a WIP, so you should probably wait. The list of changes is not complete yet. I'll try my best to sum the necessary changes as good as possible. We are going to write a full migration document to accompany the new release as well. 😊 |
|
@arnaudDerbey Hopefully you are still around, the new API has been merged, and you can see Prisma and the Fauna adapter implementations for reference! https://github.com/nextauthjs/adapters/blob/next/packages/prisma/src/index.ts Please base your branch against |
|
Hey@balazsorban44 , still around ! 🤗 |
|
Thanks, it's coming, I hope in a few weeks. 🤞 Feel free to reach out for any help! |
|
Hello there! Sorry for reviving this one, just curious if @arnaudDerbey did the enhancements for the dgraph adapter |
|
Recommend following #206 |
Dgraph Adapater for next-auth 🎉