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 - #6 by srabun

  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”: Register a member API client application – ORCID

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. Installation and Setup

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: [OJS] ORCID Profile Plugin: Sandbox iDs not stored or displayed correctly on the article page · Issue #4893 · pkp/pkp-lib · GitHub (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.

Regards,
Alec Smecher
Public Knowledge Project Team

Hi @JAspler,

  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

Just wanted to confirm that this part of the issue is closed and the functionality is in plugin 3.1.1.2 in plugin galley.

Issue : [OJS] ORCID Profile Plugin: Sandbox iDs not stored or displayed correctly on the article page · Issue #4893 · pkp/pkp-lib · GitHub

Thanks so much for flagging this, @Dulip_Withanage! Much appreciated :slight_smile: