question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

social_core.exceptions.MissingBackend: Missing backend "saml" entry

See original GitHub issue

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!

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:18

github_iconTop GitHub Comments

1reaction
vsochcommented, Sep 6, 2018

Did you install python3-saml?

0reactions
vsochcommented, Sep 7, 2018

I’m going to close this, since both our issues are resolved. Glad to help!

Read more comments on GitHub >

github_iconTop Results From Across the Web

SAML auth: Missing backend "saml" entry #715 - ansible/awx
After SAML configured, got 502 from django on metadata page. Seems like it cant find saml backend. ENVIRONMENT. AWX version: AWX 1.0.1.229; AWX ......
Read more >
SAML Configuration to a custom IDP Provider - Google Groups
SAML Configuration to a custom IDP Provider ... This issue was reported longtime back SAML auth: Missing backend "saml" entry · Issue #715 ......
Read more >
Use Cases - Python Social Auth documentation - Read the Docs
To do this, use the battlenet-oauth2 backend along with a small form to choose the username. The form is rendered via a partial...
Read more >
A brand new website interface for an even better experience!
SAML auth: Missing backend "saml" entry.
Read more >
Issues-omab/python-social-auth - PythonTechWorld
social_core.exceptions.MissingBackend: Missing backend "saml" entry ... When I try authenticate with Google I've got error: requests.exceptions.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found