Hello PKP community! I am running into an issue with the ORCID plugin and could use some input on this one. Is this possibly tied to our version of the OJS code?
Application Version - OJS 3.1.2.1 (Upgraded June 13, 2019); ORCID plugin v1.1.1.5 released on 2020-10-27
Description of issue - When trying to register with the journal via ORCID, none of the fields (e.g. name) are being populated from ORCID. After registering, the ORCID account is not connected to the OJS account. The ORCID auth appeared to be successful.
Steps you took leading up to the issue - the journal admin enabled the ORCID plugin and set up the credentials.
What you tried to resolve the issue - updated the version of the ORCID plugin in the plugin gallery, verified ORCID credentials, tried in a different journal that used a different theme.
Error log messages Wed Feb 03 15:29:00.048221 2021] [php7:notice] [pid 2537] Unexpected ORCID API response: 500 (/data/apache-html/ojs/plugins/generic/orcidProfile/pages/OrcidHandler.inc.php line 111, URL https://api.orcid.org/v2.1//person), referer: https://orcid.org/oauth/authorize?client_id=... [Wed Feb 03 15:29:00.099615 2021] [php7:notice] [pid 2537] Unexpected ORCID API response: 500 (/data/apache-html/ojs/plugins/generic/orcidProfile/pages/OrcidHandler.inc.php line 130, URL https://api.orcid.org/v2.1//employments), referer: https://orcid.org/oauth/authorize?client_id=...
Thanks @Dulip_Withanage, this was really helpful for troubleshooting to know that if the file doesn’t exist, the auth was probably not successful. I can see the log file for a different instance we host, so I don’t think it’s a server issue. I’m following up with the journal admin to confirm the password is correct, as I think that might be the problem.
I have released two versions in plugin-gallery, which should give warnings, if there are errors in the client id and secret. Checked algorithms are defined here,