ORCID-OJS Plugin - Redirect URIs + Sandbox

Hi PKP! I’m the ORCID-CA Community Manager, and I’ve been fielding a lot of questions about the ORCID-OJS plugin. Thanks so much for your time.

Here are a few common challenges I have run into:

  1. The first challenge is making the plugin work with the Sandbox - it doesn’t appear completely functional at present. There were a couple of detailed comments at the end of this thread that address the issue (no answer to those comments, perhaps as it was an old thread): ORCID Plugin - ORCID iD Not Retrieved After Connecting/Registering

  2. PKP is actually a member of the ORCID-CA Advisory committee. Is there someone within PKP with knowledge of this plugin who would be willing to chat with me one-on-one sometime (maybe a quick video chat or phone call)?

  3. I’ve been running into some issues around Redirect URIs (I believe something changed in the configuration, which may have broken… something for some users… but I am not sure).

In ORCID documentation, it says the following: “If the client app is registered with a redirect_uri that is just the host name, then any redirect_uri at that host can be used. So, for example if the following redirect_uri is registered”: https://support.orcid.org/hc/en-us/articles/360006973913-Register-a-member-API-client-application

Then, in the PKP OJS-ORCID plugin documentation it provides the same information: “When registering Redirect URIs for your ORCID API client, you can choose to either register: 1) The specific locations where users will be directed to - e.g., https://forum.pkp.sfu.ca/t/orcid-oauth2-redirect-uris-or-callback-urls-for-ojs; or 2) The host name of your OJS system - e.g., https://forum.pkp.sfu.ca The host option allows any URI under that host to be used as a Redirect URI. https://docs.pkp.sfu.ca/orcid/en/installation-setup#orcid-redirect-uris

I’m not totally certain, but is this the solution: https://github.com/pkp/pkp-docs/blob/master/orcid/en/installation-setup.md#site-wide-setup

Hi @JAspler,

I’ll send you a private message to make sure we’re coordinating efficiently – I’ve already been in touch with someone else at ORCID over some of the same issues.

  1. Regarding sandbox IDs; this is a known issue. See: https://github.com/pkp/pkp-lib/issues/4893 (I’ve linked that other thread to it as well).
  2. I’ll PM you privately about this.
  3. Putting configuration options in the configuration file will behave just the same as entering them in the setup form, it’s just an option that might be easier for groups managing many journals in the same OJS installation that want to share ORCID credentials throughout. If you can describe the issue you’re having with redirect URLs in more detail, I may be able to help.

The ORCID plugin is co-maintained with our user community, so there are a few people involved – I’ll direct to this thread and they may be able to add more.

Alec Smecher
Public Knowledge Project Team