Skip to content

401 responses on item page load for anonymous users #5931

Description

@alexklbuckley

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:

  1. Go to demo.dspace.org and do not login
  2. Do a search
  3. Right click and open your browser's 'Inspect Element'
  4. Click on the 'Console' tab
  5. Back in DSpace, click on an item page
  6. Notice several 401 responses from API endpoints.
  7. Notice 401 responses written to the backend logs as well

Expected behavior

  1. Go to demo.dspace.org and do not login
  2. Do a search
  3. Right click and open your browser's 'Inspect Element'
  4. Click on the 'Console' tab
  5. Back in DSpace, click on an item page
  6. No 401 responses from API endpoints.
  7. No 401 responses written to the backend logs

Related work

Link to any related tickets or PRs here.

Metadata

Metadata

Assignees

Type

Fields

No fields configured for Bug.

Projects

Status
🏗 In Progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions