Validateur JWT
Validez la structure des tokens JWT et verifiez l'expiration. Verifiez le header, le payload et l'algorithme sans la cle secrete.
Reference de validation JWT
Liste de verification JWT
| # | Check | What to verify | Requires Key? |
|---|---|---|---|
| 1 | Structure | Token has exactly 3 dot-separated parts | No |
| 2 | Header JSON | First part decodes to valid JSON | No |
| 3 | Payload JSON | Second part decodes to valid JSON | No |
| 4 | Algorithm | Header contains "alg" field | No |
| 5 | Expiration | exp claim vs current time | No |
| 6 | Not Before | nbf claim vs current time | No |
| 7 | Issuer | iss matches expected issuer | No |
| 8 | Audience | aud matches your app | No |
| 9 | Signature | Cryptographic signature verification | Yes |
Erreurs JWT courantes
| Error | Cause | Fix |
|---|---|---|
| jwt expired | exp claim is in the past | Refresh the token or extend expiry |
| jwt malformed | Token does not have 3 parts | Check token format and encoding |
| invalid signature | Signature does not match | Verify the signing key matches |
| jwt not active | nbf claim is in the future | Wait until the token becomes active |
| invalid algorithm | alg does not match expected | Ensure consistent algorithm configuration |
| invalid audience | aud does not match your app | Check audience claim configuration |
Validation vs Verification
La validation JWT verifie la structure. La verification JWT confirme la signature avec la cle. Cet outil effectue uniquement la validation.
Questions frequentes
Outils JWT connexes
Notez cet outil
4.4 / 5 · 89 avis
Recommended
CloudflareFree CDN & DDoS protectionRestez informé
Recevez des astuces dev et les nouveaux outils chaque semaine.
Pas de spam. Désabonnez-vous à tout moment.
Enjoy these free tools?
âBuy Me a Coffee