Skip to content

Howto generate signed Response with desired namespaces (saml,samlp,ds, etc...) #650

Open
@danaru

Description

@danaru

Hi, I'd like to use pysaml2 for IdP side implementation.

Code Version

v4.8.0

Expected Behavior

I would like to generate signed Response with saml2 namespaces (saml,saml2,ds ...)

Current Behavior

Signed Response generated with default namespaces (ns0,ns1)
With unsigned version I've applied register_prefix on returned response and got Response with desired namespaces, however with signed version I'm getting signed xml string.

Possible Solution

To workaround this I've added prefix registration at sigver.py::signed_instance_factory
Is there a way to do it on server.py level? without modifying inner modules?

Thanks

Steps to Reproduce

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions