Facebook integration in Ionic fail with "embedded browser"

Lautaro Alvarez 41 Reputation points
2021-10-07T17:24:51.623+00:00

Hi,

I have an app in Ionic and azure b2c configured. Yesterday we notice that when we press on "Facebook" we can't login and there is a message in screen:

138634-microsoftteams-image.png

This is the flow:

This is de current flow (with facebook error):

  • we open login page in webview
  • we press on Facebook
  • Facebook show us login inputs and one second later it shows the error (attached image)

What can we do? Can we change a configuration to resolve the problem? Can we change the integration flow to make it work?

Thanks

Microsoft Entra External ID
Microsoft Entra External ID
A modern identity solution for securing access to customer, citizen and partner-facing apps and services. It is the converged platform of Azure AD External Identities B2B and B2C. Replaces Azure Active Directory External Identities.
2,673 questions
0 comments No comments
{count} votes

Accepted answer
  1. Marilee Turscak-MSFT 34,546 Reputation points Microsoft Employee
    2021-10-07T19:28:31.477+00:00

    Is this on Android? Facebook deprecated login on Android embedded browsers, so that might be related to your problem. Here is a post from Facebook about this: https://developers.facebook.com/blog/post/2021/06/28/deprecating-support-fb-login-authentication-android-embedded-browsers/

    Some things to try:

    Use a different browser:
    Try installing another browser such as Chrome, Brave, or Firefox. Then log in again with your Facebook credentials.

    Add a new test user and see if you have the same problem.

    I would recommend reaching out to Facebook support for this one as I don't think this is caused by Azure AD B2C. https://developers.facebook.com/community/

    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Lautaro Alvarez 41 Reputation points
    2021-10-08T18:21:09.227+00:00

    Thanks. I will try changing the webview to a browser tab.

    0 comments No comments