Skip to content

Commit

Permalink
orcid: update access_token urls
Browse files Browse the repository at this point in the history
  • Loading branch information
zzacharo committed Jun 24, 2020
1 parent a0b679d commit e0a9f22
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions invenio_oauthclient/contrib/orcid.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@
'show_login': 'true'},
base_url='https://pub.orcid.org/v1.2/',
request_token_url=None,
access_token_url="https://pub.orcid.org/oauth/token",
access_token_url='https://orcid.org/oauth/token',
access_token_method='POST',
authorize_url='https://orcid.org/oauth/authorize',
app_key='ORCID_APP_CREDENTIALS',
Expand Down Expand Up @@ -140,7 +140,7 @@

REMOTE_MEMBER_APP['params'].update(dict(
base_url='https://api.orcid.org/',
access_token_url='https://api.orcid.org/oauth/token',
access_token_url='https://orcid.org/oauth/token',
))
"""ORCID sandbox member API."""

Expand All @@ -149,7 +149,7 @@

REMOTE_SANDBOX_MEMBER_APP['params'].update(dict(
base_url='https://api.sandbox.orcid.org/',
access_token_url='https://api.sandbox.orcid.org/oauth/token',
access_token_url='https://sandbox.orcid.org/oauth/token',
authorize_url='https://sandbox.orcid.org/oauth/authorize#show_login',
))
"""ORCID sandbox member API."""
Expand All @@ -159,7 +159,7 @@

REMOTE_SANDBOX_APP['params'].update(dict(
base_url='https://pub.sandbox.orcid.org/',
access_token_url='https://pub.sandbox.orcid.org/oauth/token',
access_token_url='https://sandbox.orcid.org/oauth/token',
authorize_url='https://sandbox.orcid.org/oauth/authorize#show_login',
))
"""ORCID sandbox public API."""
Expand All @@ -170,7 +170,7 @@

REMOTE_SANDBOX_REST_APP['params'].update(dict(
base_url='https://pub.sandbox.orcid.org/',
access_token_url='https://pub.sandbox.orcid.org/oauth/token',
access_token_url='https://sandbox.orcid.org/oauth/token',
authorize_url='https://sandbox.orcid.org/oauth/authorize#show_login',
))
"""ORCID sandbox public API."""
Expand Down

0 comments on commit e0a9f22

Please sign in to comment.