• Resolved wupsberger

    (@wupsberger)


    Hi, i have a setup with a simple wordpress site with just a handful of pages. Current wordpress version 6.5.5 with the Twenty-Twenty-Three theme.

    I am using LoginPress to style the login screen and Groups+Groups 404 to limit access to all pages including the start page by allowing access only for “Registered” users and then redirecting in the Groups 404 settings to “Redirect to the WordPress login”. Redirect Status code is set to “301”.

    This works most of the time but sometimes after successfully entering the credential the login screen is shown again. At this point the user is already logged in, entering the credentials again just ends up in the login screen again.
    If one enters the URL of the site at this point instead of trying the login again, then the startpage is shown as intended (as the login was successful).

    It is not clear to me why sometimes the user ends up in a login loop and why this setup allows doing another login after a user has already logged in successfully instead of forwarding the the user to the correct page. It seems to happen quite often on an iphone with Safari browser, but i don’t think i have seen this issue with Chrome on my Mac Desktop at all.

    Is this a known problem, are there any tips/recommendations for this type of configuration?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter wupsberger

    (@wupsberger)

    Did a bit of testing, the login loop only seems to happen on the following setups: iphone Safari, ipad Safari, ipad Firefox.
    No issues on IOS Desktop Firefox, and ipad Chrome/Edge or iphone Chrome/edge.

    Hi there,

    Thanks for sharing the necessary steps to replicate this issue, followed them too but was unable to reproduce it here, neither on Safari nor Firefox on latest ipadOS.

    Perhaps this is a known bug with the browsers’ app versions and an update would resolve it. Safari and Firefox share the same engine and if this works on Safari then it will probably work on Firefox too. However, because the redirect occurs on the server and from the fact that only Safari and Firefox won’t redirect only, what I would also recommend you to do is to clean your browser data as described here: https://support.apple.com/en-us/105082

    The issue might be as simple as that and based on your description I think it’s more possible to be cache-related.

    Kind regards,

    George

    Plugin Author Kento

    (@proaktion)

    Marking as resolved, but feel free to follow up if needed.

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.