ToolypetMCP
beginner2 minutesdev

JWT Token Debug Pipeline

Decode JWTs, check timestamps, and verify Base64 payloads for authentication debugging.

jwtdebugtimestampauthentication

이 레시피 활용 시점

Debug authentication issues by inspecting JWT tokens. Common problems include expired tokens, wrong audience claims, and mismatched algorithms.

단계

1

Inspect the token structure

프롬프트:Decode this JWT token and show the header, payload, and signature
2

Check token expiration timing

프롬프트:Convert the JWT 'exp' and 'iat' timestamps to human-readable dates
3

Manually verify the payload encoding

프롬프트:Decode the JWT payload section (base64url) to see the raw JSON

자주 묻는 질문

Is it safe to decode JWTs in the browser?

The header and payload are Base64-encoded (not encrypted), so they're always readable. The signature prevents tampering but doesn't hide content. Never put secrets in JWT payloads.

How do I debug 'token expired' errors?

Decode the token and check the 'exp' claim against the current time. Common causes: clock skew between servers, token not refreshed, or timezone issues.

관련 레시피