Deba
Deba

Reputation: 181

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

Upvotes: 10

Views: 3960

Answers (3)

Iran Canul
Iran Canul

Reputation: 280

add referrerpolicy="no-referrer" to the img tag, it worked for me

Upvotes: 27

sounish nath
sounish nath

Reputation: 681

This is the work around by adding no-referrer in referrerpolicy

adding no-referrer in referrerpolicy

Upvotes: 3

Deba
Deba

Reputation: 181

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.

Upvotes: 2

Related Questions