question

AnnaTrivino-3903 avatar image
1 Vote"
AnnaTrivino-3903 asked MarileeTurscak-MSFT published

Azure B2C - Facebook Signup asks for Profile picture instead of email (Custom Policy)

have a B2C custom policy that uses Facebook as an IDP. My policy asks FB for name, email etc. However, when a user signs up throug Facebook, FB displays that the name and profile picture is required. I have not specified profile picture in my policy. What am i missing?

Below is a screenshot of what I see on FB
Here

Below is the a snippet of my facebook configuration in my custom policy

     <ClaimsProvider>
       <DisplayName>Sign in with Facebook</DisplayName>
       <TechnicalProfiles>
         <TechnicalProfile Id="Facebook-OAUTH">
           <DisplayName>Sign in with Facebook</DisplayName>
           <Metadata>
             <Item Key="client_id">{Settings:FacebookAppId}</Item>
             <Item Key="scope">email public_profile</Item>
             <Item Key="ClaimsEndpoint">https://graph.facebook.com/me?fields=id,first_name,last_name,name,email</Item>
           </Metadata>
           <OutputClaims>
             <OutputClaim ClaimTypeReferenceId="email" PartnerClaimType="email" />
           </OutputClaims>
         </TechnicalProfile>
       </TechnicalProfiles>
     </ClaimsProvider>


azure-ad-b2c
7bkau.png (19.4 KiB)
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

0 Answers