umbraco / Umbraco-CMS

Umbraco is a free and open source .NET content management system helping you deliver delightful digital experiences.
https://umbraco.com
MIT License
4.4k stars 2.66k forks source link

Backoffice login page redirects to /umbraco#/content instead of staying on the originally requested URL. #16772

Open jgettrup-ng opened 1 month ago

jgettrup-ng commented 1 month ago

Which Umbraco version are you using? (Please write the exact version, example: 10.1.0)

13.3.2

Bug summary

When I'm logged out of Umbraco and I navigate to a page in the backoffice I'm presented with the login page. After I successfully log in I'm redirected to the root of the content area (/umbraco#/content) instead of staying on (or redirecting to) my original URL. After logging in I expect to be on the page I originally requested.

Specifics

Checked in Chrome, Edge and Firefox.

Steps to reproduce

Log out of the Umbraco backoffice. Request a URL within the backoffice that is not /umbraco#/content, e.g. /umbraco/login#/settings?dashboard=settingsExamine. Enter a valid username and password and click Login. You are redirected to /umbraco#/content instead of staying on /umbraco/login#/settings?dashboard=settingsExamine.

Expected result / actual result

I expect to remain on (or be redirected to) my originally requested URL. This is how our previous version behaved (10.8.2). The new behaviour is less useful than before. We use direct links to edit content items (e.g. /umbraco#/content/content/edit/78634) and it would be better if this URL was preserved during login.

github-actions[bot] commented 1 month ago

Hi there @jgettrup-ng!

Firstly, a big thank you for raising this issue. Every piece of feedback we receive helps us to make Umbraco better.

We really appreciate your patience while we wait for our team to have a look at this but we wanted to let you know that we see this and share with you the plan for what comes next.

We wish we could work with everyone directly and assess your issue immediately but we're in the fortunate position of having lots of contributions to work with and only a few humans who are able to do it. We are making progress though and in the meantime, we will keep you in the loop and let you know when we have any questions.

Thanks, from your friendly Umbraco GitHub bot :robot: :slightly_smiling_face:

elit0451 commented 1 month ago

Hi @jgettrup-ng 👋

Thanks for reaching out! I was able to reproduce this and as you said in v10 we are adding dashboard=settingsExamine&returnPath=%2Fumbraco%23%2Fsettings%3Fdashboard%3DsettingsExamine to the URL while v13 always redirects to /umbraco#/content. I will mark it as up for grabs as we would like some help fixing this 🙂

github-actions[bot] commented 1 month ago

Hi @jgettrup-ng,

We're writing to let you know that we would love some help with this issue. We feel that this issue is ideal to flag for a community member to work on it. Once flagged here, folk looking for issues to work on will know to look at yours. Of course, please feel free work on this yourself ;-). If there are any changes to this status, we'll be sure to let you know.

For more information about issues and states, have a look at this blog post.

Thanks muchly, from your friendly Umbraco GitHub bot :-)