We have a page (and child pages) that need to be secured to a group of users.
I created a group to hold the members, and created the members, adding them to the group in question.
I then set public access on the pages in question, restricting to role based access, adding only the group mentioned above for access. I then proceeded to set the log in page and error page.
When a user navigates to the restricted area of the site, they are NOT redirected to the log in page, but only the error page. No exceptions are thrown when running the site from Visual Studio and no errors are written to the console either.
Does anyone have any ideas what could be causing this?
It sounds like the member is already authenticated but part of another group. It follows that they would only see error page at that point.
I would clear out all cache and double check member you're testing with is part of your public access group. If true, you should see desired content after logging in. Again, those that are not part of that group when logged in will be taken to error page.
It's also important to distinguish users from members and not cross the two.
Thanks for your response. Unfortunately we have tried this. There is only one member group total for the whole site, and no one currently needs to log in anywhere else - anonymous access is allowed across the site.
So with a totally clear cache, all storage and cookies deleted, the user is still taken to the error page instead of being asked to log in.
Unable to log members in
We have a page (and child pages) that need to be secured to a group of users.
I created a group to hold the members, and created the members, adding them to the group in question.
I then set public access on the pages in question, restricting to role based access, adding only the group mentioned above for access. I then proceeded to set the log in page and error page.
When a user navigates to the restricted area of the site, they are NOT redirected to the log in page, but only the error page. No exceptions are thrown when running the site from Visual Studio and no errors are written to the console either.
Does anyone have any ideas what could be causing this?
Hi Matthew,
It sounds like the member is already authenticated but part of another group. It follows that they would only see error page at that point.
I would clear out all cache and double check member you're testing with is part of your public access group. If true, you should see desired content after logging in. Again, those that are not part of that group when logged in will be taken to error page.
It's also important to distinguish users from members and not cross the two.
I hope this helps.
Regards,
Dom
Hi Dominic,
Thanks for your response. Unfortunately we have tried this. There is only one member group total for the whole site, and no one currently needs to log in anywhere else - anonymous access is allowed across the site.
So with a totally clear cache, all storage and cookies deleted, the user is still taken to the error page instead of being asked to log in.
is working on a reply...