DevToolBox無料
ブログ

JWT バリデーター

JWTトークンの構造を検証し、有効期限を確認します。秘密鍵なしでヘッダー、ペイロード、アルゴリズムを検証。

JWT検証リファレンス

JWT検証チェックリスト

#CheckWhat to verifyRequires Key?
1StructureToken has exactly 3 dot-separated partsNo
2Header JSONFirst part decodes to valid JSONNo
3Payload JSONSecond part decodes to valid JSONNo
4AlgorithmHeader contains "alg" fieldNo
5Expirationexp claim vs current timeNo
6Not Beforenbf claim vs current timeNo
7Issueriss matches expected issuerNo
8Audienceaud matches your appNo
9SignatureCryptographic signature verificationYes

一般的なJWTエラー

ErrorCauseFix
jwt expiredexp claim is in the pastRefresh the token or extend expiry
jwt malformedToken does not have 3 partsCheck token format and encoding
invalid signatureSignature does not matchVerify the signing key matches
jwt not activenbf claim is in the futureWait until the token becomes active
invalid algorithmalg does not match expectedEnsure consistent algorithm configuration
invalid audienceaud does not match your appCheck audience claim configuration

検証 vs 署名検証

JWT検証は構造をチェックします。署名検証は鍵で署名を確認します。このツールは構造検証のみ行います。

よくある質問

秘密鍵なしでJWTを検証できますか?
構造は検証できます。署名検証には秘密鍵または公開鍵が必要です。
JWTが期限切れかどうかを確認するには?
ペイロードの"exp"クレームを確認します。このバリデーターは自動的にチェックします。
JWT検証と署名検証の違いは何ですか?
検証はフォーマットと構造をチェックします。署名検証は鍵で署名を暗号的に確認します。

関連JWTツール

𝕏 Twitterin LinkedIn

このツールを評価

4.4 / 5 · 89 件の評価

最新情報を受け取る

毎週の開発ヒントと新ツール情報。

スパムなし。いつでも解除可能。

Enjoy these free tools?

Buy Me a Coffee