Firebase is great.
Check out SuperTokens.io too. We provide open source authentication as an alternative to SaaS provides such as Auth0 and Keycloak. Its free, writes to your own database (so you own your own data) and is built to be dead simple to setup.
Disclaimer: Cofounder of SuperTokens.io here. Would love to hear what you think