Dear,
I have enabled the ORCID plugin in the OJS 3.0.2 and I configured it using the Client ID and Client Secret provided by ORCID. The “Create or Connect your ORCID iD” button appears and I am asked to authorize the connection to ORCID, but the “ORCID iD” field at OJS is filled with “http://orcid.org/”. OJS cannot retrieve the ORCID ID.
I guess the problem is the ORCID Redirect URI I have registered at the ORCID. Are any of the URIs below correct?
If you are familiar with software patching or with PHP code, you can use the changeset attached to that Pull Request (https://github.com/pkp/orcidProfile/commit/574c760d4834c75c49c3b99bf7ab37834e8818a6.diff) to make the modifications. If you are not familiar with software patching or with PHP code, I would recommend waiting until the pull request is tested by others and ultimately packaged into a new version of the orcidProfile plugin.
I just tested this successfully against branch ojs-stable-3_0_2 (latest released fixes) and against tag ojs-3_0_2-0 (packaged version), using the Public API. Both populated my ORCID ID.
Do you see any javascript error messages or messages in your PHP error log which might be helpful?
Hi @ctgraham,
Unfortunately I do not see any JavaScript message or PHP error.
Did you apply the patch or it did work without applying it? I will try to install the ojs-stable-3_0_2 version from the GitHub. The version I installed I downloaded from the Download link in the website (February 2017) and it may not be up-to-date.
@ctgraham,
I did not use the ojs-stable-3_0_2 branch, but I updated the orcidProfile plugin with the latest version I found today in the morning in the GitHub, but it still does not work.
I suspect that I may be using the wrong Redirect URI in the ORCID website. Is the Redirect URI below valid?
I tried using the ORCID function on your Registration page. There is almost certainly a javascript error you are not seeing. Try removing the window.close() statement to be able to get a look at the javascript error console in your web inspector.
Sorry for the late reply. I was out of the office this last week.
I commented the window.close() commands and the window that pops up remains blank and the only message that shows at the Console JS log is
The character encoding of the HTML document was not declared. The document will render with garbled text in some browser configurations if the document contains characters from outside the US-ASCII range. The character encoding of the page must be declared in the document or in the transfer protocol.
The messages that show under the Console Security in the main window are
Hi @ctgraham,
I changed the OJS configuration to support HTTPS and I also updated the URI Redirect. However, the problem remains with the exception of the message
Password fields present on an insecure (http://) page. This is a security risk that allows user login credentials to be stolen.[Learn More] register
that is not shown anymore. The Console is not showing any other error message other than the ones related to the font