How to use NextAuth without database (only OAuth part) #5496
Unanswered
atumas-bananamilk
asked this question in
Help
Replies: 1 comment 5 replies
-
Hi, so just to be clear, by default NextAuth.js does not use DB if you don't specify an adapter. 🤔
Can you explain a bit more here? |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Question 💬
We use NextAuth to register / login users.
But now we're building a Facebook / Twitter integration (for people to able to tweet etc).
Since they all use OAuth2.0 why don't we reuse what NextAuth already has - the OAuth2.0 part?
But we don't want to store any of that information into "Account" table (which NextAuth does by default).
We just need access / refresh tokens ("Account" table is pretty limited).
We use Prisma + NextAuth for Social Login, but we want to re-use NextAuth's OAuth2.0 capabilities to get access tokens for our internal integrations.
I found this but no info on it:
Can someone help me?
How to reproduce ☕️
Contributing 🙌🏽
No, I am afraid I cannot help regarding this
Beta Was this translation helpful? Give feedback.
All reactions