Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does samlify supports using AssertionConsumerServiceIndex instead of ProtocolBinding and AssertionConsumerServiceURL? #437

Open
honhaochen opened this issue Jul 1, 2021 · 2 comments

Comments

@honhaochen
Copy link

Part of my SP's metadata is as follow:

<md:NameIDFormat>urn:oasis:names:tc:SAML:2.0:nameid-format:transient</md:NameIDFormat>
        <md:AssertionConsumerService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST" Location="https://---1/sso" index="0"/>
        <md:AssertionConsumerService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect" Location="https://---2/sso" index="1"/>
        <md:AssertionConsumerService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST" Location="https://---3/sso" index="2"/>
        <md:AssertionConsumerService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect" Location="https://---4/sso" index="3"/>
        <md:AssertionConsumerService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST" Location="https://---5/sso" index="4"/>
        <md:AssertionConsumerService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect" Location="https://---6/sso" index="5"/>

if I would like to use one of the index (e.g. 5), I should be able to specify them via AssertionConsumerServiceIndex="5" in the Authn Request, but does samlify allows such configuration?

@stjeffrey
Copy link
Contributor

I need this as well but it seems Samlify doesn't support this. If I can manage to write something within the library I'll do a pull request.

@stjeffrey
Copy link
Contributor

stjeffrey commented Dec 18, 2023

I wrote a PR that should allow this to work #532

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants