server side rendering
# support-questions
r
Hello, is there any way to have an app to stand between SuperTokens and the client? I have a NextJs server, to have Server Side Rendering when a client is requesting to NextJs, I need to handle his cookies and to do that, I should get cookie of user and send it to SuperTokens and return it back to client. so the NextJs app need to stand between client and SuperTokens
r
hey @rezaamya you can enable cookie sharing on your domains and then the nextjs app will get the cookie. See https://supertokens.com/docs/session/common-customizations/sessions/ssr
r
Thanks so much for your reply I will check it thanks again