GithubHelp home page GithubHelp logo

Comments (5)

omab avatar omab commented on June 28, 2024

They should be different, done view is reached after a redirect, so the request is completely different. What happens when you reach that view?

from python-social-auth.

mongkok avatar mongkok commented on June 28, 2024

In the final request the user (request.user) is Anonymous when it should be the real user instance.

from python-social-auth.

omab avatar omab commented on June 28, 2024

Since this change django/django@dc43fbc Django enforces authentication backends to be defined on AUTHENTICATION_BACKENDS setting, but this app uses a wrapper in order to get access to the Strategy which is unknown to backends and app-dependent, but the wrapper is not defined in AUTHENTICATION_BACKENDS, adding it makes it work again and until some decoupling is done in the project I don't see any other fix, so I'll recommend this setting until I find a better solution.

from python-social-auth.

omab avatar omab commented on June 28, 2024

@gitmiette, check docs here http://psa.matiasaguirre.net/docs/configuration/django.html#django-1-6

from python-social-auth.

omab avatar omab commented on June 28, 2024

This change solved that the same day the fix was introduced:

ebaa4b5

Excerpts from Yu Yang's message of 2013-10-11 08:26:46 -0200:

@omab this change breaks normal login. for example when I login in admin page, it gives an AttributeError:

'BackendWrapper' object has no attribute 'authenticate'

Reply to this email directly or view it on GitHub:

#53 (comment)

Matías Aguirre ([email protected])

from python-social-auth.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.