Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/vue.js/6.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Vue.js 403从Firestore Google登录显示用户头像时出错_Vue.js_Firebase Authentication_Vuetify.js_Google Signin - Fatal编程技术网

Vue.js 403从Firestore Google登录显示用户头像时出错

Vue.js 403从Firestore Google登录显示用户头像时出错,vue.js,firebase-authentication,vuetify.js,google-signin,Vue.js,Firebase Authentication,Vuetify.js,Google Signin,在我的Vue应用程序中,我使用Firestore身份验证并启用Google登录。用户登录后,我会收到一些基本信息,包括photoURL。然而,当我试图在组件中渲染它时,我得到一个403错误 Vuetify组件: 错误: GET https://lh3.googleusercontent.com/a-/xxxxxxxxxxxxx 403 我尝试了将属性添加到组件的解决方案,但没有成功。我认为您的解决方案有一点错误。 对于noreferrer策略,您必须尝试: rel="nor

在我的Vue应用程序中,我使用Firestore身份验证并启用Google登录。用户登录后,我会收到一些基本信息,包括
photoURL
。然而,当我试图在组件中渲染它时,我得到一个403错误

Vuetify组件:


错误:

GET https://lh3.googleusercontent.com/a-/xxxxxxxxxxxxx 403

我尝试了将属性添加到组件的解决方案,但没有成功。

我认为您的解决方案有一点错误。 对于noreferrer策略,您必须尝试:

   rel="noreferrer"
或:


您是否正在尝试对Firebase API执行特定的操作?
   referrerpolicy="origin"