I have to log in to view the page. Angular 9 Universal + Firebase

↘锁芯ラ 提交于 2020-04-30 07:03:46

问题


I'm using Angular 9 Universal + Firebase. When I use command npm run build:ssr I've got one extra file in my dist folder. The file is dist/server/vendors~firebase-auth.js. I don't know what does this file do and why I have it but every time when I open my application from incognito window I have to log in via Google or I can't see the page.

Versions:

  • "@angular/cdk": "^9.2.1"
  • "firebase": "^7.14.1"
  • "@angular/fire": "^6.0.0"

I use this answer to deploy my app. When I inter gmail and password I get this error.

来源:https://stackoverflow.com/questions/61307423/i-have-to-log-in-to-view-the-page-angular-9-universal-firebase

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!