Which way to Store Twitter oauth token in database? #3414
Unanswered
vaibhavarora14
asked this question in
Help
Replies: 1 comment 1 reply
-
https://next-auth.js.org/adapters/overview |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I am using Nextjs first time for my side project.
Objective - Let users sign in to their Twitter account, store the OAuth token in our database.
What should be the approach to do that?
My options with the problem I am facing -
callbacks
getaccount -> oauth_token
information, but prisma is undefined at that time (I don't know why). Hence I am unable to store them in the database from there.Please guide me which option either of these or something better I should follow 😊
Beta Was this translation helpful? Give feedback.
All reactions