Share via

Do different user flows on Azure AD B2C use the same token signing keys?

Giacomo Bianco 20 Reputation points
2026-03-12T18:21:20.7366667+00:00

Do different standard user flows on Azure AD B2C (signin, signup, password reset, etc.) use the same token signing keys?

Despite the user flow name is part of the JWKS URI, it seems that it always points to the same key set across flows inside the same tenant.

I need to understand if this is a standard behavior or I got into a random occurrence. Unfortunately, I cannot find any official documentation about it.

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

Answer accepted by question author
  1. Q&A Assist
    2026-03-12T18:29:18.9166667+00:00
    AI generated content. This question contains an answer created with AI from Q&A Assist. Learn more

    Different standard user flows in an Azure AD B2C tenant (sign-in, sign-up, password reset, profile edit, etc.) expose separate OpenID Connect metadata endpoints and jwks_uri values that include the user flow name in the URL. For example, a sign-in flow b2c_1_sign_in has its own metadata document and corresponding jwks_uri:

    https://fabrikamb2c.b2clogin.com/fabrikamb2c.onmicrosoft.com/b2c_1_sign_in/v2.0/.well-known/openid-configuration
    ...
    https://fabrikamb2c.b2clogin.com/fabrikamb2c.onmicrosoft.com/b2c_1_sign_in/discovery/v2.0/keys
    

    These endpoints are per–user flow so that each flow has its own configuration document, but within a tenant they resolve to the same underlying signing key material for validating ID tokens. The user flow name is used for discovery and configuration (and is also present in the acr claim of the token), not to indicate a different signing key per flow.

    This behavior is consistent with the documented model: there is a JSON metadata document for each user flow, and applications determine which metadata (and thus which jwks_uri) to use based on the user flow that issued the token, but token validation is performed against the tenant’s signing keys, which are shared across flows.


    References:

    1 person found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful

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.