datacite / omniauth-orcid

ORCID Strategy for OmniAuth
MIT License
9 stars 9 forks source link

Choose base url of api based on options #4

Closed anusharanganathan closed 8 years ago

anusharanganathan commented 8 years ago

Pull request for issue #3

mfenner commented 8 years ago

@anusharanganathan I changed the code slightly, using either the public API or public sandbox API. The regular API endpoints require authentication, so your code was not working. While I could add that, the point of the second API call is really to get some basic information like name variants.