Op

Open Source Authentication and Authorization

Hacker News

Open Source Authentication and Authorization

I’m Rishabh and the co-founder and CTO at https://supertokens.com (YC S20). We offer open-source user authentication and we just released our user roles product for companies implementing authorization. Our users are web developers, and a prominent and adjacent pain point for our users is authorization. Developers typically implement two independent solutions for authentication and authorization. Offering AuthN and AuthZ in a single solution is something we’ve been thinking about for the last few years. Quick primer, authentication is knowing who the user is, and authorization is knowing what the user has access to. A physical analogy: A person enters a building. Authentication means reading their ID card and knowing that the person’s name is John. Authorization means knowing which floors, offices, and files John has access to. With increasing privacy and data complexity, companies like Netflix[1], Slack[2], and Airbnb[3] have built out their own complex authorization systems. To build our user roles product, we started with a first principles approach of covering authorization use cases using scripting languages such as XACML and OPA. But looking at existing solutions built by talented teams like Oso[4], Aserto[5], Cerbos[6], Strya[7], we realized that while these were powerful solutions, they were often overkill for most early to mid-stage companies (especially on the B2C side). We went back to the drawing board, reached out to our users and after dozens of conversations, we realized that most authorization needs require the ability to 1. Assign and manage roles and permissions 2. Store roles in the DB and session tokens to make it readable on the frontend and 3. Protect APIs and websites based on these roles and permissions. And so, we built user roles – a simple RBAC authorization service that focuses on the balance between simplicity and utility. It doesn’t cover many complex cases and we’re not looking to displace any of the authorization incumbents. But you can add AuthN and AuthZ using a single solution, quickly. In the near future, we’ll be launching an admin GUI where you can manage your users and their roles with a few clicks. We’d love for you to try it out and hear what additional functionality you’d like to see. What are your favorite authentication providers and what do they get right? - [1]: https://conferences.oreilly.com/velocity/vl-ca-2018/cdn.orei... - [2]: https://slack.engineering/role-management-at-slack/ - [3]: https://medium.com/airbnb-engineering/himeji-a-scalable-cent... - [4]: https://www.osohq.com/ - [5]: https://www.aserto.com/ - [6]: https://cerbos.dev/ - [7]: https://www.styra.com/

Share card

Actual performance

128points
33comments
Made the leaderboard

Launch Intel predictions

Analyze your own launch →
Indie HackersFits the IH revenue-focused audience · Strong signals: started · Missing: supports, reddit linkedin, podcasting
91%91% predicted probability of success on Indie Hackers, based on ML models trained on real launch data.
best fitHighest predicted score across all platforms for this description.
Product HuntOn track for Day 1 leaderboard · Strong signals: slack, user, single · Missing: mac, agents, macos
89%89% predicted probability of success on Product Hunt, based on ML models trained on real launch data.
Hacker NewsStrong engagement from HN community · Strong signals: just released, exist, open source · Missing: https docs, excited, lua
82%82% predicted probability of success on Hacker News, based on ML models trained on real launch data.
nativeThis product was originally launched on this platform.
TrustMRRFits verified-revenue profile · Strong signals: users · Missing: mobile apps, ios, personal
52%52% predicted probability of success on TrustMRR, based on ML models trained on real launch data.
AppSumoMay struggle as an AppSumo deal · Strong signals: users · Missing: plus, platform, intuitive
34%34% predicted probability of success on AppSumo, based on ML models trained on real launch data.
Acquire.comPre-revenue stage for this audience · Missing: arr, mrr, revenue
12%12% predicted probability of success on Acquire.com, based on ML models trained on real launch data.
BetaListMay not resonate with beta-testers · Missing: web3, chat, crypto
0%0% predicted probability of success on BetaList, based on ML models trained on real launch data.

Correct prediction on native model

Similar products

Authorizer
Authorizer20%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Open Source Authentication and Authorization Solution

Indie Hackerscommitment-side-project
Au
Authian – Open Source 2-Factor Authentication Using Instant Messengers69%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Authian – Open Source 2-Factor Authentication Using Instant Messengers

Hacker News37
Saasform
Saasform53%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Open source authentication and payments for saas

Indie Hackers4b2b
Cr
Cryptid Zero Trust Authentication and Authorization, Open Source Oberon50%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Cryptid Zero Trust Authentication and Authorization, Open Source Oberon

Hacker News3
Op
Open-source user authentication for Next.js62%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Open-source user authentication for Next.js

Hacker News2
Pa
Password-less Authentication as a Service (Open Source)67%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Password-less Authentication as a Service (Open Source)

Hacker News2
Op
Open Source WireGuard desktop client with Multi-Factor Authentication72%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Open Source WireGuard desktop client with Multi-Factor Authentication

Hacker News22
Tesseral
Tesseral59%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Open source authentication infrastructure for B2B software

Product Hunt+141Open Source
Sl
SlideSelection, an Open Source Hooper Selection Implementation47%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

SlideSelection, an Open Source Hooper Selection Implementation

Hacker News4
Pi
Piki is now open source73%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Piki is now open source

Hacker News2