Hello everyone got a question here I was reading ...
# talk-kratos
s
Hello everyone got a question here I was reading the documentation on protecting the pages. I want to know that I we want to check on some other page that if the user is logged in do I have to copy paste the highlighted boilerplate code on every page? Is there any other way? REFERENCE: https://www.ory.sh/docs/guides/protect-page-login/next.js#require-login-to-access-the-home-page