django - How to retrieve the Email from Twitter and Google -
i using django-allauth these settings:
socialaccount_providers = { 'google': { 'scope': ['https://www.googleapis.com/auth/userinfo.profile'], 'auth_params': {'access_type': 'online'} }, 'facebook': { 'scope': ['email', 'publish_stream'], 'auth_params': {'auth_type': 'reauthenticate'}, 'method': 'oauth2', 'locale_func': lambda request: 'pt_br', 'verified_email': false } } account_email_verification = 'none'
then when made login through twitter or google email not filled in user. when use providers github or facebook users have proper email. in advance o/
you cannot. twitter not provide users' email addresses.
Comments
Post a Comment