I am encountering an issue with Google Sign-in in my FlutterFlow project. When I try to sign in using Google in Test Mode, I receive an error stating: "Error: This domain is not authorized for OAuth operations for your Firebase project. To fix this, you must edit the list of authorized domains from the Firebase console."
Google Sign-In Error: "This domain is not authorized"
I have performed extensive troubleshooting and have followed all recommended steps, but the problem persists. Here is a detailed list of what I have done:
Google Cloud Console Verification: I have gone to APIs & Services > Credentials and confirmed that my Web client ID is configured correctly. I have added https://app.flutterflow.io to both the Authorized JavaScript origins and Authorized redirect URIs fields. I have checked for any typos or extra spaces and waited for over 24 hours for the settings to take effect.
FlutterFlow Project Configuration: In my FlutterFlow project under Settings & Integrations > Firebase, I have clicked the Regenerate Config Files button to ensure a proper connection.
Firebase Authentication Settings: I have accessed the Firebase Console under Authentication > Sign-in method and confirmed that the Google provider is enabled. As a troubleshooting step, I also disabled and re-enabled it.
Browser and Test Mode Reset: I have completely cleared my browser's cache and cookies. Additionally, I have fully closed and relaunched FlutterFlow's Test Mode multiple times.
Despite all these efforts, the same error message continues to appear. I believe the issue may be a bug or an internal problem that requires further investigation.