SAML 2.0 implemementation for Service Providers based on etree and goxmldsig, a pure Go implementation of XML digital signatures.
Install gosaml2
into your $GOPATH
using go get
:
go get github.com/russellhaering/gosaml2
See demo.go.
This library is meant to be a generic SAML implementation. If you find a standards compliant identity provider that it doesn't work with please submit a bug or pull request.
The following identity providers have been tested:
- Auth0
- Idaptive
- Ipsilon
- Microsoft Active Directory Federation Services (AD FS)
- Microsoft Azure AD
- Okta
- OneLogin
- Shibboleth