MakeSimpleSignAuthenticationRequest creates a SAML authentication request for the IDP's HTTP-POST-SimpleSign single sign-on endpoint. It returns an auto-submitting HTML form that sends the request to the IDP. The request carries no XML signature; it is signed with a SimpleSign signature (sstc-saml-
(relayState string)
| 386 | // the HTTP-POST binding, as for MakePostAuthenticationRequest; use |
| 387 | // MakeAuthenticationRequest and AuthnRequest.SimpleSign to request another. |
| 388 | func (sp *ServiceProvider) MakeSimpleSignAuthenticationRequest(relayState string) ([]byte, error) { |
| 389 | req, err := sp.MakeAuthenticationRequest(sp.GetSSOBindingLocation(HTTPPostSimpleSignBinding), HTTPPostSimpleSignBinding, HTTPPostBinding) |
| 390 | if err != nil { |
| 391 | return nil, err |
| 392 | } |
| 393 | return req.SimpleSign(relayState, sp) |
| 394 | } |
| 395 | |
| 396 | // SimpleSign returns an auto-submitting HTML form that sends the request to |
| 397 | // its Destination with the HTTP-POST-SimpleSign binding, signed with sp's |