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 Security | Microsoft Entra | Microsoft Entra External ID
0 comments No comments

Answer accepted by question author
Marilee Turscak-MSFT 37,421 Reputation points Microsoft Employee Moderator
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/

Was this answer helpful?

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.

    Was this answer helpful?

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.