Fix ProtocolBinding attribute in SAML AuthnRequests (#30751)

Fix for #30750.

Using the proper values defined in:
https://github.com/crewjam/saml/blob/346540312f721498fc75e69637d9250dd89f230b/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
+2 -2
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")