Name: orcid
Owner: Nextcloud
Description: null
Created: 2017-02-07 18:49:31.0
Updated: 2018-05-23 00:37:25.0
Pushed: 2018-05-23 00:37:24.0
Homepage: null
Size: 845
Language: PHP
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
Based on user_orcid from Lars Naesbye Christensen, DeIC for ownCloud - https://github.com/deic-dk/user_orcid
This app will use the API from https://orcid.org/ to access and archive users' ORCID information.
Copy the app files to the nextcloud/apps/ directory. In the Admin Interface, fill the data with the API credential (Client ID + Client secret) from https://orcid.org/developer-tools. The redirect URL displayed in the Admin Interface (Nextcloud) will be used to setup your API on the ORCID Interface.
In the Personal Settings Interface, your users will identify themself using Orcid OAuth2 and grant access to the nextcloud. The OrcID (0000-00xx-xxxx-xxxx) and an access_token are saved into the database:
Requesting ORCID from another app:
$orcid = \OCA\Orcid\Service\ApiService::getUserOrcid($username);