Okay so I have a little bit of a tricky situation....
# support-questions-legacy
t
Okay so I have a little bit of a tricky situation. I want to authenticate users using my express js api for a Next JS application. However, I want to use Next JS's server side rendering functionality to fetch user data and render the page. When I try to fetch the /myinfo route to get the user info, it can't get the cookies because the site and the api are using 2 different domain names. How can I solve this problem?
3 Views