I am trying to write a google chrome extension that has Google Authentication. Upon opening the extension, the extension will check if the user is already logged into an account and retrieve some unique information from my backend to that user. If the user is not logged in, the extension will prompt the user to login or start an account using Google Authentication to use the extension. How do I do this?
I tried using Firebase Authentication, but there’s too much overhead to make signUpWithPopup
work (you need to have a website that’s already on the web to render the popup??). I don’t want to use the basic native email and password sign in–I don’t want my user to have to make and manage a whole account credentials for this extension.
I know there’s Google OAuth. But how does that work for Google Extensions?
Rachel Chen is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.