saml2/authn_request.py generates an AuthnRequest which always contains a Format attribute, although saml2int does not require this attribute. saml2int says:
The saml2p:AuthnRequest message SHOULD contain a saml2p:NameIDPolicy element with an AllowCreate attribute of "true". Its Format attribute, if present, SHOULD be set to one of the following values:
urn:oasis:names:tc:SAML:2.0:nameid-format:persistent
urn:oasis:names:tc:SAML:2.0:nameid-format:transient
Is it possible for the library to be flexible enough that it doesn't have to request a particular Format? This would be useful where one can't be sure that the IdPs can produce persistent NameIDs
saml2/authn_request.pygenerates anAuthnRequestwhich always contains aFormatattribute, although saml2int does not require this attribute. saml2int says:Is it possible for the library to be flexible enough that it doesn't have to request a particular Format? This would be useful where one can't be sure that the IdPs can produce persistent NameIDs