Issue when at custom policy sign in/sign up B2C with Facebook

Irina Andon 2 Reputation points


I follow the documentation sign in/sign up B2c with Facebook and I have this error

My claim provider looks like:


I have to mention that the error appears as follow: I complete my credentials, I press Connect, it asks me if I agree that company wants to access my Facebook account and after I press ok, the error appears

Could you please tell me from where the problem could be?

Thank you in advance,

A cloud computing platform and infrastructure for building, deploying and managing applications and services through a worldwide network of Microsoft-managed datacenters.
1,065 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
20,101 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. James Hamil 22,886 Reputation points Microsoft Employee

    Hi @Anonymous , can you try adding this to <Metadata />:

    <Item Key="AccessTokenResponseFormat">json</Item>  

    If this doesn't work please let me know. What document are you following for this? I can look into this further for you.


  2. Ivan Oliynyk 0 Reputation points

    I have added these two lines from other example and it works for me.

                <Item Key="scope">email public_profile</Item>
                <Item Key="ClaimsEndpoint">,first_name,last_name,name,email</Item>

    User's image

    0 comments No comments