Wrong ORCID redirect on remote dev deployment
When deploying a dev build on a server (rather than localhost), ORCID login fails, as the redirect_url is given as localhost. The redirect should be using the PUBLIC_CLIENT_HOST.
Workaround: modify the file config/default.js
line 143 to hardcode hostname
to the server's hostname. I'm not yet sure why this pubsweet-client setting impacts on ORCID authentication.
This bug my be related to merge !172 (merged).