Hi Tobias, Did check the pipeline logic at python-social-oauth? http://python-social-auth.readthedocs.org/en/latest/pipeline.html#authentication-pipeline There is an ability to inject your custom logic into authenticating process.
And why did you decide to take B way? Or why did you reject A? On Wednesday, January 14, 2015 at 12:37:44 PM UTC+2, Tobias Dacoir wrote: > > I'm trying to integrate Social Auth to my Webapp. As I have to store a lot > of additional information for each User I had two choices: > > A) Create a UserProfile with a OneToOne Relationship to User > B) Overwrite the default User class by inhereting from Abstract User > > Currently I chose to go with B) as was also recommended. Now I have found > three Addons that seem to be popular: > > - django-registration-redux > - django social-auth > - django-allauth > > I found some tutorial for all three of those (can post links to them if > anyone wants) however, all tutorial just make use a regular user model. I > have not been able to find a solution / example on how to connect to a > custom UserProfile for example. I have tested django-allauth using my > overwritten User Model and I was able to log in using Facebook, however I > have no idea how to automatically include my custom properties in a sign-up > form (as there is essentially no sign up, just log in via facebook). > > What I'd like to do is the following: > > - Allow users to register at my site > - During registration not only ask for username, email and password but > additional required fields like language settings (so extend default form) > - Allow Sign-Up / Login through OAuth (Facebook and Google at least) but > still have the user fill out those required fields. > > Can someone please tell me which 3rd Party App to use and maybe point me > to a tutorial / example that adds additional user properties during > registration? > -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/0ff04723-1382-4514-ad4b-830f0ab5d32d%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

