Skip to content

Commit dcd737e

Browse files
KasinhouMatus Kasak
andauthored
ZCU-PUB/Fix orcid url and use sandbox only for testing purposes (#1320)
Co-authored-by: Matus Kasak <matus.kasak@dataquest.sk>
1 parent cf33783 commit dcd737e

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

dspace-api/src/test/data/dspaceFolder/config/local.cfg

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,9 @@ management.health.solrOai.enabled = false
171171
researcher-profile.entity-type = Person
172172
orcid.synchronization-enabled = true
173173

174+
# Use ORCID sandbox for tests
175+
orcid.domain-url = https://sandbox.orcid.org
176+
174177
# Configuration settings required for Researcher Profiles
175178
# These settings ensure "dspace.object.owner" field are indexed by Authority Control
176179
choices.plugin.dspace.object.owner = EPersonAuthority

dspace/config/modules/orcid.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ orcid.disconnection.allowed-users = admin_and_owner
1212
#------------------------------------------------------------------#
1313

1414
# ORCID API (https://github.com/ORCID/ORCID-Source/tree/master/orcid-api-web#endpoints)
15-
orcid.domain-url= https://sandbox.orcid.org
15+
orcid.domain-url = https://orcid.org
1616
orcid.authorize-url = ${orcid.domain-url}/oauth/authorize
1717
orcid.token-url = ${orcid.domain-url}/oauth/token
1818
orcid.api-url = https://api.sandbox.orcid.org/v3.0

0 commit comments

Comments
 (0)