RealmTeam / django-rest-framework-social-oauth2

python-social-auth and oauth2 support for django-rest-framework
MIT License
1.06k stars 191 forks source link

Getting error while the user is disabled(is_active=False) #232

Open PankajSavaliya opened 4 years ago

PankajSavaliya commented 4 years ago

works perfectly While users login with the Facebook first time. in some cases, admin can disable the users(is_active=False).

Users can't log in with Facebook after disabling by admin. getting error NoneType

Expected a `Response`, `HttpResponse` or `HttpStreamingResponse` to be returned from the view, but received a `<class 
'NoneType'>`
tousif12 commented 3 years ago

seems your view is not returning any response on some condition. its not DRF-social-oauth2 issue.

wagnerdelima commented 2 years ago

Hi all.

My team and I are constantly using this framework and it seems it has died out there. I contacted the owner by email asking if he would add some of us as maintainers so we could continue to improve it. However we didn't get a response.

I am publishing the project under my profile and we are going to continue to invest time in it.

So I would like to gently ask you to contribute to this project on: https://github.com/wagnerdelima/drf-social-oauth2

Thank you for understanding.