Stack Auth is managed user authentication & authorization. It is developer-friendly and fully open-source & self-hostable. Within 5 minutes, you can setup Stack and use its components such as <SignIn /> and <AccountSettings />.
Hi Product Hunt, Zai & Konsti here!
We built many web projects before, and the most annoying part of starting a project is spending countless hours battling with authentication, user management, account settings, and RBAC. None of the open-source solutions have the developer-friendliness and the feature set we'd wish for. We want to solve this problem for everyone with a great all-in-one open-source and self-hostable platform.
We have paid managed hosting available on our platform, which will give you the same experience as Clerk or other services. However, we build trust with our customers and avoid vendor lock-in by keeping all infrastructure 100% open-source.
If you like what we're building, please try it out in your project! Also, join our Discord to build great things together!
Konsti here, thanks for all the comments!
Lots of people are asking about our competitors, so here's how we're different. Think of a specific competitor and ask yourself:
- Are they open-source?
- Are they developer-friendly, even for startups and indie devs, letting you get started & scale in minutes?
- Besides authentication, do they also do authorization and user management, with features that you'll inevitably need (such as; multi-tenancy with teams/organizations, role-based access control, password authentication, user dashboard, analytics integration)?
How many YESes did you get? The answer is YES for Stack Auth on all three.
Report
@fomalhaut Well done on the launch! Wishing you continued success and growth. How did you come up with the idea?
@kjosephabraham Thanks! We've both built startups before, and we found that one of the most painful aspects in the early stages was building things that weren't directly related to our core business. We spent a lot of time on tasks like authentication, user management, database migration, analytics, and billing. Our long-term vision is to solve all these problems with a five-minute setup and manage everything within one dashboard. We decided to tackle this from the most core and painful problem, which authentication!
Report
@fomalhaut Wow, this looks super promising, will use it in my next project. Congratulations on the launch!
Report
@fomalhaut
Hey Zai Shi, congrats on the launch! However, we also need a better version of auth for mobile development, especially for Expo projects
Report
Congratulations on the launch, Zai & Konsti! This looks like a fantastic tool for developers. Can the sign-in pages and account settings be customized without using the Stack components? If so, how much flexibility do developers have in tailoring these pages to fit their specific design requirements?
@thomas80 Yes, everything on the frontend is 100% customizable! You can call functions like stackApp.signInWithOAuth("google") when you click on your own OAuth login button. Stack components are just prebuilt components using these low-level functions
Report
Are there specific tools or examples available to help new users get to grips with Role-Based Access Control (RBAC) and user management within Stack Auth?
@archer1 Our documentation has some examples in the "permissions" section, otherwise there is also an /examples/demo project in the GitHub repo
Report
Congratulations on the launch. This looks clean.
Curious to know how different it is from next-auth.
also can we customize the sign in pages without using the stack components?
@madospace
Hi Madhu, thank you for your support!
Differences from Next-Auth: We just have more features — for example, we have built-in support for teams/organizations, RBAC, password auth, JWT metadata, and so on and so forth. We are a managed solution for authentication, authorization, and user management, whereas Next-Auth is simply a library for authentication only.
About customization: Yes, everything is fully customizable! You can build your own button and call a function like stackApp.signInWithOAuth("google") when clicking it.
Report
I'm particularly impressed with how developer-friendly and open-source it is. How does Stack Auth differ from existing solutions like next-auth in terms of both features and ease of use? Are there any unique functionalities that set it apart?
@tucker1 thanks! The difference between us and next-auth: we just have more features — for example, we have built-in support for teams/organizations, RBAC, password auth, JWT metadata, and so on and so forth. We are a managed solution for authentication, authorization, and user management, whereas Next-Auth is simply a library for authentication only.
Report
Congrats on the launch! What security measures does Stack Auth implement to ensure user data is protected, especially since it's self-hostable?
@austin22
Hi austin, so there are a few points:
1. we try to use existing battle tested open-source libraries as foundations
2. we write tests and do good security practices
3. we have a great community helping us to find potential problems!
Report
Have you considered creating a community toolkit or additional resources to aid new users? Guidelines, examples, or best practices would be particularly helpful.
Report
Thanks for you project!
We've built many web projects before, and the most annoying part of starting a project is the endless hours of struggling with authentication, user management, account settings, and RBAC. None of the existing open-source solutions have the developer-friendliness and feature set that we would like to see.
Good luck
Hey Zai & Konsti!
This is awesome! 🤩 ✨ Saved it for myself, definitely see it being a huge time-saver. I’ve battled with these things too many times, so I get how resource-heavy it can be. Love that it's open-source and self-hostable 💪
Report
I've used Auth0 and Supabase Auth. I just tried Stack Auth, and it’s very simple and intuitive. I've decided to use it in my next project.
What's even more impressive is that it's open source!
Congrats on the launch, great job!!!!!!
Replies
Stack Auth
Stack Auth
Stack Auth
Stack Auth
Stack Auth
Stack Auth
Stack Auth
Stack Auth
Pathway
Stack Auth