Closed mraerino closed 6 years ago
Great work @mraerino! Any idea when it will be merged and implemented?
@vmorsell I don't know. Someone from Netlify still needs to review this. They seem pretty busy with things these days.
If you want to use this feature in your own gotrue deployment you could just use my branch and build it yourself. Should be straight-forward, at least when using the Dockerfile.
- Summary
These changes will enable GoTrue to perform SSO with any SAML 2.0 compliant auth provider.
It is based on the mostly stable lib gosaml2
Changes:
/authorize?provider=saml
will redirect to the SAML provider/saml/acs
processes the SAML callback post data/saml/metadata
exposes SAML metadataconfig.external.saml
accepts provider configConfig for the provider at
external.saml
looks like :There is a PR for the netlify-identity-widget to support this provider and allow provider names overrides: https://github.com/netlify/netlify-identity-widget/pull/150
Tested with:
- Test plan
My tests cover:
- Description for the changelog
Add support for external SAML 2 SSO provider
- A picture of a cute animal (not mandatory but encouraged)
Disclaimer: Netlify is paying me for this. This is based on previous negotiations with them.