def user_data(self, access_token, *args, **kwargs):
        # Has to be two calls, because the users.info requires a username,
        # And we want the team information. Check auth.test details at:
        #   https://api.slack.com/methods/auth.test
        auth_test = self.get_json('https://slack.com/api/auth.test', params={
            'token': access_token
        })

        # https://api.slack.com/methods/users.info
        user_info = self.get_json('https://slack.com/api/users.info', params={
            'token': access_token,
            'user': auth_test.get('user_id')
        })
        if user_info.get('user'):
            # Capture the user data, if available based on the scope
            auth_test.update(user_info['user'])

        # Clean up user_id vs id
        auth_test['id'] = auth_test['user_id']
        auth_test.pop('ok', None)
        auth_test.pop('user_id', None)
        return auth_test
Loads user data from service
dataset/ETHPy150Open omab/python-social-auth/social/backends/slack.py/SlackOAuth2.user_data