Hi Joshua,

It sounds like maybe you have not contacted ORCID to retrieve a "Member API 
Key" (assuming your institution is an ORCID member?).  That "Member API Key" is 
required to unlock all of the ORCID auth & sync functionality, and it requires 
also registering your client application (in this case DSpace) with ORCID 
themselves.

There's some more information about this in the "Enable the Integration" 
section of the docs, including links to how to obtain a Member API key:
https://wiki.lyrasis.org/display/DSDOC7x/ORCID+Integration#ORCIDIntegration-Enabletheintegration

That section also includes instructions on how to use the ORCID "Public API" if 
you don't have a Member API Key.  However, using the Public API means you can 
only authenticate via ORCID, and you cannot sync data to/from ORCID (as the 
sync requires a Member API Key from ORCID).

If you need more help/advice, let us know on this list.  But, it sounds like 
your next step might be to contact ORCID about a Member API Key, if that's what 
you're looking for.

Tim

________________________________
From: [email protected] <[email protected]> on behalf of 
Joshua Kim <[email protected]>
Sent: Tuesday, September 6, 2022 10:56 AM
To: DSpace Technical Support <[email protected]>
Subject: [dspace-tech] ORCID authentication

When I go to our DSpace 7 website, there is a button for "ORCID 
authentication". When I click it, it goes to orcid.org<http://orcid.org/> 
authentication. My email is public. It passes login, it goes back to our DSpace 
7 website, however, the website shows this error:
401unauthorized

An error occurred during login via ORCID. Make sure you have shared your ORCID 
account email address with DSpace. If the error persists, contact the 
administrator

I found this error in our system log:
2022-09-06 11:23:20,726 ERROR unknown unknown 
org.dspace.authenticate.OrcidAuthenticationBean @ An error occurs retrieving 
the ORCID record with id 0000-0003-xxxx-xxxx
org.dspace.orcid.exception.OrcidClientException: <?xml version="1.0" 
encoding="UTF-8" standalone="yes"?>
<error xmlns="http://www.orcid.org/ns/error";>
    <response-code>401</response-code>
    <developer-message>401 Unauthorized: The client application is not 
authorized for this ORCID record. Full validation error: The client application 
is forbidden to perform the action.</developer-message>
    <user-message>The client application is not authorized.</user-message>
    <error-code>9017</error-code>
    
<more-info>https://members.orcid.org/api/resources/troubleshooting</more-info>
</error>

The client application is xxxxxx.udel.edu<http://bishop.lib.udel.edu/>. Do I 
need our Library membership info? Would you help me out?

--
All messages to this mailing list should adhere to the Code of Conduct: 
https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
---
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to 
[email protected]<mailto:[email protected]>.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/04b4062a-19d7-4028-ae83-35587d2de590n%40googlegroups.com<https://groups.google.com/d/msgid/dspace-tech/04b4062a-19d7-4028-ae83-35587d2de590n%40googlegroups.com?utm_medium=email&utm_source=footer>.

-- 
All messages to this mailing list should adhere to the Code of Conduct: 
https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
--- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/PH0PR22MB3274BF36A2196762ED5F0D61ED419%40PH0PR22MB3274.namprd22.prod.outlook.com.

Reply via email to