dspace-angular icon indicating copy to clipboard operation
dspace-angular copied to clipboard

If I open a related item in another tab I am logged out and redirected to the homepage

Open FrankGameDev opened this issue 5 months ago • 2 comments

Describe the bug

If a logged-in user try to open a restricted item OR execute a search (for the restricted item) on a new tab, the user is instead redirected to the home and logged out.

Using Google Chrome, v149.0.7827.114

https://github.com/user-attachments/assets/262d1eea-81e1-40e3-a3fe-ae715ac52557

To Reproduce

Steps to reproduce the behavior:

  1. Log in as administrator
  2. Open a restricted item OR search for it in the global search
  3. Copy the link and paste it on a new tab, OR right-click on the item title and open it on a new tab

Expected behavior

The logged-in user can reach the restricted item without getting logged out

FrankGameDev avatar Jun 16 '26 12:06 FrankGameDev

From the screencast it looks like you opened a new window in incognito browsing mode. That could be the reason that you are logged out in that window. Could you please confirm that the logging out also happens in a normal browser window or tab?

tinsch avatar Jun 18 '26 09:06 tinsch

@tinsch I confirm that I'm not in incognito mode. The problem happens in a normal browser window

FrankGameDev avatar Jun 18 '26 09:06 FrankGameDev