python-social-auth: social_core.exceptions.MissingBackend: Missing backend "saml" entry

I’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!

About this issue

  • Original URL
  • State: closed
  • Created 7 years ago
  • Comments: 18

Most upvoted comments

Did you install python3-saml?