You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm working on a web app that started with the Twitch authentication.
Over time, we decided to add integrations with the Twitter API, the YouTube API and other social networks.
I wanted to leverage Next-Auth to easily get access tokens from Twitter/YT/etc. having the user to login again with Next-Auth.
Unfortunately, as you can imagine, once I have the user login with Twitter, after they logged in with Twitch, I lose the session info (Twitch tokens).
Now, I understand that probably what I'm doing looks like an abomination, but I'm new to Next and BE development in general, and I need your help to find the right approach.
What do you think I could try to pull it off? Thanks,
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hi all,
I'm working on a web app that started with the Twitch authentication.
Over time, we decided to add integrations with the Twitter API, the YouTube API and other social networks.
I wanted to leverage Next-Auth to easily get access tokens from Twitter/YT/etc. having the user to login again with Next-Auth.
Unfortunately, as you can imagine, once I have the user login with Twitter, after they logged in with Twitch, I lose the session info (Twitch tokens).
Now, I understand that probably what I'm doing looks like an abomination, but I'm new to Next and BE development in general, and I need your help to find the right approach.
What do you think I could try to pull it off? Thanks,
Ivan
Beta Was this translation helpful? Give feedback.
All reactions