Hi. We have an existing Frontend using React that handles all the session management. We are now building a new frontend using next.js that will run on the same domain but a different path. I want it to function that if the user gets to the new frontend, the session is validated. If they are not logged in, they are sent to the original application to login and are redirected back after login. I know I need to use
SuperTokens.init
. Should I copy all the configuration across from the old app to the new or are only certain parts of the config required?