Initiate Twitter signIn
call inside the Popup Window
#2880
Unanswered
deadcoder0904
asked this question in
Help
Replies: 0 comments
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.
-
I want to initiate Sign In using a Popup Window like Typefully does.
I got it working using other library like
twitter-api-v2
where I was handling the route myself but I'm not sure how to approach this one. I tried adding thesignIn
call inside thebutton
where I open thewindow
(see this file for details → https://github.com/deadcoder0904/twitter-api-v2-3-legged-login-using-next-connect/blob/next-auth/pages/index.tsx) but it's not working.This is the working code in
main
branch → https://github.com/deadcoder0904/twitter-api-v2-3-legged-login-using-next-connect/Reproducible demo on
next-auth
branch → https://github.com/deadcoder0904/twitter-api-v2-3-legged-login-using-next-connect/tree/next-authBeta Was this translation helpful? Give feedback.
All reactions