st4lk / django-rest-social-auth

OAuth signin with django rest framework
MIT License
522 stars 122 forks source link

Multiple argument error when using partial pipelines #62

Open kbrownlees opened 6 years ago

kbrownlees commented 6 years ago

Hi,

DRFStrategy needs the equivalent of https://github.com/python-social-auth/social-app-django/commit/88420fa6cc8d1000e031505f29e1277b583421f7 applied but for the rest framework Request. Otherwise when you try and resume a partial pipeline you get:

  File "/home/vagrant/virtualenvs/madc-server/lib/python3.6/site-packages/social_core/backends/base.py", line 80, in authenticate
    return self.pipeline(pipeline, *args, **kwargs)
TypeError: pipeline() got multiple values for argument 'pipeline_index

Will try and get a PR done for it.

jd-solanki commented 4 years ago

Hello, @kbrownlees did you managed to solve this?

Currently, I am able to pause the pipeline but I don't know how to resume it. How you did it?

Awaiting your response.

~ Regards