Fix ProtocolBinding attribute in SAML AuthnRequests (#30751)

Fix for #30750.

Using the proper values defined in:
346540312f/metadata.go (L12-L16)
This commit is contained in:
Lucas Manuel Rodriguez 2025-07-10 17:55:09 -03:00 committed by GitHub
parent b88c2c3d67
commit 3e2c72dfed
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -42,8 +42,8 @@ func CreateAuthorizationRequest(
}
samlAuthRequest, err := samlProvider.MakeAuthenticationRequest(
idpURL,
"HTTPRedirectBinding",
"HTTPPostBinding",
saml.HTTPRedirectBinding,
saml.HTTPPostBinding,
)
if err != nil {
return "", "", ctxerr.Wrap(ctx, err, "make auth request")