The jwt token created by my External entra id tenant keeps changing issuer format

Daniel Lerner 0 Reputation points
2025-02-23T13:21:25.4066667+00:00

When looking at the issuer in the https://<tenant>.ciamlogin.com/<tenant-id>/v2.0/.well-known/openid-configuration endpoint, it comes back as:

https://<tenant-id>.ciamlogin.com/<tenant-id>/v2.0

Sometimes, this is indeed the issuer that comes back in the jwt token and it works fine. However, periodically, it switches to:

https://login.microsoftonline.com/<tenant-id>/v2.0

This obviously makes it quite difficult to guard the api. Why does this keep changing and how do I configure entra so that this stays the same?

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.
3,046 questions
0 comments No comments
{count} votes

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.