Describe the bug
When anonymous users view item pages 401 responses are written to the console and the backend logs.
API endpoints which are called include:
- /server/api/config/correctiontypes/search/findByItem?uuid=b3983b62-ae22-42d4-9f5e-2e6336f441c0
- /server/api/integration/qualityassurancesources/search/byTarget?target=b3983b62-ae22-42d4-9f5e-2e6336f441c0
- /server/api/ldn/notifyrequests/b3983b62-ae22-42d4-9f5e-2e6336f441c0
To Reproduce
Steps to reproduce the behavior:
- Go to demo.dspace.org and do not login
- Do a search
- Right click and open your browser's 'Inspect Element'
- Click on the 'Console' tab
- Back in DSpace, click on an item page
- Notice several 401 responses from API endpoints.
- Notice 401 responses written to the backend logs as well
Expected behavior
- Go to demo.dspace.org and do not login
- Do a search
- Right click and open your browser's 'Inspect Element'
- Click on the 'Console' tab
- Back in DSpace, click on an item page
- No 401 responses from API endpoints.
- No 401 responses written to the backend logs
Related work
Link to any related tickets or PRs here.
Describe the bug
When anonymous users view item pages 401 responses are written to the console and the backend logs.
API endpoints which are called include:
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Related work
Link to any related tickets or PRs here.