Handle authoring of pages on Author Instance
Hello,
We are in a situation and maybe it's a common problem in AEM Project.
So we have specific pages which require user login to be accessed such as payment-summary, wishlist etc.
The project is AEM SPA and this condition is written on React components, to redirect to login if user is not logged in when try to access these protected pages.
Now, same code is available on Author instance pages as well and it's making a redirection and unable to author the page.
How to resolve this issue and Author should be able to author the component on Author instance?
