Skip to content

Allow users to prefill registration form with ORCID record data #3337

Description

@alainna

Is your feature request related to a problem? Please describe.
As a Janeway user, I'd like to use ORCID to register a new Janeway account and reduce the amount of time I spend filling in forms.

Describe the solution you'd like

After connecting my ORCID iD to Janeway, Janeway should use the resulting access token to obtain data from my ORCID record and fill it in the Registration form. My expectation is that data required to register a Janeway account and which is not visible to Janeway's ORCID API client can be filled in be me when I complete the registration form with my password, etc.


Disclaimer

To the best of our ability, ORCID Janeway functionality should be built with the understanding that a) current ORCID support is for the Public API only, and b) eventually there will be a toggle setting at the press/system level which allows the admin to choose Public API features or Member API features. The Member API would involve slightly calls (pub.orcid.org vs api.orcid.org) and a different scope in the API (/authenticate vs /read-limited & /update).

What

  1. A user should have the option to "Register with ORCID":

    a. During registration, the user should be prompted at the top of the registration form to "Register with ORCID".

    b. When a user tries to sign in with an ORCID iD that is not already in the system, they should be prompted to sign into an existing account or "register with ORCID", i.e. using information from their ORCID record.

  2. When the user chooses to "Register with ORCID", either send a call to read their /record from the ORCID API and look for relevant details, or send a call to read specific parts of their record:

    a. Name: read: /personal-details: personal-details:given-names (First Name) & personal-details:family-name (Last Name)

    b. Email: read: /email: email:email

    c. Affiliation: read /educations & /employments, or /activities, or /record: activities:affiliation-group If there are multiple listed affiliations, then prompt the User to choose their desired affiliation.

    d. Country: Determine from chosen affiliation's data

  3. The user's authenticated ORCID iD should be displayed in the registration "form", to confirm that it is actively connected to their account. There should be an option to remove the ORCID iD, which should a) remove the iD from the registration form/account, and b) simultaneously revoke any received access tokens

image

Example: registration form pre-filled with ORCID record data from https://sandbox.orcid.org/0000-0003-3009-4952

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    dev-readyThis issue has been refined and is ready for development.new featureA new thing that doesn't exist yet

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions