Skip to content

Wrong redirect_uri for ORCID authentication #5720

Description

@AndreaBarbasso

Describe the bug

The redirect_uri sent to ORCID has two forward slashes after the base URL. This is handled gracefully by the Angular router, but could lead to other issues in the future.

To Reproduce

Steps to reproduce the behavior:

  1. Go to the sandbox environment;
  2. Login as administrator and go to the profile page;
  3. Click on View, then Open ORCID settings page in the context menu;
  4. Click Connect to ORCID ID;
  5. Note that the redirect_uri queryParam has two forward slashes (%2F) right after the base URL: &redirect_uri=https:%2F%2Fsandbox.dspace.org%2F%2Fentities%2Fperson%2Fb5939462-34f8-471f-ab79-8b93f1e82948%2Forcid.

Expected behavior

There should be only one forward slash there.

Metadata

Metadata

Assignees

Labels

bugintegration: ORCIDRelated to integration with ORCID identifier system

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