rp04/07/2023, 9:34 PM
property in the SuperTokens initialization object to the parent domain that both the site and the API share. This will allow the cookies to be shared across both domains. Additionally, you can use the
function in Next JS to get the user session on the server side and use it to fetch user data and render the page.