Skip to content

redirect loops can be caused when authenicated user gets Unauthorised #36

@djay

Description

@djay

Normally plone redirects to a login form when it gets unauthorised.
Some PAS plugins like saml2 do redirects to other services to do the login. Those services might already remember the user and redirect back. This leads to a redirect loop.

I consider this a Plone failure. It doesn't really make sense to ask the user to login when they are already logged in. Plone should instead give an unauthorised error page perhaps with a button to logout and login as a different user.
Even without the redirect loops this would be better UX as often the user doesn't know why they are given a login box and this creates confusion.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions