social_core.exceptions.MissingBackend: Missing backend "saml" entry
See original GitHub issueI’m trying to set up SAML following the instructions here:
http://python-social-auth.readthedocs.io/en/latest/installing.html
I’m not having trouble with the SAML part, but just getting the import of load_strategy and load_backend to work. it comes down to this one line, the bug is an ImportError that it cannot find strategy
and this makes sense, because strategy is in uppercase:
https://github.com/omab/python-social-auth/blob/master/social/apps/django_app/utils.py#L1
I changed that lowercase s to uppercase, and the site is working again. Now I’m getting this error:
social_core.exceptions.MissingBackend: Missing backend "saml" entry
I’m wondering why following the instructions for the new repo are leading to the installation of this old version? I’m following the installation instructions (is it a mistake to use pip?) and it always winds up that I have this particular file. I would really appreciate help, and maybe a working set of instructions for getting this working? Thank you!
Issue Analytics
- State:
- Created 6 years ago
- Comments:18
Did you install
python3-saml
?I’m going to close this, since both our issues are resolved. Glad to help!