Skip to content

Commit

Permalink
orcid: change legacy URL
Browse files Browse the repository at this point in the history
ORCID has changed their base URL for oauth. The old URL is a redirect which
is not supported by invenio.

Co-Authored-by: Johnny Mariéthoz <[email protected]>
  • Loading branch information
jma authored and PascalRepond committed Sep 28, 2023
1 parent 4e70f76 commit 60ddf88
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sonar/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -779,8 +779,8 @@ def _(x):
'sonar.modules.oauth.orcid:account_setup'
OAUTHCLIENT_REMOTE_APPS['orcid']['params'].update(
dict(
base_url='https://pub.{domain}/'.format(domain=ORCID_DOMAIN),
access_token_url='https://pub.{domain}/oauth/token'.format(
base_url='https://{domain}/'.format(domain=ORCID_DOMAIN),
access_token_url='https://{domain}/oauth/token'.format(
domain=ORCID_DOMAIN),
authorize_url='https://{domain}/oauth/authorize#show_login'.format(
domain=ORCID_DOMAIN),
Expand Down

0 comments on commit 60ddf88

Please sign in to comment.