@handle_http_errors
def do_auth(self, access_token, *args, **kwargs):
    'Finish the auth process once the access_token was retrieved'
    data = self.user_data(access_token, *args, **kwargs)
    response = (kwargs.get('response') or {})
    response.update((data or {}))
    if ('access_token' not in response):
        response['access_token'] = access_token
    kwargs.update({'response': response, 'backend': self})
    return self.strategy.authenticate(*args, **kwargs)
Finish the auth process once the access_token was retrieved
@handle_http_errors
def do_auth(self, access_token, *args, **kwargs):
    
    data = self.user_data(access_token, *args, **kwargs)
    response = (kwargs.get('response') or {})
    response.update((data or {}))
    if ('access_token' not in response):
        response['access_token'] = access_token
    kwargs.update({'response': response, 'backend': self})
    return self.strategy.authenticate(*args, **kwargs)