Skip to content

Retain original backoffice location on login after timeout#19984

Merged
leekelleher merged 2 commits intov13/devfrom
v13/bugfix/retain-url-when-timed-out
Sep 15, 2025
Merged

Retain original backoffice location on login after timeout#19984
leekelleher merged 2 commits intov13/devfrom
v13/bugfix/retain-url-when-timed-out

Conversation

@AndyButland
Copy link
Contributor

@AndyButland AndyButland commented Aug 25, 2025

Prerequisites

  • I have added steps to test this contribution in the description below

Resolves #19971 and #20050

Description

Looks like this issue has come about after the merge of #19663 to address #16772.

With the above code in place, after a timeout you get redirected to an incorrect URL and end up at the root of the website.

With this update, you'll end up on the backoffice page as expected.

Testing

To replicate the issue you can configure a low timeout value with:

  "Global": {
    "TimeOut": "00:00:30",
  },

Navigate to a page in the backoffice and wait until timed out.

After logging in again you will end up on the home page, and with this update in place you'll be back on the page you were previously on in the backoffice.

I've also verified the following that the original fix was intended to ensure.

  • Navigate via a direct link to a page in the backoffice when not logged in, log in, and ensure you are shown the page you have direct linked to.
  • Navigate via a direct link to a page in the backoffice when not logged in, log in via an external login provider, and ensure you are shown the page you have direct linked to.

Copilot AI review requested due to automatic review settings August 25, 2025 08:28
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

@AndyButland AndyButland changed the title Retain original backoffice location on login after timeout. Retain original backoffice location on login after timeout Sep 3, 2025
Copy link
Member

@leekelleher leekelleher left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested out, works as expected! 🚀

@leekelleher leekelleher enabled auto-merge (squash) September 15, 2025 15:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants