After relogin from login expiry, redirect back to the last page open in the tab.
What is the productivity problem to solve?
Login expired -> All open tabs redirect to 'please login again'.
User logs in, gets redirected to the last opened page on account, not the tab. Select all tabs with gitlab, refresh. Now all tabs have the same page, when they used to have different pages before login expiry.
Right now a workaround is to right click the back arrow and choose the third item for each tab, but when you have many, many tabs open, this becomes a time eater fast.
Problem identification checklist
-
The root cause of the problem is identified. -
The surface of the problem is as small as possible.
What are the potential solutions?
-
All potential solutions are listed. -
A solution has been chosen for the first iteration: PUT THE CHOSEN SOLUTION HERE
a) Include the page, what was logged out in the url for relogin. This can have potential privacy problems, so variant b would be preferred.
b) Send the server your current URL, server returns an anonymous ID. When offering server the same id from the same user (or an another authenticated?), the server gives back the URL. Potential problems:
- How long will the server hold the URL? A week and 1 hour after it being used?
- What happens when an unauthorized user logs in? Does the server give you the URL? Do you get a forbidden page? Does the ID get discarded/used?
- What happens when a different authorized user logs in? Does it count as unauthorized as well?
Verify that the solution has improved the situation
-
The solution improved the situation. - If yes, check this box and close the issue. Well done!
🎉 - Otherwise, create a new "Productivity Improvement" issue. You can re-use the description from this issue, but obviously another solution should be chosen this time.
- If yes, check this box and close the issue. Well done!