简体   繁体   中英

Getting http 403 error while accessing photoURL of a firebase User

I am successfully authenticating an user with firebase authentication from an angular project which is hosted in google app engine. But when i am trying to display the photourl mapped with the user object, i am getting the http 403 error code.

Do i need additional permission in the app level to access the photourl?

Example photo url: https://scontent.xx.fbcdn.net/v/t1.0-1/s100x100/10354686_10150004552801856_220367501106153455_n.jpg?oh=69aa0ab876bc8904fb59749a5e70382a&oe=598D6773

It got solved in a strange way. From firebase console when i deleted the user and logged back in the photo url started working fine.

将referrerpolicy=“no-referrer”添加到img标签,它对我有用

this is the work around by adding no-referrer in referrerpolicy [:[enter image description here][1]][1] [1]: https.//i.stack.imgur.com/HC5Y4.png

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM