janeway icon indicating copy to clipboard operation
janeway copied to clipboard

ORCID iDs should not be inputted manually

Open alainna opened this issue 2 years ago • 0 comments

Is your feature request related to a problem? Please describe.

Currently it is possible for unverified ORCID iDs to enter author metadata/account data through manual entry. This results in various user errors -- forgetting characters, inputting in incorrect format, inputting someone else's ORCID iD, etc. The only way that one can confirm that an individual holds an ORCID iD is by asking them to authenticate their iD by signing into ORCID and granting Janeway permission to obtain their ORCID iD and perhaps other data on their ORCID record.

Describe the solution you'd like

Authentication status should be determined by a valid access token.

  1. User profile authentication: Account holders should be prompted to authenticated their ORCID iD and should not be able to input manually: image

    When a user logs in, and there is no ORCID access token on their account, display a message to the user prompting them to re-connect their ORCID iD for validation.

    When loading a user’s personal account profile, the system should use the stored access token to check whether the token is valid (eg GET the user’s ORCID iD). If the token is not valid, or if there is no token, display a grey or red X version of the ORCID iD icon and ask the user to reconnect their ORCID iD (or something similar). Any DOI metadata with this user's ORCID iD image

    When a user clicks “Remove”, revoke the access token so the user will no longer see e.g. “Janeway” listed in their ORCID account settings. This can prevent an incorrect ORCID iD from being accidentally connected to the wrong account due to existing permissions. ref: https://members.orcid.org/api/oauth/revoke-tokens

    Finally, if the user is an author of a paper in Janeway, and their is no ORCID access token associated with their account, then a grey version of the ORCID iD icon should be displayed with alt or hover text that it has not been validated.

  2. Co-author ORCID iD request: Submitting authors and moderators/editors should not be able to manually input an ORCID iD to search for a co-author. If the submitter searches by email address and finds the co-author's existing account, the co-author's authenticated ORCID iD should display if a valid access token is there.

    Moderators/editors (and submitting co-authors?) should be able to send an email from the item view page to ask that the co-author connect their ORCID iD to Janeway. image

alainna avatar Nov 16 '21 23:11 alainna