我无法让Firebase Google登录与自定义域一起使用。 在 localhost 上运行应用程序时,此功能有效。 我已在 Authentication 和 Signing methods
下的 Authorized domains 上添加了自定义域。我在这里缺少什么,是否可能是我在Heroku中使用Express服务器部署了Angular应用程序? 感谢您的协助。
答案 0 :(得分:0)
我的错误是我在使用-aot --prod 标志进行构建时没有在 environment.prod.ts 中包含Firebase配置。生产版本。 ?♂️