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

Irina Andon 2 Reputation points
2021-09-03T20:00:17.957+00:00

Hello,

I follow the documentation sign in/sign up B2c with Facebook and I have this error
129187-image.png

My claim provider looks like:

129186-image.png

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,
Irina

Azure
Azure
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
    2021-09-03T21:05:03.75+00:00

    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.

    Best,
    James


  2. Ivan Oliynyk 0 Reputation points
    2023-02-22T10:57:14.8533333+00:00

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

                <Item Key="scope">email public_profile</Item>
                <Item Key="ClaimsEndpoint">https://graph.facebook.com/me?fields=id,first_name,last_name,name,email</Item>
    

    User's image

    0 comments No comments