rangrik
11/01/2023, 10:34 PMSuperTokensWrapper and SessionAuth components? The docs suggest to use both, at different levels. But even if I don't use SessionAuth , SuperTokensWrapper seems to do the job and redirect unauthenticated user to login page. I can't seem to grasp the difference. Apologies for the dumb question, in advance.
I am new to both NextJS & Supertokens, can someone help? What am I missing. Referring to this doc - https://supertokens.com/docs/thirdpartyemailpassword/nextjs/app-directory/protecting-route