Skip to content

Commit

Permalink
Merge pull request pennersr#1343 from dissemin/orcid-v1.2
Browse files Browse the repository at this point in the history
Use ORCID API v1.2 instead of v1.1
  • Loading branch information
pennersr committed Apr 6, 2016
2 parents 53277d3 + 1f7c11b commit 8692079
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion allauth/socialaccount/providers/orcid/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ class OrcidOAuth2Adapter(OAuth2Adapter):

authorize_url = 'https://{0}/oauth/authorize'.format(base_domain)
access_token_url = 'https://{0}/oauth/token'.format(api_domain)
profile_url = 'https://{0}/v1.1/%s/orcid-profile'.format(api_domain)
profile_url = 'https://{0}/v1.2/%s/orcid-profile'.format(api_domain)

def complete_login(self, request, app, token, **kwargs):
params = {}
Expand Down

0 comments on commit 8692079

Please sign in to comment.