I used <EmailPasswordAuth> to wrap the page, bu...
# support-questions
p
I used to wrap the page, but when I refresh the page the error occur. I am already signed in
r
You need to use the dynamic HOC provided by NextJS to make sure that this component is not loaded on the server side. https://supertokens.com/docs/emailpassword/nextjs/protecting-route
p
ok thanks
2 Views