Sick of spending time on Auth, we built an open source 'Stripe for Auth'
545 pointsWhy did we build this?
To be able to control our user data and have it stored in our own database.
Have certain customisations that other identity providers do not offer
We couldn’t afford to pay
It took too long to understand the documentation of alternate service providers
How are we any easier?
We think that Auth0, Firebase etc are great services but auth is complex. There are many different use cases for different types of apps. Since services have to cater to each of these, they tend to become complex in their implementation (due to no fault of their own).
SuperTokens takes a modular approach - making it possible to pick only the features you need for your use case. This means you need not worry about complications associated with other features (eg: SSO and OAuth if you don’t need it) and this in turn makes it easier to implement and manage SuperTokens.
We are still early in the journey and working hard on building more functionality.
Please see our website: https://supertokens.io/
Our GitHub: https://github.com/supertokens/supertokens-core
Do let us know what you think - specifically whether you would consider SuperTokens for your app. Why or why not? What can we change or offer?
PS: We did a "Launch HN" post earlier when our product was only for securely managing session tokens (https://news.ycombinator.com/item?id=24306572). We realized we need to build more of the auth stack (signup / signin, social login etc) and hence we're excited to announce that we've built basic login functionality.
Comments (339) 88 threads
Earlier commentsI Really hate Auth0; you should, too.
I use a js-only backend so installing Java as a dependency maybe isn't the biggst deal but it's still something I will have to consider.
Even if it's more work to configure and setup an auth myself I will know the intimate details of how it works and don't have to spend time learning another tool in another language. Both takes time and since I've implemented auth several times already it isn't that big of a deal for me.
But yes, your point is valid. If you'd like to be able to know the intimate details and make modifications (that we dont offer), then this would hold true. But all in all, the reasons we picked java were:
Java has a very mature ecosystem. This implies that third party libraries have been battled tested. It's strong type system ensures fewer bugs and easier maintainability. This is especially important when many people are expected to work on the same project (for open source).
I am not questioning your choice of language. It's all fine and dandy I am just questioning myself and if I have enough willpower to actually host it myself. :)
The nice thing about this is that everything behind the NGINX load balancer you don't have to worry about the users being authenticated and / or not.
If you need roles / permissions / metadata you can roll that into your one piece of software which handles the client side auth.
For something small scale, it's perfectly viable to run it all in a `docker-compose`... For something bigger, I've been hosting it on K8s.
I know some established companies and well-funded startups can pay that without batting an eye, but it seems non-viable for a lot of projects.
All comments shown.
Couldn't load more comments. Check your connection and try again.