Ask HN: A good way to support SSO in bootstrapped SaaS?
I'm looking for an identity solution that allows me to offer SSO in a typical SAAS scenario:
-Multitenant support where tenants can be created in an automated fashion
-Allows SSO to be setup back to a tenant's own identity provider (saml2)
-There could be between 2 and 300 users per tenant. I'd be happy to have 3 tenants with 20 users each to begin with.
-No real need for logins to link to multiple tenants
Auth0 is expensive for this relative to where I am at. I'm on the .net core stack where identityserver4 is often used, but some of the (java) based offerings appear to come with more out of the box (for free). In saying that, integration with SAAS of this nature looks to complicate things. So I'd appreciate any advice from HN's experience on the options available.
6 comments
[ 3.6 ms ] story [ 27.6 ms ] threadIt has SAML support and I guess one of these packages could be customized to your needs? http://www.passportjs.org/packages/
There is a PR to make it work with .NET core at the moment.
Once you understand the protocol it’s a case of storing some fields relating to the IdP in your database, for each tenant. Redirect to the IdP website and they’ll redirect back to you and post a signed XML doc to daub Joe is authenticated and belongs to these groups.
Just in case you weren't aware of it, I found this page very helpful when developing mine: https://github.com/OWASP/CheatSheetSeries/blob/master/cheats...
[edit] The right name this time