hello, using python social auth with google oauth2. When a user cancels the prompt requesting access to google drive, django gives an error saying "AuthCanceled at /complete/google-oauth2/"
I added SOCIAL_AUTH_DISCONNECT_PIPELINE but that didnt help
Im trying to get a refresh_token for google oauth2, but it is not showing up in my user.social_auth.get(provider='google-oauth2').extra_data
I added SOCIAL_AUTH_GOOGLE_OAUTH2_EXTRA_DATA = [ ('refresh_token', 'refresh_token')] to my settings.py, but no luck
ah I needed to add SOCIAL_AUTH_GOOGLE_OAUTH2_AUTH_EXTRA_ARGUMENTS = { 'access_type': 'offline'}
ruind has quit
ruind joined the channel
ruind has quit
pnh7 joined the channel
pnh7
Hello, I'm trying to integrate python_social_auth with my django project. I use custom_user which uses email as username field. There is not username field in the custom_user model. So, how can I integrate it with python_social_auth?