Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ORCID search link #53

Open
tmorrell opened this issue Dec 10, 2024 · 2 comments
Open

Add ORCID search link #53

tmorrell opened this issue Dec 10, 2024 · 2 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@tmorrell
Copy link
Member

Pre-populate link with name

@rsdoiel
Copy link
Member

rsdoiel commented Mar 4, 2025

This is the page I need to read to write something light weight that can run browser side. https://info.orcid.org/documentation/api-tutorials/api-tutorial-read-data-on-a-record/

@rsdoiel
Copy link
Member

rsdoiel commented Mar 4, 2025

Using https://orcid.org/${orcid} with the header "Accept": "applicaiton/json" will get the result back as a JSON object. The trouble is the fetch will be blocked since the CORS coming from ORCID.org is restricting that data to the website. I think I need to register the application and have a valid token to access it from another machine (e.g. apps.library.caltech.edu).

I need to decide how I want to store that info. How do I pass the browser side orcid_api.js the token that I've stored?

@rsdoiel rsdoiel added the enhancement New feature or request label Mar 4, 2025
@rsdoiel rsdoiel added this to the 0.1.0 milestone Mar 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants