mx-moth / flask-saml2

Flask library for building SAML Service Providers and Identity Providers
MIT License
70 stars 60 forks source link

Handling saml2/saml2p namespaces in XML #7

Open MartinFalatic opened 5 years ago

MartinFalatic commented 5 years ago

I'm integrating with Okta, which has the quirk of using saml2 and saml2p namespaces in the XML response data, versus the more canonical saml/samlp (as one might see in a request).

Example of this can be found towards the end of this page:

https://developer.okta.com/docs/guides/saml-tracer/overview/

My question is, how would one best handle this, given that the latter namespaces appear to be hardcoded in most of the code here? NAMESPACE_MAP?