Perfect. Thanks, @Sean, it really works with the public API! This is something I've been looking for. Will give it a more thorough test.
One more quick question if anyone knows. Do you know how to add the name of the institution from the ORCID profile to the suggestions? It would make the process much easier IMHO. Kind regards! Milos уторак, 7. март 2023. у 18:35:17 UTC+1 [email protected] је написао/ла: > (sorry, hit the post button too soon) > > I'm now seeing the same error in the logs you noted in 8436 > https://github.com/DSpace/DSpace/issues/8436#issuecomment-1249577192 > > While I'm a little bummed the ORCID stuff is still not quite there yet, > its at least reassuring to know that my setup is working as well as can be > expected right now. > > Thanks again! > > - Darryl > > On Tuesday, March 7, 2023 at 11:27:16 AM UTC-6 [email protected] wrote: > >> Thanks Sean. With the sections of orcid-authority-services.xml >> uncommented, and a correction to a typo in my local.cfg I'm now seeing >> results back from the ORCID API. Like you, I'm using the public URLs for >> both orcid.api-url and orcid.public-url. >> >> On Tuesday, March 7, 2023 at 10:31:59 AM UTC-6 Sean Kalynuk wrote: >> >>> Hi Darryl and Milos, >>> >>> >>> >>> You do need to uncomment the proper sections in >>> orcid-authority-services.xml. I had the same “No bean named >>> ‘AuthoritySource’ available” error until I modified the configuration. The >>> relevant comment is the one I made here: >>> >>> https://github.com/DSpace/DSpace/issues/8436#issuecomment-1248565724 >>> >>> >>> >>> However, Milos, I compared your orcid-authority-services.xml to mine and >>> they are identical (ignoring whitespace). >>> >>> >>> >>> One difference I did notice in the config is that I am using the public >>> ORCID API for testing: >>> >>> >>> >>> orcid.api-url = https://pub.orcid.org/v3.0 >>> >>> >>> >>> whereas you are using the member API: >>> >>> >>> >>> orcid.api-url = https://api.orcid.org/v3.0 >>> >>> >>> >>> I have not configured full ORCID integration yet, and am only using the >>> public API for author lookup. Perhaps you could try with the public API >>> just for author lookup to see if that would work first? I have been using >>> the developer credentials for my personal ORCID account for testing and it >>> has connected and found ORCID records while searching for a >>> dc.contributor.author value in a submission form. >>> >>> >>> >>> One thing to point out though is that there is an outstanding bug with >>> the “will be generated” authority keys related to ORCID authority records: >>> >>> >>> >>> https://github.com/DSpace/DSpace/issues/8490 >>> >>> >>> >>> This occurs with newly found ORCID records from the ORCID API (not those >>> in your authority Solr core) since they need to have authority keys >>> generated. >>> >>> >>> >>> -- >>> >>> Sean >>> >>> >>> >>> *From: *[email protected] <[email protected]> on behalf >>> of [email protected] <[email protected]> >>> *Date: *Monday, March 6, 2023 at 5:35 PM >>> *To: *DSpace Technical Support <[email protected]> >>> *Subject: *Re: [dspace-tech] ORCID autohority in DSpac 7.5 >>> >>> *Caution:* This message was sent from outside the University of >>> Manitoba. >>> >>> >>> Milos, do you see anything in your logs/dspace.log file related to >>> ORCID? I can't seem to get the ORCID lookup working either. I've double >>> and triple checked all my config and I can't find any issues. However, in >>> my DSpace logs I see the same "No bean named 'AuthoritySource' available" >>> and " org.dspace.content.authority.SolrAuthority @ external source for >>> authority not configured" warnings mentioned in issue 8436 -- >>> https://github.com/DSpace/DSpace/issues/8436 and I'm curious if that is >>> showing up for you as well. >>> >>> >>> >>> There's a comment in that issue that mentions uncommenting some code >>> in dspace/config/spring/api/orcid-authority-services.xml which I haven't >>> looked into yet. I also see that this issue was moved to the DSpace 7.6 >>> To-Do list by Tim Donohue. I wondering if maybe the ORCID lookup stuff is >>> still not quite ready for production usage? >>> >>> >>> >>> - Darryl >>> >>> >>> >>> >>> >>> >>> >>> On Monday, March 6, 2023 at 7:12:03 AM UTC-6 Milos Ivanovic wrote: >>> >>> Besides author lookup using ORCID (which is my primary use case), in >>> order to check the communication with ORCID API, I also tried to configure >>> ORCID authentication. No luck. The ORCID account has a publicly visible >>> email, bound to the DSpace account, my site is HTTPS enabled, but it's >>> still not working :( >>> >>> >>> >>> Can anyone send me an anonymized working config or any other advice on >>> what to check? Thanks in advance. >>> >>> >>> >>> Kind regards >>> >>> Milos >>> >>> >>> >>> петак, 3. март 2023. у 17:34:24 UTC+1 Milos Ivanovic је написао/ла: >>> >>> Sorry, I have forgotten to mention it. This setting is ok too. >>> >>> >>> >>> >>> >>> петак, 3. март 2023. у 16:46:43 UTC+1 Sean Kalynuk је написао/ла: >>> >>> Hi Milos, >>> >>> >>> >>> Do you also have: >>> >>> >>> >>> plugin.named.org.dspace.content.authority.ChoiceAuthority = \ >>> >>> org.dspace.content.authority.SolrAuthority = SolrAuthorAuthority >>> >>> >>> >>> I don’t see it in your config (at least in this message). >>> >>> >>> >>> It is commented out by default in >>> [your-dspace-home]/config/modules/authority.cfg >>> >>> >>> >>> -- >>> >>> Sean >>> >>> >>> >>> *From: *[email protected] <[email protected]> on behalf >>> of Milos Ivanovic <[email protected]> >>> *Date: *Friday, March 3, 2023 at 4:17 AM >>> *To: *DSpace Technical Support <[email protected]> >>> *Subject: *[dspace-tech] ORCID autohority in DSpac 7.5 >>> >>> *Caution:* This message was sent from outside the University of >>> Manitoba. >>> >>> >>> >>> Dear All, >>> >>> >>> >>> I am trying to enable ORCID authority according to >>> https://wiki.lyrasis.org/display/DSDOC7x/ORCID+Authority. However, the >>> suggestions from the ORCID API do not appear in the Author field of the >>> "Submit new item" component. The relevant part of *local.cfg* looks >>> like this: >>> >>> >>> >>> choices.plugin.dc.contributor.author = SolrAuthorAuthority >>> choices.presentation.dc.contributor.author = authorLookup >>> authority.controlled.dc.contributor.author = true >>> authority.author.indexer.field.1=dc.contributor.author >>> auto-update-items = true >>> event.dispatcher.default.consumers = authority, versioning, discovery, >>> eperson >>> orcid.domain-url= https://orcid.org >>> orcid.api-url = https://api.orcid.org/v3.0 >>> orcid.public-url = https://pub.orcid.org/v3.0 >>> orcid.application-client-id = APP-**************** >>> orcid.application-client-secret = **************** >>> >>> >>> >>> The API is normally enabled in my ORCID profile. Also, >>> *orcid-authority-services.xml* is attached. There are no traces of >>> erroneous (or any other) ORCID API requests in DSpace and Tomcat logs. >>> >>> >>> >>> Am I missing something obvious? >>> >>> >>> >>> Thanks in advance >>> >>> Milos >>> >>> -- >>> 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/588f9cbd-cb46-4738-9794-8f2fad2deb37n%40googlegroups.com >>> >>> <https://groups.google.com/d/msgid/dspace-tech/588f9cbd-cb46-4738-9794-8f2fad2deb37n%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/41a3de95-fa83-411a-98f9-2608cd31eb7bn%40googlegroups.com >>> >>> <https://groups.google.com/d/msgid/dspace-tech/41a3de95-fa83-411a-98f9-2608cd31eb7bn%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/f88cf364-1138-4f1a-866c-a1694e879c69n%40googlegroups.com.
