title: Google Login from flutterfire_ui works only in Beta channel release, not in production release
body: <p><strong>Clicking on &quot;Sign in with Google&quot; button has no effect.</strong></p>
  <p><strong>Technical details:-</strong></p>
  <ul>
  <li><p>Firebase hosting is used</p>
  </li>
  <li><p>flutterfire_ui package is used (v0.3.0)</p>
  </li>
  <li><p>Added the appropriate <strong>Authorised JavaScript origins</strong> and <strong>Authorised redirect URIs</strong> at Google Cloud Platform -&gt; APIs and Services -&gt; Credentials</p>
  </li>
  <li><p>Added the Google web app Client ID in my Flutter app</p>
  </li>
  <li><p>In my Firebase hosting, I have a custom domain as well. Default domain is: my-app.firebaseapp.com and my custom domain is: my-custom.domain.co</p>
  </li>
  <li><p>Everything works fine with Beta release (flutter build web and then firebase hosting:channel:deploy my-test-release)
  <strong>- Google login works fine at my default domain, but not at my custom domain.</strong></p>
  </li>
  <li><p>Added all the appropriate <strong>Authorised JavaScript origins</strong> and <strong>Authorised redirect URIs</strong> at Google Cloud Platform -&gt; APIs and Services -&gt; Credentials for both the domains: default and custom domains.</p>
  </li>
  <li><p>Flutter: Flutter 2.8.1 • channel stable • <a href="https://github.com/flutter/flutter.git" rel="nofollow noreferrer">https://github.com/flutter/flutter.git</a>
  Framework • revision 77d935af4d (3 weeks ago) • 2021-12-16 08:37:33 -0800
  Engine • revision 890a5fca2e
  Tools • Dart 2.15.1</p>
  </li>
  <li><p>npm : 8.1.2</p>
  </li>
  <li><p>node: v16.13.1</p>
  </li>
  <li><p>MacOS: 12.1</p>
  </li>
  <li><p>Browsers: CHROME,SAFARI on desktop and mobile as well.</p>
  </li>
  <li><p>firebase: ^9.0.2 (in pubspec.yaml)</p>
  </li>
  <li><p>google_sign_in: ^5.2.1 (in pubspec.yaml)</p>
  </li>
  <li><p>firebase_auth: ^3.3.3 (in pubspec.yaml)</p>
  </li>
  <li><p>Implemented Auth screen as follows:</p>
  </li>
  </ul>
  <pre><code>Widget build(BuildContext context) =&gt; StreamBuilder&lt;User?&gt;(
  stream:  FirebaseAuth.instance.authStateChanges()
  builder: (context, snapshot) {
          if (!snapshot.hasData) {
           return SignInScreen(
             showAuthActionSwitch: false,
             actions: [
               AuthStateChangeAction&lt;SignedIn&gt;((context, _) {
                    // whenever auth state changes to SignedIn 
                    // Do some operations and then navigate to some screen
                     Navigator.of(context).pushNamedAndRemoveUntil(
                     Routes.createChart, (Route&lt;dynamic&gt; route) =&gt; false);
               }),
             ]
              providerConfigs: const [
               GoogleProviderConfiguration(
                 clientId:
                     'my-app-google-web-client-id.apps.googleusercontent.com',
               ),
             ],
           );
         } // end if
        
       return const MyHomePage(title: StringConstants.appTitle);
  ) 
  </code></pre>
  <p><strong>Observation</strong></p>
  <ul>
  <li>Clicking on &quot;Sign in with Google&quot; has no effect</li>
  </ul>
  <p><strong>Expected behaviour</strong></p>
  <ul>
  <li>Clicking on &quot;Sign in with Google&quot; button should open a popup or a new tab in the browser, and user should be able to login with one of his Google account credentials.</li>
  </ul>
  <p>Any help would be greatly appreciated. Thanks in advance.</p>