I couldn’t find an existing solution for password protecting a react website. I’m not referring to writing database rules, and protecting routes. I know few of those alternate solutions already. Also it’s not something like on a landing page too. But my problem is a password protection, which is prompted as soon as one tries to log-in to a website. It can be coming from a cloud just as an example.
It’s currently hosted in Firebase. I believe there should be something in GCloud if it’s hosted there, or any other cloud. I’ve already implemented it using the Authentication and Authorization in Firebase database. But it’s not protecting the entire site, and just the routes are protected. Also it’s slow.