mx-moth / flask-saml2

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

Option to use the actual "Entity ID" for the "Entity ID" parameter, rather than a URL to the XML. #17

Open August-W opened 4 years ago

August-W commented 4 years ago

Some IDPs expect the Entity ID in that parameter, rather than a URL to the XML file. I was able to do this in my project by extending the ServiceProvider class. I'm not sure how commonplace this is for Python modules but I think it would be better if you could configure this (and other values, such as the logout/login urls) in the ServiceProvider without extending it. I'd be happy to work on this. I am thinking maybe a factory method could mitigate the need to extend ServiceProvider