diff --git a/apps/authentication/backends/oauth2/backends.py b/apps/authentication/backends/oauth2/backends.py index 59e5e432b..2214ba628 100644 --- a/apps/authentication/backends/oauth2/backends.py +++ b/apps/authentication/backends/oauth2/backends.py @@ -119,7 +119,7 @@ class OAuth2Backend(JMSModelBackend): headers = { 'Accept': 'application/json', - 'Authorization': 'token {}'.format(response_data.get('access_token', '')) + 'Authorization': 'Bearer {}'.format(response_data.get('access_token', '')) } logger.debug(log_prompt.format('Get userinfo endpoint'))