How to authenticate users - Creating my first project

Dag Andre Daltveit
6 replies
Hi, up to now in my career, I have primarily worked on internal software development. Therefore, I’ve never faced a dilemma about how to set up user authentication in applications. I have a passion for planning and communication, and I’m currently working on my first software project, which I hope to showcase on Product Hunt in the future. My dilemma now is: Should I implement login options with Google, LinkedIn, Facebook, Microsoft, etc., or have users become familiar with and trust using Magic Links instead? Perhaps a combination of both? What is common practice or trend? Regards Dag Andre

Replies

Adnan Salim
a combination of both would be lovely. offer social logins such as google and either one of apple or microsoft if you want. but, just google is more than enough. having a magic link login would be beneficial for the other users if they don’t have any of the social logins you configured. also, some people prefer to use emails rather than link everything to one single google account. best of luck with your project, dag andre!
Rahul Bhati
@adnanxsalim @dagandre i think u can use oAuth and clerk like lib fot auth. happy building
Share
Dag Andre Daltveit
@adnanxsalim Thanks for the tips, I think I'll go with Google in combination with a magic link and remove Firebase authentication with email and password. Once again, thanks for your response Adnan!
Share
Simon🍋
Use a solid auth library like Passport.js or Firebase Auth. Don't reinvent the wheel, security's no joke.
Share
Benjamin Thomas Clark
Definitely offer social logins first - Google at minimum and Apple/Microsoft if you can. Magic links are great as an email alternative for folks who prefer that. I'd start with those and see how it goes before adding anything more complex. The simpler the better when you're just starting out. Wishing you all the best with the project!
Share