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:
- You have an ORCID account with a private e-mail AND you have a SONAR account with this same e-mail
- On SONAR, you click on "Login with ORCID"
- You actually login on ORCID and are redirected to SONAR
- 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
- You enter your e-mail
- You are not logged in SONAR and don't receive any message
Context
Server:
Bug description:
SSO via ORCID does not work if the ORCID e-mail is private.
Expected behavior:
After submitting the registration form
Steps to Reproduce:
Context
Server: