Skip to content

Allow AuthnRequest with no NameID Format #119

@alexstuart

Description

@alexstuart

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions