LoginRadius / go-saml

High Level API Implementation of SAML 2.0 (Currently Supported Identity Provider Implementation) Single Sign On
MIT License
11 stars 13 forks source link

Support SAML Response Signing Method SHA1 as well #1

Closed mayankagwl closed 4 years ago

mayankagwl commented 4 years ago

Is your feature request related to a problem? Please describe. Currently while signing the SAML Response, the default SHA256 algorithm is used, SHA1 support also needed

Describe the solution you'd like Can be added in the IDP configuration, and that variable used to determine which signing algorithm to be used.

Describe alternatives you've considered

Additional context Currently, In the SAML Response, default SHA256 is used http://www.w3.org/2001/04/xmldsig-more#rsa-sha256
https://github.com/LoginRadius/go-saml/blob/fa9f285de74b0771b4253e81e5a233641655e945/internal/authnResponse.go#L99