7.6.2: Cannot authenticate via Orcid

5 views
Skip to first unread message

Carolyn Sullivan

unread,
Oct 14, 2025, 4:57:46 PM (yesterday) Oct 14
to DSpace Technical Support
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:

localcfgdev_101425.png

I also enabled Researcher Profiles, modifying the researcher-profile.cfg file:
researcher-profilecfg_101425.png
and the authority.cfg file:
authoritycfg_101425.png

Unfortunately, I am running into the following issues with Orcid:
(1) Cannot login with Orcid; receive a 401 Unauthorized error: 
401unauthorized_101425.png
(2) Not allowed to make submissions or edit existing submissions:
Noeditingerror_101425.png

(3) Cannot connect local Researcher Profile with Orcid:
ProfileConnection_101425.png

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.








Reply all
Reply to author
Forward
0 new messages