8000 Enabling "HTTP-POST binding response" is not reflected in the SP metadata · Issue #39596 · keycloak/keycloak · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Enabling "HTTP-POST binding response" is not reflected in the SP metadata #39596
Closed
@craigmcnally

Description

@craigmcnally

Before reporting an issue

  • I have read and understood the above terms for submitting issues, and I understand that my issue may be closed without action if I do not follow them.

Area

saml

Describe the bug

The SAML SP metadata always uses Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect" for the AssertionConsumerService, even if "HTTP-POST binding response" is enabled in the Identity Provider configuration

Image

<md:AssertionConsumerService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect" Location="...truncated...

Version

26.1.4

Regression

  • The issue is a regression

Expected behavior

The ACS binding in the SP metadata should indicate HTTP-POST instead of HTTP-Redirect when "HTTP-POST binding response" is enabled.

<md:AssertionConsumerService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST" Location="...truncated...

Actual behavior

The ACS binding in the SP metadata always indicates HTTP-Redirect

<md:AssertionConsumerService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect" Location="...truncated...

How to Reproduce?

  1. Create a new SAML identity provider
  2. Specify IdP metadata
  3. Verify that "HTTP-POST binding response" is disabled
  4. View the SP metadata using the link in the Admin Console. Note that the ACS binding is HTTP-Redirect
  5. Toggle "HTTP-POST binding response" so that it's enabled
  6. Save
  7. View the SP metadata again using the link in the Admin Console. Note that the ACS binding is still HTTP-Redirect

Anything else?

A workaround which worked for me is to save the SP metadata, then manually change the ACS binding to "urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST" prior to uploading the SP metadata into the IdP.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0