The ORCID-INTERNAL-API is intended to be used for internal ORCID apps, so, only specific clients can use it.
- Add the scope '/orcid-internal/person/last_modified' to the client you want to use
insert into client_scope values('<Client ID>','/orcid-internal/person/last_modified',now() , now() );
update client_details set last_modified=now() where client_details_id='<CLIENT_ID>'
- Get the token:
curl -i -L -k -H 'Accept: application/json' -d 'client_id=<CLIENT_ID>' -d 'client_secret=<CLIENT_SECRET>' -d 'scope=/orcid-internal/person/read' -d 'grant_type=client_credentials' 'http://localhost:8080/orcid-internal-api/oauth/token'
- Use the token to get user info
curl -H 'Accept: application/json' -H 'Authorization: Bearer <TOKEN>' http://localhost:8080/orcid-internal-api/<ORCID>/person
#License See LICENSE.md