Hello,
After getting an Orcid Sandbox API, I made the following changes to
local.cfg.dev to enable the Orcid integration in my development environment for DSpace:
I also enabled Researcher Profiles, modifying the researcher-profile.cfg file:
and the authority.cfg file:
Unfortunately, I am running into the following issues with Orcid:
(1) Cannot login with Orcid; receive a 401 Unauthorized error:
(2) Not allowed to make submissions or edit existing submissions:
(3) Cannot connect local Researcher Profile with Orcid:
I looked in my /var/dspace/log/dspace.log file, but there was a lot of information there and I'm unable to discern what might be relevant. There were a lot of errors like
2025-10-14 14:13:03,891 INFO 5f625177-ebb8-46c3-816b-300726f1c590 3444fdda-c33f-4ed6-99d7-286ed32fb5c8 org.dspace.app.rest.utils.DSpaceAPIRequestLoggingFilter @ Before request [GET /server/api/authz/authorizations/search/object] originated from /error?status=401&code=orcid.generic-error
when I tried to sign in with the account I made in the Orcid sandbox. When trying to sync my profile with the orcid sandbox, I got errors such as:
2025-10-14 15:35:26,452 INFO 5f625177-ebb8-46c3-816b-300726f1c590
2276c501-19da-414e-9503-7e09d3257cd2
org.dspace.app.rest.utils.DSpaceAPIRequestLoggingFilter @ Before request [GET
/server/api] originated from /entities/person/[some unique identifier]/orcid?code=[A sequence of letters that might be specific to my repo and I probably shouldn't share publicly?]
If anyone has any ideas what might be causing this strange behaviour, I'd very much appreciate your insights!
Thanks,
Carolyn.