Page History
...
Code Block |
---|
solr.authority.server=${solr.server}/authority 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 # These ORCID settings are now required for ORCID Authority orcid.domain-url = https://orcid.org # You can use either the Public API or Member API orcid.api-url = https://pub.orcid.org/v3.0 # You do NOT need to pay for a Member API ID to use ORCID Authority. # Instead, you just need a Public API ID from a free ORCID account. # https://info.orcid.org/documentation/features/public-api/ orcid.application-client-id = MYID orcid.application-client-secret = MYSECRET |
...
You must also uncomment the Orcid beans in config/spring/api/orcid-authority-services.xml
. Leave their values as-is since they pull their data from orcid.cfg or local.cfg
Code Block |
---|
<alias name="OrcidSource" alias="AuthoritySource"/>
<bean name="OrcidSource" class="org.dspace.authority.orcid.Orcidv3SolrAuthorityImpl">
<property name="clientId" value="${orcid.application-client-id}" />
<property name="clientSecret" value="${orcid.application-client-secret}" />
<property name="OAUTHUrl" value="${orcid.token-url}" />
<property name="orcidRestConnector" ref="orcidRestConnector"/>
</bean>
<!-- Also uncomment Orcidv3AuthorityValue in the list of supported types -->
<bean name="AuthorityTypes" class="org.dspace.authority.AuthorityTypes">
<property name="types">
<list>
<bean class="org.dspace.authority.orcid.Orcidv3AuthorityValue"/>
<bean class="org.dspace.authority.PersonAuthorityValue"/>
</list>
</property>
... |
The final part of configuration is to add the authority consumer in front of the list of event consumers. Add "authority" in front of the list as displayed below.
...
Overview
Content Tools