AADB2C90289: We encountered an 'invalid_client' error connecting to the identity provider.

Javid Gahramanov 11 Reputation points
2022-02-21T17:48:27.673+00:00

Hi all,

I configured AAD B2C SignIn and SignUp with custom policies to use Microsoft IDP.

But I get "AADB2C90289: We encountered an 'invalid_client' error connecting to the identity provider." error right after authentication. There is no issue with authentication against Microsoft. I get this message right after giving application consents.

Configured App Insights telemetry in SignInSignUp policy . But didn't find more information about the error.

Microsoft Security | Microsoft Entra | Microsoft Entra External ID
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Javid Gahramanov 11 Reputation points
    2022-02-21T18:51:55.617+00:00

    Finally found. Application's secret key should be specified in Policy keys as well.

    1 person found this answer helpful.

  2. Luis Schweigard 1 Reputation point
    2022-12-07T17:31:32.327+00:00

    @Javid Gahramanov Could you elaborate on your solution? I cant seem to fix it.

    0 comments No comments

Your answer

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