Skip to content

Commit d86dbbc

Browse files
committed
Fixed authorization token header
1 parent 803bf24 commit d86dbbc

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/satosa/backends/orcid.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,8 +96,7 @@ def user_information(self, access_token, orcid, name):
9696
url = urljoin(base_url, '{}/person'.format(orcid))
9797
headers = {
9898
'Accept': 'application/orcid+json',
99-
'Authorization type': 'Bearer',
100-
'Access token': access_token,
99+
'Authorization': "Bearer {}".format(access_token)
101100
}
102101
r = requests.get(url, headers=headers)
103102
r = r.json()

0 commit comments

Comments
 (0)