TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: A good way to support SSO in bootstrapped SaaS?

6 pointsby gary__almost 6 years ago
I&#x27;m looking for an identity solution that allows me to offer SSO in a typical SAAS scenario:<p>-Multitenant support where tenants can be created in an automated fashion<p>-Allows SSO to be setup back to a tenant&#x27;s own identity provider (saml2)<p>-There could be between 2 and 300 users per tenant. I&#x27;d be happy to have 3 tenants with 20 users each to begin with.<p>-No real need for logins to link to multiple tenants<p>Auth0 is expensive for this relative to where I am at. I&#x27;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&#x27;d appreciate any advice from HN&#x27;s experience on the options available.

4 comments

quickthrower2almost 6 years ago
I rolled my own at work based on <a href="https:&#x2F;&#x2F;github.com&#x2F;displayr&#x2F;AspNetSaml" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;displayr&#x2F;AspNetSaml</a> which I forked from <a href="https:&#x2F;&#x2F;github.com&#x2F;jitbit&#x2F;AspNetSaml" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;jitbit&#x2F;AspNetSaml</a><p>There is a PR to make it work with .NET core at the moment.<p>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.
评论 #20339115 未加载
mariushnalmost 6 years ago
Unless I&#x27;m misunderstanding your needs, why wouldn&#x27;t <a href="http:&#x2F;&#x2F;www.passportjs.org&#x2F;" rel="nofollow">http:&#x2F;&#x2F;www.passportjs.org&#x2F;</a> work? I&#x27;ve used it successfully for Google &amp; Facebook signup&#x2F;signin.<p>It has SAML support and I guess one of these packages could be customized to your needs? <a href="http:&#x2F;&#x2F;www.passportjs.org&#x2F;packages&#x2F;" rel="nofollow">http:&#x2F;&#x2F;www.passportjs.org&#x2F;packages&#x2F;</a>
dmarlowalmost 6 years ago
I highly recommend ComponentSpace SAML SSO. There is a cost, but well worth it, imo. It&#x27;s well maintained, support and forum available, fast responses, etc. I tried a few OSS, but they had some limitations that I couldn&#x27;t get around in a short timeframe.
avitzurelalmost 6 years ago
Used Auth0 before with great success. They support SSO and everything you need.<p>[edit] The right name this time