I am trying to add email authentication with python-social-auth.
Documentation says that:
Form submit should go to /complete/email, or if it goes to your view, then your view should complete the process calling social.actions.do_complete
In my case, the form goes to my own view and at the end I should call do_complete
. I searched a lot but was not able to find any documentation on this method. I looked at the source code and the definition is:
def do_complete(backend, login, user=None, redirect_name='next',
*args, **kwargs)
But how do I give this method all those parameters, i.e. backend, login(what is login?) and etc from my django view?