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:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user