https://supertokens.com/ logo
f

funk101

05/11/2022, 3:57 PM
using nextjs, is it possible to wrap my "app.js" in to be able to access any part of the site using useSessionContext()?
r

rp

05/11/2022, 3:58 PM
yea! It is. You simply wrap a component with
EmailPasswordAuthNoSSR
and then inside the child component, you can use
useSessionContext
2 Views