def get_user_details(self, response):
        response = response['result']
        fullname, first_name, last_name = self.get_user_names(
            response.get('display_name')
        )
        return {'username': response.get('id'),
                'email': response.get('email'),
                'fullname': fullname,
                'first_name': first_name,
                'last_name': last_name}
Return user details from Beats account
dataset/ETHPy150Open omab/python-social-auth/social/backends/beats.py/BeatsOAuth2.get_user_details