Coder Social home page Coder Social logo

Comments (2)

banagale avatar banagale commented on July 18, 2024

I wanted to add that our social app, the only one we're supporting is SAML.

I see that #3997 resulted in SOCIALACCOUNT_EMAIL_AUTHENTICATION_AUTO_CONNECTS getting added, which seems like perhaps the intent now is to use this to perform the connection I'm doing in new_user?

from django-allauth.

pennersr avatar pennersr commented on July 18, 2024

new_user() is instantiating a new/blank User instance. it is supposed to be unsaved -- there shouldn't be any user.pk set.

Has the method for linking up an existing user account with a social login changed?

No

If a real user should not be attached at the time FinishACSView runs, when should it be attached?

The adapter.pre_social_login() would be a good place. At this point, allauth ran all its logic, and it is clear whether or not the social account and/or the user are known.

from django-allauth.

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.