Hi guys,
We have a Swift implementation where we have the entire "My account" section protected.
We are trying to achieve a solution for redirecting the user to a login page (or displaying the login template) if a user tries to access a protected page without being authenticated.
I have set up a Login template on the website settings and also I have set up the permission on the entire page tree. The 404 redirect is set on the website settings and I assume it is already set correctly in IIS since it is a cloud solution
However, when trying to access a protected page as anonymous, I get this nasty yellow error:
From the error stack, it seems that it may try to open the login dialog ( Pageview.GetLogonDialog() )
Is there any setting that I am missing? I imagine this should be standard behavior.
Thank you,
Adrian