HaithemMosbahi/ngx-avatar

403 when fetching avatar from Google (googleusercontent.com)

alexciesielski opened this issue · 0 comments

Hey,

sporadically I am getting 403 errors when fetching avatars from Google.

The solution is to add a referrerpolicy to the img tag.

https://stackoverflow.com/questions/40570117/http403-forbidden-error-when-trying-to-load-img-src-with-google-profile-pic/61042200#61042200

https://community.auth0.com/t/google-account-picture-request-forbidden/42031/15

Any possibility to give us the ability to configure this? Or just always add the above referrerpolicy whenever we request a Google image?

Thanks!