hey @Luca - yes you can. We currently only support pages directory though, and have an integration guide for the same
l
Luca
05/08/2023, 2:09 PM
@rp_st Ok, thanks. Refering to this documentation: https://supertokens.com/docs/thirdpartyemailpassword/nextjs/init: can i also have a public section in my app? Or do i have to include the SupertokensWrapper in any page.getLayout function?
r
rp_st
05/08/2023, 2:14 PM
Wrapping the app with supertokensWrapper allows you to have public sectors in your app. Only the SessionAuth wrapper enforces that the user should be logged in
SuperTokens is an open source authentication solution offering features like: Different types of login: Email / password, Passwordless (OTP or Magic link based).