Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SSO via ORCID does not work if the ORCID e-mail is private #876

Open
pronguen opened this issue Aug 2, 2022 · 0 comments
Open

SSO via ORCID does not work if the ORCID e-mail is private #876

pronguen opened this issue Aug 2, 2022 · 0 comments
Labels
bug Breaks something but is not blocking f: user management Related to users

Comments

@pronguen
Copy link
Contributor

pronguen commented Aug 2, 2022

Bug description:

SSO via ORCID does not work if the ORCID e-mail is private.

Expected behavior:

After submitting the registration form

  • if the e-mail matches a SONAR account: the user is logged in and receives a confirmation of the login
  • if the e-mail does not match a SONAR account: the user is not logged in and receives a clear error message

Steps to Reproduce:

  1. You have an ORCID account with a private e-mail AND you have a SONAR account with this same e-mail
  2. On SONAR, you click on "Login with ORCID"
  3. You actually login on ORCID and are redirected to SONAR
  4. SONAR opens the registration form (https://sonar.test.rero.ch/oauth/signup/orcid/) because it didn't receive your ORCID e-mail to match the two accounts
  5. You enter your e-mail
  6. You are not logged in SONAR and don't receive any message

Context

Server:

  • production: v1.7.0
@pronguen pronguen added bug Breaks something but is not blocking f: user management Related to users labels Aug 2, 2022
@pronguen pronguen added the p-High To set a high priority! label Aug 17, 2022
@PascalRepond PascalRepond removed the p-High To set a high priority! label Apr 4, 2023
@PascalRepond PascalRepond moved this to Product Backlog in SONAR issues Apr 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Breaks something but is not blocking f: user management Related to users
Projects
Status: Product Backlog
Development

No branches or pull requests

2 participants