What's the difference between `SuperTokensWrapper`...
# support-questions-legacy
r
What's the difference between
SuperTokensWrapper
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
2 Views