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

cannot import name 'OpenIdConnectAssociation' #1102

Open jialutu opened 7 years ago

jialutu commented 7 years ago

ImportError at /login/facebook/ cannot import name 'OpenIdConnectAssociation' Request Method: GET Request URL: http://127.0.0.1:8000/login/facebook/ Django Version: 1.11.2 Exception Type: ImportError Exception Value:
cannot import name 'OpenIdConnectAssociation' Exception Location: \Continuum\Anaconda3\lib\site-packages\social\backends\open_id.py in , line 1

jialutu commented 7 years ago

This is due to the classes OpenIdConnectAssociation and OpenIdConnectAuth moving to social_core.backends.open_id_connect.

Pull request #1104 created to update the import.