-
Notifications
You must be signed in to change notification settings - Fork 249
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Emma, I tried my best with linking to bookmarks within the same document -- but my MD syntax is a bit weak... so many apologies if I messed up!
- Loading branch information
Showing
1 changed file
with
18 additions
and
79 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,106 +6,47 @@ title: How to Set Up the ORCID Plugin in OJS and OPS | |
|
||
To use the plugin, you will first need to obtain either Public or Member ORCID API credentials (Client ID and Client Secret) and then configure the ORCID plugin in OJS/OPS with this information. | ||
|
||
This chapter explains how to obtain production (live) credentials and add them to the ORCID plugin in your OJS/OPS. You can also test the plugin with Sandbox credentials first before using the live credentials. For details on how to test in the Sandbox and why you may want to, see the [Appendix: Testing the ORCID Sandbox](./appendix-testing-orcid-sandbox.md) chapter. | ||
|
||
**IMPORTANT: do not enable the plugin until you have the credentials and are ready to setup the plugin.** | ||
|
||
## Request Public API credentials | ||
|
||
### 1. Register for an ORCID iD | ||
|
||
ORCID iD registration is free and only requires your name and email. | ||
|
||
If you already have an ORCID iD, skip to [2. Sign into your ORCID iD](#2-sign-into-your-orcid-id). | ||
|
||
1. Navigate to [the ORCID website](https://orcid.org/) | ||
2. Click on the [SIGN IN / REGISTER](https://orcid.org/signin) menu on the top right | ||
![ORCID homepage with sign in / register button pointed out.](./assets/orcid_signup.png) | ||
3. Create an account with your email or sign in with your institutional account (if your institution is set up for ORCID single sign on). | ||
![ORCID sign in page with an emphasis on registration option.](./assets/orcid_signup_register.png) | ||
4. If you need further registration guidance, the [Register your ORCID page](https://support.orcid.org/hc/en-us/articles/360006897454-Register-your-ORCID-iD) contains detailed step-by-step instructions. | ||
|
||
### 2. Sign into your ORCID iD | ||
|
||
1. Navigate to [the ORCID website](https://orcid.org/) | ||
2. Click on the [SIGN IN / REGISTER](https://orcid.org/signin) menu on the top right | ||
3. Sign in with your existing email account or via your institutional credentials (if your institution is set up for ORCID single sign on) | ||
|
||
![ORCID sign in page with email or ORCID iD and password fields emphasized.](./assets/orcid_signin.png) | ||
|
||
### 3. Navigate to Developer Tools | ||
|
||
Click your name on the top right and select “Developer Tools” from the drop-down. | ||
|
||
![ORCID record with account name dropdown expanded and Developer Tools selected.](./assets/orcid_dev_tools.png) | ||
|
||
### 4. Select to register for the Public API | ||
|
||
Click on the button “Register for the free ORCID public API”. | ||
|
||
You will be asked to read and consent to the terms of service. | ||
If you have previously collected ORCIDs manually prior to setting up the plugin, typos in the manually-entered ORCID field may cause errors. See the [Troubleshooting section of this guide](./troubleshooting-resources.md) for more details. | ||
|
||
![ORCID Developer Tools page with the highlighted button Register for the free ORCID public API.](./assets/orcid_dev_tools_register.png) | ||
## Obtain Public API credentials | ||
|
||
### 5. Fill out the registration form | ||
See [ORCID Integration Guide](https://info.orcid.org/documentation/integration-guide/getting-started-with-your-orcid-integration/), and follow the instructions in: [Registering Public API credentials](https://info.orcid.org/documentation/integration-guide/registering-a-public-api-client/). | ||
|
||
In the registration form, enter: | ||
## Obtain Member API credentials | ||
|
||
* Your journal name | ||
* Your journal URL | ||
* A brief message about your journal - it will be displayed to your users when they connect their ORCID iDs | ||
* Redirect URI - this is the page your users will be taken to after they have authenticated their ORCID iDs. It must begin with “https://” and include the link to the journal. For details and examples see the [ORCID redirect URIs section](#orcid-redirect-uris) below. | ||
Member API credentials are connected to an ORCID member organization. Your organization must be an ORCID member to request Member API credentials. If your journal is affiliated with an institution, contact the institution’s library to ask about ORCID membership and API credentials. You may also wish to check whether your organization belongs to a [local consortium](https://orcid.org/consortia), as you may be able to receive help from the consortium. You can also contact ORCID directly at [[email protected]](mailto:[email protected]). | ||
|
||
![ORCID Developer Tools public API request form.](./assets/orcid_dev_tools_form.png) | ||
To obtain your Member API credentials, see [Registering a Member API Client](https://info.orcid.org/documentation/integration-guide/registering-a-member-api-client/). | ||
|
||
### 6. Save the form and receive your credentials | ||
|
||
1. Click on the save icon on bottom right to save the form. | ||
![ORCID Developer Tools public API request form with the save icon pointed out.](./assets/orcid_dev_tools_form_save.png) | ||
2. Your credentials (Client ID and Client Secret) will be displayed right away. Copy these credentials into the OJS/OPS ORCID Profile Plugin as explained below. | ||
![ORCID Developer Tools public API request form with Client ID and Secret displayed.](./assets/orcid_dev_tools_form_credentials.png) | ||
|
||
## Request Member API credentials | ||
|
||
Member API credentials are connected to an ORCID member organization. Your organization must be an ORCID member to request Member API credentials. If your journal is affiliated with an institution, contact the institution's library to ask about ORCID membership and API credentials. You may also wish to check whether your organization belongs to a [local consortium](https://orcid.org/consortia), as you may be able to receive help from the consortium. You can also contact ORCID directly at [email protected]. | ||
|
||
To request your Member API credentials, complete the form to [Register a client application: Production Member API - Trusted Party](https://orcid.org/content/register-client-application-production-trusted-party). Once you submit the form, ORCID will email your production member Client ID and Client Secret to you. | ||
_Please note: When registering to receive Member API credentials, organizations are required to indicate the “Name of your client application”. When working with multiple journals as part of an OJS instance, the name used must be broad enough to serve as a source for all of the journals hosted on its instance(s), as the name is what will appear as the “source” of data when a work from OJS is written to an ORCID record (e.g. “ABC University journal hosting service”). However, if you plan to install only one journal in your domain and use ORCID for that journal, then the name of the client application can be indicated as the name of the journal._ | ||
|
||
### ORCID redirect URIs | ||
|
||
When you register for ORCID API credentials, you will need to enter at least one Redirect URI, which is the journal location that your users will be sent to after authorizing OJS/OPS to connect to their ORCID record, The URI must begin with “https://” and include the link to the journal as part of the URI. For example: | ||
|
||
* This works (for example, for a multi-journal installation): https://example.com | ||
* This works (for a single journal): https://example.com/index.php/testJournal | ||
* This does NOT work: https://example.com/index.php/testJournal/index | ||
* This works (for example, for a multi-journal installation): `https://example.com` | ||
* This works (for a single journal): `https://example.com/index.php/testJournal` | ||
* This does NOT work: `https://example.com/index.php/testJournal/index` | ||
|
||
The host option allows any URI under that host to be used as a Redirect URI. In multiple journal instances, make sure you choose the base url of your domain and not individual journals to avoid redirect errors. For individual journals it is important to use the journal path (typically something like “index.php/testJournal”, without any trailing information, as per above). Any additional information in the URI will cause the redirect to not work. | ||
The host option allows any URI under that host to be used as a Redirect URI. In multiple journal instances, make sure you choose the base url of your domain and not individual journals to avoid redirect errors. For individual journals it is important to use the journal path without any trailing information, as per above. | ||
|
||
Although there appears to be a limit of five redirects, you can add as many as you like to the “notes to ORCID” section. | ||
|
||
If a URI needs to be updated, or new one(s) added: | ||
|
||
* Members can contact the ORCID Engagement Team or fill out a [Member API form](https://info.orcid.org/register-a-client-application-production-member-api/) | ||
* Public API users can follow [these steps update the list of redirect URIs](https://info.orcid.org/ufaqs/how-do-redirect-uris-work/) | ||
|
||
For more detail on Redirect URIs, see the ORCID support page for [Public APIs](https://info.orcid.org/documentation/integration-guide/registering-a-public-api-client/) and [Member APIs](https://info.orcid.org/documentation/integration-guide/registering-a-member-api-client), respectively. | ||
|
||
**Please note**: When registering to receive Member API credentials, organizations are required to indicate the "Client Name" along with the Redirect URI(s). When working with multiple journals as part of an OJS instance, the Client Name used must be broad enough to serve as a source for all of the journals hosted on its instance(s), as the Client Name is what will appear as the "source" of data when a work from OJS is written to an ORCID record (e.g. “ABC University journal hosting service”). However, if you plan to install only one journal in your domain and use ORCID for that journal, then the Client Name can be indicated as the name of the journal. | ||
|
||
When registering for Sandbox or [Production Member API](https://orcid.org/content/register-client-application-production-trusted-party) credentials through ORCID, although there appears to be a limit of five redirects, you can add as many as you like to the ‘notes to ORCID’ section. If you ever need to adjust, add, or remove URIs, you can resubmit the form and indicate that it is for an existing application. | ||
|
||
## Enable and configure the ORCID Profile plugin in OJS/OPS | ||
|
||
After you have obtained your Client ID and Client Secret from ORCID, you can enable and configure the plugin in OJS/OPS. | ||
|
||
First, enable the ORCID plugin for each journal (OJS) or preprint server (OPS) on your installation: | ||
|
||
1. When logged in to OJS/OPS as an administrator, go to Settings > Website > Plugins | ||
2. Click on Plugin Gallery and select ORCID Profile from the list | ||
|
||
There are three potential scenarios for configuring the plugin, based on your use case: | ||
|
||
1. If you have a single journal or preprint server installation, configure the plugin following the instructions below under Per Journal/Preprint Server Setup. | ||
2. If you have a multi-journal or multi-preprint server installation, but you do not want to enable the ORCID plugin for all, configure each journal or preprint server separately following the instructions below under Per Journal/Preprint Server Setup, using the same ORCID API credentials (Client ID and Client Secret) for each. | ||
3. If you have a multi-journal or multi-preprint server installation and want to enable the ORCID plugin for all site-wide, follow the [instructions below under Site-wide Setup](#site-wide-setup). | ||
* If you have a single journal or preprint server installation, configure the plugin following the instructions below under [Per Journal/Preprint Server Setup](./installation-setup#per-journal-preprint-server-setup.md). | ||
* If you have a multi-journal or multi-preprint server installation, but you do not want to enable the ORCID plugin for every journal, configure each journal or preprint server separately following the instructions below under [Per Journal/Preprint Server Setup](./installation-setup#per-journal-preprint-server-setup.md), using the same ORCID API credentials (Client ID and Client Secret) for each. | ||
* If you have a multi-journal or multi-preprint server installation and want to enable the ORCID plugin for all site-wide, follow the [instructions below under Site-wide Setup](./installation-setup#site-wide-setup.md). | ||
|
||
### Per Journal/Preprint Server Setup | ||
|
||
|
@@ -118,17 +59,15 @@ If you want to enable the ORCID plugin for a single journal (OJS) or preprint se | |
|
||
![Setup for OJS ORCID plugin with Public client ID and secret entered.](./assets/orcid_plugin_setup.png) | ||
|
||
For a visual walkthrough see this [ORCID plugin setup video](https://vimeo.com/374414746). | ||
|
||
#### Email Settings | ||
|
||
Under “E-Mail Settings” you can tick the checkbox to “Send e-mail to request ORCID authorization from authors when an article is accepted.” If checked, OJS/OPS will send an email automatically to authors who have not already linked their ORCID iDs when the article is published asking them to link their iDs. This request will be sent using the “ORCID Collect Author Id” email template (Public API) or “ORCID Request Author Authorization” (Member API). | ||
Under “E-Mail Settings” you can tick the checkbox to “Send e-mail to request ORCID authorization from authors when an article is accepted.” Instructions for modifying the emails sent to authors and be found in the [Plugin Functionality section](./plugin-functionality.md). | ||
|
||
![OJS ORCID plugin with checkbox checked to send email to request ORCID authorization from authors.](./assets/orcid_plugin_auto_emails.png) | ||
|
||
### Site-wide Setup | ||
|
||
For multi-journal and multi-preprint server installations the plugin can be set site-wide in `config.inc.php` to enable the ORCID plugin for all journals. Note that site-wide settings through `config.inc.php` override any existing individual plugin settings. However, the plugin can be enabled/disabled on an individual basis for journals, and each journal can manage their own email settings as described above. Adding credentials in the config.inc.php hides the Client Secret from Journal/Server Managers, which may be preferred if you have institutional credentials for ORCID. Add the following section to your `config.inc.php` file: | ||
For multi-journal and multi-preprint server installations the plugin can be set site-wide in `config.inc.php` to enable the ORCID plugin for all journals. Note that site-wide settings through `config.inc.php` override any existing individual plugin settings. However, the plugin can be enabled/disabled on an individual basis for journals, and each journal can manage their own email settings as described above. Adding credentials in the `config.inc.php` hides the Client Secret from Journal/Server Managers, which may be preferred if you have institutional credentials for ORCID. Add the following section to your `config.inc.php` file: | ||
|
||
![Config settings in the OJS config file](./assets/orcid-config-inc-php-settings.png) | ||
|
||
|