omab / django-social-auth

Django social authentication made simple
https://groups.google.com/group/django-social-auth
BSD 3-Clause "New" or "Revised" License
2.65k stars 756 forks source link

Does this work with Django 1.8.2 #833

Closed Jzarecta closed 7 years ago

Jzarecta commented 9 years ago

Wonder if anyone have tried this plugin on Django 1.8.2 succesfully.

mrigdon-zz commented 8 years ago

+1

Tatsh commented 8 years ago

It seems to work, but there are some warnings and you have to enable the non-secure PickleSerializer as your SESSION_SERIALIZER (default for a while has been the JSON serialiser). If you do not, Facebook login will not work.

/home/tatsh/.virtualenvs/fos/lib/python2.7/site-packages/social_auth/utils.py:14: RemovedInDjango19Warning: The utilities in django.db.models.loading are deprecated in favor of the new application loading system.
  from django.db.models.loading import get_model

/home/tatsh/.virtualenvs/fos/lib/python2.7/site-packages/social_auth/models.py:4: RemovedInDjango19Warning: django.utils.importlib will be removed in Django 1.9.
  from django.utils.importlib import import_module
evcb commented 8 years ago

Yes. I implemented on 1.9 with no problem.

vasylnakvasiuk commented 8 years ago

@hellvix @Tatsh

Python 3.5.0 Django 1.9.1 django-social-auth 0.7.28

During "migrate" or "runserver" I got:

from django.utils.importlib import import_module
ImportError: No module named 'django.utils.importlib'

Changing SESSION_SERIALIZER didn't solve my problem.

evcb commented 8 years ago

@vaxXxa django-social-auth is no longer in use. You should install python-social-auth (https://github.com/omab/python-social-auth).

vasylnakvasiuk commented 8 years ago

@hellvix ok.. thnx

Andrii-D commented 8 years ago

@hellvix How hard is to migrate from django-social-auth to python-social-auth? If there is any guidelines of how to do it? Thanks!

evcb commented 8 years ago

There is no documentation on how to the migration but the API is pretty much the same. Just take a look in the documentation that you'll be able to make the proper changes.

Den 14. jun. 2016 12.00 skrev "Andrii Dvoiak" notifications@github.com:

@hellvix How hard is to migrate from django-social-auth to python-social-auth? If there is any guidelines of how to do it? Thanks!

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.