Segment decoding
For a three-part compact token, the text before the first dot is decoded from Base64url as protected header JSON, and the middle section becomes the claims JSON. The final section is displayed as signature material rather than interpreted as claims. Base64url uses the URL-safe characters "-" and "_" and commonly omits trailing "=" padding.