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

Do I use this library to obtain the access_token as well? #220

Open marcosgeorgopoulos opened 4 years ago

marcosgeorgopoulos commented 4 years ago

Hi,

I am looking at the google-oath2 example and it mentions you can get a test access-token for testing converting it to an internal token, however what I am trying to understand is there a way to get the token directly via using this library? I see that the only views this implements is

ConvertTokenView TokenView RevokeTokenView invalidate_sessions DisconnectBackendView

Am I supposed to use /token to obtain an access token from my external backends ( such as google, twitter ) or is that only for the internal applications I create?

If its only for the internal should I therefore be using /login which is from python social auth to get the token?

Many thanks.

wagnerdelima commented 4 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.