Firebase 如何在谷歌登录上显示我们的自定义域?

Firebase 如何在谷歌登录上显示我们的自定义域?,firebase,google-cloud-firestore,Firebase,Google Cloud Firestore,我们有一个带有Firebase的web应用程序,我们已经连接了自定义域,可以通过www.example.com访问该网站 问题:当用户登录Gmail时,他会在Google的页面上看到: “登录project-60017.firebaseapp.com” 而不是 登录example.com 即使此应用程序已经连接并使用example.com 我们正在使用以下命令初始化应用程序: authDomain: "project-60017.firebaseapp.com",

我们有一个带有Firebase的web应用程序,我们已经连接了自定义域,可以通过
www.example.com
访问该网站

问题:当用户登录Gmail时,他会在Google的页面上看到:

“登录project-60017.firebaseapp.com”

而不是

登录example.com

即使此应用程序已经连接并使用example.com

我们正在使用以下命令初始化应用程序:

              authDomain: "project-60017.firebaseapp.com",
              databaseURL: "https://project-60017.firebaseio.com",
              projectId: "project-60017",
              storageBucket: "project-60017.appspot.com",
              messagingSenderId: "75892xxxxxx"
如果我尝试将这些URL更改为
example.com
将不再有效

如何让登录的用户查看
example.com
(我们自己的域)

编辑

如果在项目设置中更改此项:
authDomain:
,则在登录时将出现重定向错误:

The redirect uri in the request .../auth/handler does not match the ones autorized for the OAtuh

对于任何正在尝试的人,我只是在谷歌云控制台中更改了
授权重定向URI

我添加了以下记录:

https://example.com/__/auth/handler
添加时,不要单击“保存”,先单击“输入”,然后单击“保存”。(否则它将无法保存,这是我的问题)

然后在Firebase应用程序中-您必须设置:

authDomain: "example.com",

然后你会在登录时看到你的域名。

可能是重复的,但不是重复的,因为答案是关于facebook auth,而不是gmail。问题已编辑。Google Clous的url是: