ver — Token Version
Location: payload · Vendor: Microsoft Entra
Indicates whether this is a v1.0- or v2.0-format Entra ID token ("1.0" or "2.0"); the two versions differ in claim shapes (e.g. appid vs azp, unique_name vs preferred_username). Always branch parsing logic on this before assuming a particular claim will be present.
Defined in Microsoft identity platform token reference.
Decode a JWT and inspect its ver claim in the TokenPrism debugger — free, entirely in your browser.