Is id_token_hint supported in AzureB2C for authentication

Matthew Lourie 25 Reputation points
2025-06-03T21:36:11.13+00:00

Is the use of an id_token_hint supported in Microsoft Entra ID and if it can be used as a way to integrate an external authenticator.

https://learn.microsoft.com/en-us/azure/active-directory-b2c/id-token-hint

Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
25,055 questions
{count} votes

Accepted answer
  1. SrideviM 5,620 Reputation points Microsoft External Staff Moderator
    2025-06-10T06:21:44.8933333+00:00

    Hello Matthew Lourie,

    Yes, the use of id_token_hint for external authentication of existing accounts is supported in Azure AD B2C with custom policies.

    While the documentation mostly focuses on sign-up via invitation, the same approach works for signing in existing users. The id_token_hint provided by your external authenticator can be validated by B2C. Claims such as email or user ID can then be extracted from the token to identify the user in the directory.

    Once the user is found, B2C will proceed with the sign-in process without requiring any further credentials.

    This setup allows you to authenticate users seamlessly using tokens from an external system.

    Hope this helps!


    If this answers your query, do click Accept Answer and Yes for was this answer helpful, which may help members with similar questions.

    User's image

    If you have any other questions or are still experiencing issues, feel free to ask in the "comments" section, and I'd be happy to help.

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

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.