-
Notifications
You must be signed in to change notification settings - Fork 4
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
Sandbox API testing #26
Comments
Yeah, that shouldn't be a problem at all. It's been some time since I read their documentation. They use api.orcid.org for their members api and pub.orcid.org for their public api. Do you know if there is a corollary for testing, or is it all just sandbox.orcid.org? |
Never mind, I found the info that I was looking for (http://members.orcid.org/api/tokens-through-3-legged-oauth-authorization, at the very bottom of the page). |
If i understand it right, sandbox.orcid.org is just a testing platform for their members api. So I guess adding the follow in Oauth class would suffice: |
Yep, I'll do that. Thanks! |
[#26] Add support for setting the environment (whether production or sandbox)
This should be resolved in release v0.2, which is now out. I don't actually have a sandbox account for ORCID, so please let me know if you run into any issues. The documentation has also been updated to highlight the added functionality. As a brief overview, you can now call Hope that helps. Let me know if you need anything else. |
Would it be possible to add a way to override the default host for the api call? Since for testing phase we need to make api call to sandbox.orcid.org
The text was updated successfully, but these errors were encountered: