No signature check
A decoded token is not a verified token. Validate iss, aud, exp and the signature on your server with a trusted library.
Bot-related JWT uses
- Discord interactions: the public-key signature is Ed25519 over the timestamp+body, not a JWT.
- Slack and many OAuth providers issue JWTs as ID tokens. Read claims only after signature verification.
- Never log raw JWTs; they often embed emails or session ids.