How to handle “auth/popup-closed-by-user” + COOP firebase errors?
recently I’ve been trying to familiarize myself with Firebase authentication, and I made a simple React app that allows for a Google sign in and sign out (displaying the account name in the console upon successful sign in.) Everything works fine, but if I close out of the Google sign in popup at any time, I get this error in the console: “FirebaseError: Firebase: Error (auth/popup-closed-by-user)”. The error is self explanatory, but I’m new to web dev and wondering how I would actually handle this “error” in my code? I honestly would’ve figured closing out of the popup would do absolutely nothing. I have a try/catch to console log the error but how on earth am I supposed to handle this to prevent the console from filling up with error messages? It seems like closing out of a sign in popup is a pretty common thing for a user to do..