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 have an api with nextjs and next-auth of course. Then I have a flutter app where I need to grab the authenticated user to make actions (insert, update db...)
I was wondering if it's possible to grab the token using the rest api and then send it for example to api/updateName. Will getSession work?
Please don't send me to another thread, I come from all of them.
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
-
I have an api with nextjs and next-auth of course. Then I have a flutter app where I need to grab the authenticated user to make actions (insert, update db...)
I was wondering if it's possible to grab the token using the rest api and then send it for example to api/updateName. Will getSession work?
Please don't send me to another thread, I come from all of them.
Beta Was this translation helpful? Give feedback.
All reactions