-
Notifications
You must be signed in to change notification settings - Fork 505
Open
Labels
bugintegration: ORCIDRelated to integration with ORCID identifier systemRelated to integration with ORCID identifier systemneeds triageNew issue needs triage and/or schedulingNew issue needs triage and/or scheduling
Description
Describe the bug
After attempting to log in via ORCID, DSpace shows the following error:
undefined doesn't contain the link authn
Despite this failure, if a user then enters any random email and password (e.g., [email protected] / abc) in the standard login form and clicks "Login", the system logs them into the previously attempted ORCID-linked account β without validating the credentials.
This was observed on DSpace 7.x (e.g., 7.6) using Google Chrome.
This behavior poses a significant security risk, as it allows bypassing authentication once an ORCID login flow has been attempted.
To Reproduce
Steps to reproduce the behavior:
- On the DSpace login page, click Login with ORCID.
- Complete the ORCID authorization process.
- The application returns an error:
undefined doesn't contain the link authn - Now, enter any random text in the email and password fields and click Login.
- The system logs you into the ORCID-linked account.
Expected behavior
- ORCID login should redirect correctly and securely log the user in.
- The standard email/password login should not allow login with incorrect credentials.
- A failed ORCID login should not leave any authentication session or token that can be misused.
Metadata
Metadata
Assignees
Labels
bugintegration: ORCIDRelated to integration with ORCID identifier systemRelated to integration with ORCID identifier systemneeds triageNew issue needs triage and/or schedulingNew issue needs triage and/or scheduling
Type
Projects
Status
π Triage
