1
votes

Using firebase, When I authenticate using Microsoft account I am not getting user photoURL in the firebase providerData object. Is there some steps missing? The account I am testing with is my own and does have profile picture. I followed these instructions: https://firebase.google.com/docs/auth/web/microsoft-oauth

enter image description here

1

1 Answers

1
votes

According to Firebase docs:

Unlike other providers supported by Firebase Auth, Microsoft does not provide a photo URL and instead, the binary data for a profile photo has to be requested via Microsoft Graph API.