django-rest-framework-social-oauth2 icon indicating copy to clipboard operation
django-rest-framework-social-oauth2 copied to clipboard

Exception thrown while converting a token

Open andreatulimiero opened this issue 7 years ago • 2 comments

Hi, I'm having a problem while converting a token obtained from a third-party provider to an internal one The request I'm making is the same specified in the example in the README

backend :google-oauth2  
client_id: <client-id>  
client_secret: <client-secret>  
grant_type: convert_token  
token: <google-token>

The backend then returns a 500 error since there is an exception:

TypeError at /auth/convert-token
unsupported operand type(s) for +: 'NoneType' and 'int'
.
.
.
File "/usr/local/lib/python3.6/site-packages/social_core/backends/base.py" in run_pipeline
  106.             out['pipeline_index'] = pipeline_index + idx

Analyzing the variables, pipeline_index is None

A full traceback is available here

andreatulimiero avatar Jan 10 '18 18:01 andreatulimiero

Did you resolved ??

hudrec avatar Feb 24 '20 22:02 hudrec

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.

wagnerdelima avatar Jul 04 '20 15:07 wagnerdelima