flask-saml2 icon indicating copy to clipboard operation
flask-saml2 copied to clipboard

Flask library for building SAML Service Providers and Identity Providers

Results 28 flask-saml2 issues
Sort by recently updated
recently updated
newest added

Added class variables in ServiceProvider for logout_endpoint, login_return_endpoint, entity_id, and acs_redirect_endpoint, and added parameters in the create_blueprint method. With acs_redirect_endpoint, you can explicitly set the relay_state in AssertionConsumer, for cases...

It looks like SAML request valid format is

Allows for a SAML attribute to have multiple values. Partially solves #24

In the metadata.xml [nameid-format](https://github.com/timheap/flask-saml2/blob/master/flask_saml2/idp/templates/flask_saml2_idp/metadata.xml#L18) The line with urn:oasis:names:tc:SAML:2.0:nameid-format:email should it be urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress

I have set up a SP according to docs/example, and I have issue with logout. Basically, I get a traceback caused by discrepancy between [logout call](https://github.com/timheap/flask-saml2/blob/master/flask_saml2/sp/views.py#L72) and [corresponding function definition](https://github.com/timheap/flask-saml2/blob/master/flask_saml2/sp/views.py#L74)....

Howdy! Happy to contribute a PR to support this, but it seems like the `ResponseParser.attributes` property could be improved in two ways: 1. If the SAML `Attribute` has a `FriendlyName`,...

I'm trying to implement a SP using ADFS as my IDP and I successfully receive a SAML Response via request.form['SAMLResponse']. I can take this response and decode to a string...

In the metadata template for the SP on line 18 ([sp/templates/flask_saml2_sp/metadata.xml](https://github.com/timheap/flask-saml2/blob/master/flask_saml2/sp/templates/flask_saml2_sp/metadata.xml#L18)) the NameIDFormat is printed: `{{ nameid_format }}` Another var, `{{ certificate }}`, is passed to the template through `sp.get_metadata_context()`...

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...