alexandrtovmach / react-microsoft-login

Microsoft services authorization with React.
https://alexandrtovmach.github.io/react-microsoft-login
MIT License
80 stars 38 forks source link

Is there a way to get the profile picture from the data returned? #42

Closed muyiwaoyeniyi closed 4 years ago

muyiwaoyeniyi commented 4 years ago

Hi there,

Great work with this package. Please is there a way to get the user's profile picture? It seems to be accessible with the User.Read permission.

Thanks.

alexandrtovmach commented 4 years ago

@muyiwaoyeniyi Yes, User.Read are allowing you to get profile picture, but I'm not sure that's should be done by this package. Just make an additional request in your code by using token that you get from react-microsoft-login

muyiwaoyeniyi commented 4 years ago

Ok thanks. And thanks for this package. Taiwo

Sent from Yahoo Mail on Android

On Fri, Mar 6, 2020 at 11:23 AM, Alexandr Tovmachnotifications@github.com wrote:
Closed #42.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.