go-saml
go-saml copied to clipboard
A just good enough SAML client library written in Go.
Just to let you know, we've been successfully integrating our product against various SAML implementations using this code, and here are some of the changes which we've found are necessary....
This is an example of a status code coming back from Google's G Suite SAML integration. We're not sure if this handles the full generality of SAML status codes.
SHA1 is vulnerable so better to use SHA256 instead
I think this was a typo.
SPSignRequest ask for Boolean and not string.
In our project, we have to enable SSO in which the service provider will be Salesforce and Identity Provider will be the Golang code. Golang code will first verify the...
Doing this... authnRequest := sp.GetAuthnRequest() b64XML, err := authnRequest.EncodedSignedString(sp.PrivateKeyPath) getting this error EncodedSignedString, error=&{%!e(string=exec: \"xmlsec1\": executable file not found in $PATH : )}","sta the file exists and has a valid...
Right now the settings config and init require a local path to the file of the IDP meta data. This is not desirable since many multi tenant programs would load...
Seems this code will panic and crash program if it has errors, like loading the IDP metad file during sp settings init. Should just use errors Ideally as this is...
For IDP initiated workflow to just generate a SAMLResponse to send to an SP, seems this library can create the response, but any example how to configure and generate the...