Wasp
p/wasp-lang-alpha
Develop web apps in React & Node.js with no boilerplate
Michael Seibel

Full-stack Auth for React/Node by Wasp — Free OSS auth without 3rd party services, deploy anywhere

Featured
97
Full-stack auth solution for React, Node.js, and Prisma stack. Specify the supported authentication methods (e.g., email, Google, GitHub) and get everything from UI to the database models. No 3rd party services, powered by Wasp framework.
Replies
Best
Matija Sosic
Hey Product Hunt 👋, It's thrilling to share our progress with you again! This time, we present Wasp Auth - a full-stack auth solution for React & Node.js that provides everything from the database model to UI components, based on a short config object. Here's what you get: 🎁 Out-of-the-box auth components 💅 Easily customizable to match your brand 💬 Add extra fields and custom server-side validation 🦋 No 3rd party services. Deploy anywhere! Since Wasp is a full-stack framework, all the authentication code, components, and user data are your own, and you can deploy it anywhere. It's a simple, integrated solution that requires no extra setup or commitment! This is just the beginning - we plan to support more providers and further expand the customization options. Wasp is fully open-source and your contributions are welcome!
Matija Sosic
@theological Thanks so much for the comment! Really glad you like it and appreciate the support :)
Martin Šošić
Great job on this Miho and the rest of the team! One of my favorites parts of Wasp for sure. I am excited about everything we can yet add on top of that, like user dashboard, automatic user profile page, ... . p.s. love the video, especially the music :D
André J
Wouldn't it be safer with a third party tho? Putting the responsibility to guard the authentication database is a lot? or?
Matija Sosic
@sentry_co Good question! IMO the answer is not black and white and depends on what you need. But, if you use your database to store your users' data (not username/pass, but everything else they do in your platform), which is often even more sensitive than auth data, why wouldn't you also trust your database with the auth data?
Matija Sosic
@sentry_co Wasp automatically encrypts your user's auth data (e.g. password). For the rest of the data it often isn't encrypted by default, that depends on the use case.
Ankur Tyagi
@matijash congratulations to you and the team. I've worked with supertokens an open source auth and used supabase and passportjs auth. What's the key differentiator here?
Matija Sosic
@theankurtyagi The main difference is you don't have to implement or maintain anything by yourself! Wasp Auth also uses passportjs and best practices under the hood, but it is an integrated solution and allows you to move super quickly. There are still more features we want to add (e.g. more providers, more customizability), but that is the core idea. Keep it as simple as possible and free of any charge.
Rami - Browsingbuddies.com
I use passport.js with Nest.js/node.js. What is so special about Wasp? Maybe this tackles the frontend portion of it better? I also use Next.js.
Vince Canger
@kingromstar with Wasp, all you need to do is define your DB models and the type of Auth you want in your main config file, and Wasp glues it all together for you, and generates the UI components. Wasp does the work of configuring the NodeJS server for you so that the logged in user is passed in context. You actually don't have to touch any of this code -- it's all continuously compiled for you by Wasp. You just define the features in the config file, write your server functions and React pages, and it does the rest.
Rami - Browsingbuddies.com
@hot_town so how do we manage sessions if we need to or how do we extend the functionality of this API? Or is this considered a separate service and we run our actual business logic API elsewhere?
Martin Šošić
@hot_town @kingromstar Some parts are customizable to some degree, some parts are opt-out, and everything at the end is opt-out, but you can also extend a lot of stuff, for example you can add Express middleware and similar. For example, you can customize our forms on the client to some degree via their properties, or you can drop them and use a bit lower-level API (so your components, but we give you functions to call for stuff like login(), signing(), ...). It is not a separate service, it is instead part of the framework -> so functionality that gets activated for you both on frontend and backend, and has its own API that you can use to degree you want to. When you say "how do we manage sessions", what specifically do you have in mind?
Martin Šošić
@kingromstar for me to better understand -> what is a blocker for you? You are worried about not having enough flexibility? I also used to roll my own auth with Passport.js and Node before, but I prefer getting all this out of the box instead, so I am curious to understand what exactly makes you not like this?
Zvonimir Sabljic
This is what I always wished to have. I've likely spend dozens of hours on each of, at least, 5 different projects where I implemented authentication and every time it would be as much work as the time before. This is great! Do you have a link to a full tutorial on how to implement this? I'm wondering how do you connect the frontend buttons to the auth logic.
Vince Canger
@zvonimir_sabljic1 Yeah, here's the docs: https://wasp-lang.dev/docs/auth/... And the secret sauce is in Wasp's use of a main config file which has your entire app in context and is able to compile the code together cohesively.
Burak Karakan
Go Wasp! congrats on the launch, this looks really easy to get started, I'll definitely try this out in our next projects. 🚀
Teri
Great work done so far by the team. I am eager to try out the features of Wasp in building fully authenticated web apps.
Lander Willems
Congratulations to the Wasp team for building a framework I actually enjoy using. Wasp saved me a great deal of time bootstrapping one of my new micro SaaS ideas. Although I'm already loving the current product I can't wait for future improvements!
Shayne Czyzewski
This is really great! I love how you just add a line and it automatically just installs, builds, and reloads. It all just works! Other auth solutions are way more work. Such a time saver 🚀
Aditya D
@matijash excellent product rooting for you and your team. a good product by wasp team keep going for more very excited
Matija Sosic
@adi2710 Thanks for your support! :) Also feel free to join our Discord, we have a quite vibrant community sharing their projects and helping each other: https://discord.gg/rzdnErX
İsmail Altar Ulaş
I'm so excited to try and review it. I saw it on Vince Canger's CoverLetterGPT app and was intrigued. It seems to be quite suitable for personal initiatives.
Manan Sadana
🔌 Plugged in
Wasp is great. Used it recently to build an AI Saas. And it was a breeze building it. It offers everything, the front-end, the back-end and the database all pre-configured which is great and saves a lot of time and effort.
Martin Šošić
@manan_sadana Thanks Manan! I hope you had a good experience, and your questions also helped us improve some parts of Wasp (e.g. the one regarding the Railway deployment and Prisma issues).
Vince Canger
@manan_sadana so glad it helped you speed up your development and product launch 🚀
Manan Sadana
@martin_sosic I want to thank the team for such a quick response on the issue that I was facing. I got a hotfix which solved the problem and later I was really amazed to see proper fix for it was out to production in a day. Great work!
Aravind Parameswaran
Congrats on the launch! Looks quite compelling and helpful! Curious what prompted you to build this?
Hikaru Nagashima
Can't believe this is free. Congratulations on the launch!
Vince Canger
@hikaru_nagashima Thanks. The best part is that there are WAAAAY more amazing free features packed into Wasp as a full-stack framework. Auth is just the tip of the iceberg :)
Vince Canger
Thanks! @julienergan 🙏
Neha Kumari
Congratulations 👏🎉 Thanks for providing this information. It's very helpful for students. Thankyou once again
Ansh Goyal
Being an Auth0 Ambassador, I can surely say the Wasp Auth module would provide a simpler way of adding authentication to the web apps.
Martin Šošić
@anshgoyalevil thank you! I used Auth0 in the past and still like them! We are trying to go for a more minimal solution that is part of your codebase, part of the framework. In the future we might also look into having an integration with Auth0, that could be interesting.
Debajoti Chakraborty
In case of developing some fullstack project I always use Passport.js for auth related purposes then migrated to NextAuth, Now I will be definitely going to try Wasp Auth in my next project.
Martin Šošić
@dc_man It is similar! Wasp is kind of similar to NextAuth, but is tightly integrated with Wasp, and truly full stack. Right now we use Passport.js in the background. We might look into Lucia Auth in the future also.
Yuki Ogino
Cool! Congratulations on the launch🎉
Vince Canger
@oginokairan Really appreciate it 🙏
Jake Page
Man! Wasp is back at it again, such a cool feature here! Can't wait to try it out
Vince Canger
@jakepage Thanks! Let us know what you think :)