ORCID Swagger API not recognizing client ID?

48 views
Skip to first unread message

Keenan Rebera

unread,
Oct 31, 2017, 10:23:43 PM10/31/17
to ORCID API Users
Hi, there.

I'm very new to how the ORCID API is set up, and I cannot for the life of me figure out how to get a Token.
I am developing a website that will be using the public API to get some info on a specific ORCiD and dynamically update the webpage.

So I went through the steps to get a client ID, however, since my website isn't live, I just used 'http://google.com' as the uri, and then just added localhost, the sandbox, and the swagger interface as redirects.

I'm assuming what I just said is the problem.

When I run the example code for CURL:

curl -i -L -H "Accept: application/json" -d "client_id=APP-NPXKK6HFN6TJ4YYI" -d "client_secret=060c36f2-cce2-4f74-bde0-a17d8bb30a97" -d "scope=/read-public" -d "grant_type=client_credentials" "https://sandbox.orcid.org/oauth/token"\
And insert my information, I get a 404 not found! Same for the Swagger interface!

What am I doing wrong? Literally any help is appreciated here. 

Thanks! 

Peters, Robert

unread,
Oct 31, 2017, 11:35:23 PM10/31/17
to Keenan Rebera, ORCID API Users
Hi Keenan,
The sample curl you sent is fine (minus the "\" at the end). Have you looked at https://members.orcid.org/api/tutorial/read-orcid-records? Once you've gone through that and still end up having trouble email me directly.

Cheers,
Rob

Robert Peters
Technology Director at ORCID.org

Cellphone: +1.805.440.9056
Skype: rcpeters
Timezone: PST
Key for OpenPGP email communication:  
https://keys.mailvelope.com/pks/lookup?op=get&search=0x1519F37D99E18378

--
You received this message because you are subscribed to the Google Groups "ORCID API Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to orcid-api-users+unsubscribe@googlegroups.com.
To post to this group, send email to orcid-api-users@googlegroups.com.
Visit this group at https://groups.google.com/group/orcid-api-users.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages