omab / python-social-auth

Social auth made simple
http://psa.matiasaguirre.net
BSD 3-Clause "New" or "Revised" License
2.83k stars 1.09k forks source link

Allow apps to have any type of user_id field. #1040

Closed prmtl closed 7 years ago

prmtl commented 8 years ago

This is the same as it was done for Pyramid app - do not expect that User.id will be always an Integer but get it's type and use it in UserSocialAuth.user_id column.

omab commented 7 years ago

I've ported this PR into social-app-flask-sqlalchemy, social-app-pyramid, social-app-tornado and social-app-webpy.

Thanks!