I'm working on a new project with Nuxt.JS and I'm wondering what's the best or easiest way to user authentication (login/register)? What are the options out there?
Definitely, the best solution is to not do it yourself. As there are many great tools out there, such as https://auth0.com that do all the heavy lifting for you. ๐
Firebase auth is the best. I have used it in both my SaaS websites Simple Ops and Visa List. For NuxtJS there is even a module of firebase which makes it pretty easy along with firebaseui library.
Firebase is state-of-the-art for Auth as a service. Some known alternatives are the following:
Personally, I built a simple Express server with Passport JS and I re-use it for my projects. It took me almost 1 week and I had very little backend dev experience. The main reason was to eliminate the external services / cost I use for my indie products!
However, I'd recommend Firebase to get your job done in no time!