def get_user_details(self, response):
        return {'username': response.get('username'),
                'email': response.get('email', ''),
                'first_name': response.get('first_name', ''),
                'last_name': response.get('last_name', '')}
Return user details from Github account
dataset/ETHPy150Open omab/python-social-auth/social/tests/backends/test_dummy.py/DummyOAuth2.get_user_details