Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Matthew Hall 2 posts 72 karma points
    Jun 16, 2017 @ 12:51
    Matthew Hall
    0

    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?

  • Domenic 42 posts 128 karma points
    Jun 19, 2017 @ 21:35
    Domenic
    0

    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

  • Matthew Hall 2 posts 72 karma points
    Jun 21, 2017 @ 08:33
    Matthew Hall
    0

    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.

Please Sign in or register to post replies

Write your reply to:

Draft