Comments (4)
The code that you linked to is not fixed, it accepts a entity_id
param, which is passed here:
from django-allauth.
Ok that's the parse_remote
method which fetches the metadata and calls parse
method which has this:
entity_desc_path = '//md:EntityDescriptor'
if entity_id:
entity_desc_path += "[@entityID='%s']" % entity_id
entity_descriptor_nodes = OneLogin_Saml2_XML.query(dom, entity_desc_path)
So the namespace is still in the xpath selector whether entity_id
is provided or not, so if the metadata xml has <EntityDescriptor>
's without the md namespace, it will find nothing.
from django-allauth.
You are right -- I overlooked the +=
.
from django-allauth.
Related: spring-projects/spring-security#11283
I am not sure if there is anything that can be done on this end. Perhaps this is best filed as an issue over at https://github.com/SAML-Toolkits/python3-saml/ ?
from django-allauth.
Related Issues (20)
- get_providers returns Google Provider Twice HOT 6
- Error while retrieving session from request in middleware in async environment HOT 6
- Use Stripe Applications instead of Stripe Connect HOT 1
- multiple sites with google login
- Use new Session model as a SessionBackend? HOT 4
- EMAIL_AUTHENTICATION_AUTO_CONNECT
- _app_settings = AppSettings("ACCOUNT_") HOT 3
- Missing 'state' parameter when using OpenID Connect with Authelia HOT 7
- 'SyncToAsync.__call__' was never awaited session_check(request) HOT 2
- not able to upgrade to django-allauth==0.56.0 HOT 3
- Email customization issues HOT 1
- Email registration unique constraint "users_user_email_key" HOT 1
- not able to upgrade to django-allauth==0.57.0 HOT 1
- GitHub "Authorization callback URL" limitation HOT 5
- How to add images in email with django allauth HOT 1
- Login process is reset when accessing sprites HOT 7
- Slack provider callback shows a Third-Party Login failure HOT 4
- Django All Auth Force MFA Feature HOT 9
- SAML EntityID can't be used in MS Azure AD / Entra ID SSO HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from django-allauth.