AzureADB2C apple id authentication not working

Sreenivas Reddy 1 Reputation point
2022-04-20T18:12:11.603+00:00
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,710 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Siva-kumar-selvaraj 15,576 Reputation points
    2022-05-04T19:40:05.337+00:00

    Hello @Sreenivas Reddy ,

    Thanks for reaching out and apologies for the delayed response.

    I was unable to open the URL you mentioned. However, based on your query, I believe you are trying to add apple IDP to Azure AD B2C but get an 'invalid client' error while connecting.

    To better assist you in this scenario, I would recommend that you setup and collect Azure Active Directory B2C logs with Application Insights and share the detailed error message along with the correlation ID and timestamp. Also, if possible, could you please share the link that you are referring to again?

    I'd like to share some similar threads for your reference just to make sure we have everything set up correctly.

    Detailed guidance:
    https://github.com/azure-ad-b2c/samples/tree/master/policies/sign-in-with-apple
    https://learn.microsoft.com/azure/active-directory-b2c/identity-provider-apple-id?pivots=b2c-user-flow

    Troubleshooting guidance:
    https://fluffy.es/how-to-solve-invalid_client-error-in-sign-in-with-apple/
    https://learn.microsoft.com/en-us/answers/questions/288097/azure-ad-b2c-apple-sign-in-not-working-with-azure.html
    https://learn.microsoft.com/en-us/answers/questions/744674/index.html

    Hope this helps.

    -----
    Please "Accept the answer" if the information helped you. This will help us and others in the community as well.

    0 comments No comments

  2. Thushara Manchanayake 1 Reputation point
    2022-05-12T14:21:02.66+00:00

    Hi,

    I am also getting same error, but we are using User Flow policies and not custom polices. Authentication with apple id was working fine. After one year or so, we have started getting this error. This is the error thrown by Angular MSAL package.

    ServerError: AADB2C90289: We encountered an 'invalid_client' error connecting to the identity provider. Please try again later. Correlation ID: f9ffe568-0e1d-4255-b7d0-621ecfb8f0dc Timestamp: 2022-05-12 14:14:53Z at ServerError.AuthError [as constructor] (http://localhost:4200/vendor.js:45500:28) at new ServerError (http://localhost:4200/vendor.js:37830:28) at MsalService.push.ZES5.UserAgentApplication.saveTokenFromHash (http://localhost:4200/vendor.js:51445:25) at MsalService.push.ZES5.UserAgentApplication.processCallBack (http://localhost:4200/vendor.js:50920:29) at MsalService.push.ZES5.UserAgentApplication.handleRedirectAuthenticationResponse (http://localhost:4200/vendor.js:51030:14) at new UserAgentApplication (http://localhost:4200/vendor.js:50029:22) at new MsalService (http://localhost:4200/vendor.js:33743:9) at Object.MsalService_Factory [as factory] (http://localhost:4200/vendor.js:33893:61) at R3Injector.hydrate (http://localhost:4200/vendor.js:67966:35) at R3Injector.get (http://localhost:4200/vendor.js:67788:33)

    Do you any idea why we have started getting this error?

    Thanks in advance...

    0 comments No comments