Azure AD B2C Support Social IDP Profile Picture
Add support for a built-in attribute type for storing a profile picture URL. Azure AD B2C should then store the profile picture URL as a user attribute when signing in with a social provider. This attribute can then be selected as an application claim attribute so applications can have access to social provider profile pictures. The attribute should also update on any subsequent successful sign in attempts when there is an updated profile picture from the social provider.
Alternatively, just update AD B2C to set the user's social profile picture as the AD thumbnail photo when creating an account.
Although we do not directly support this feature, there is a new workaround available which is to use the IdP token (like Facebook’s token) to grab the profile photo. You can do this by calling Facebook directly from the app using the facebook token.
Azure AD B2C now allows the access tokens of OAuth 2.0 identity providers to be passed as a claim in the B2C token. Please try it out (see instructions below) and give us feedback at email@example.com.
User flows (built-in policies)
Erik Renaud commented
If B2C could fetch the image automatically as part of it`s integration with an identity provider, that would be neat and add a plus to using B2C
Gareth Heasman commented
Im also looking at this, would like to acces Photo from aadb2c, there should be a build in attribute type for all the fields from the user profile.
I did a login system with Facebook, and this information easily came. On B2C it is incredible the amount of work just to get the Facebook User ID / Profile
I would like to click some option like "Social Network Origin Profile ID", if facebook, will have the facebook id, if google, the google user id, if twitter, the twitter handle. Thank you.
Not only the profile Picture, but also the Profile ID / Facebook User ID
Danish Miyan commented
I am also looking for this feature.