Skip to content
This repository has been archived by the owner on Apr 9, 2020. It is now read-only.

As a researcher, I want to authenticate with ORCID id, so that I don't have to create a new account for dataverse. #11

Open
TomMiksa opened this issue Apr 17, 2019 · 6 comments
Assignees

Comments

@TomMiksa
Copy link
Collaborator

No description provided.

@HasanKhatib
Copy link
Collaborator

Use ORCID APIs to use dataverse instance

@muisawe muisawe self-assigned this May 2, 2019
@HasanKhatib
Copy link
Collaborator

@HasanKhatib HasanKhatib self-assigned this May 4, 2019
@HasanKhatib
Copy link
Collaborator

I managed to add the Orcid auth option by doing the next steps:

  • Creating ORCID application under developer tools
  • Stop the blocking (filter) on external api access on dataverse so I can access docker container environment
  • Configure and upload orcid.json file to dataverse-docker instance
  • Update the jvm-options within the docker glassfish server to match the running instance

Screenshot from 2019-05-10 06-08-06

Blocking issue!!

After performing above steps, I faced this error which is an open issue in the IQSS repo 5279.
For now, I may need help from someone who managed to fix or go around this issue in his/her setup.
Screenshot from 2019-05-10 05-59-20

@TomMiksa
Copy link
Collaborator Author

Have you compared with this tutorial?
https://members.orcid.org/api/tutorial/get-orcid-id

According to it, it should be possible to log in with the public API. Maybe the authorisation from your side is missing (blocked pop-up in which you allow dataverse to get access to your account)?

Worst case, please configure Dataverse to authenticate with GitHub or google accounts.

@HasanKhatib
Copy link
Collaborator

I kept getting the same error about ORCID, so I decided to start with the mentioned worst case scenario. Based on that, I managed to add github auth integration successfully 👍

  • github.json file was needed for dataverse configuration, and d2s_auth app was created on the github side
  • same jvm options configuration was needed on the docker glassfish server

Step 1: OAuth with github page

Screenshot from 2019-05-10 18-21-32

Step 2: Complete dataverse profile after getting response from github

Screenshot from 2019-05-10 18-23-02

@pdurbin
Copy link

pdurbin commented May 22, 2019

It's a little buried in the Dataverse guides but let me emphasize in bold how ORCID is different than GitHub and Google:

"In the case of GitHub and Google, this is as simple as clicking a few buttons and there is no cost associated with using their authentication service. ORCID, on the other hand, does not have an automated system for requesting these credentials, and it is not free to use the ORCID authentication service."

http://guides.dataverse.org/en/4.14/installation/oauth2.html

To get in touch with ORCID I would suggest using this form: https://orcid.org/content/register-client-application-production-trusted-party

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants