🎫 JWT Dekódoló

JSON Web Tokenek (JWT) dekódolása a fejléc (header), törzs (payload) és aláírás (signature) vizsgálatához.

Mi is az a JSON Web Token (JWT)?

A JWT egy biztonságos, URL-barát formátum információk (claim) továbbítására két rendszer között.

JWT felépítése

  • Fejléc: Titkosítási szabályzat. Contains the signing algorithm (e.g., HS256, RS256) and token type.
  • Törzs: Felhasználói értékek. Contains claims — statements about the user and additional metadata.
  • Aláírás: Biztonsági pecsét. Verifies the token hasn't been tampered with. Created using the header, payload, and a secret key.

Gyakori Kérdések

Veszélyes ide beilleszteni a tokenemet?

Nem! A munkaidő alatt az oldal JavaScript-alapú, ami azt jelenti, hogy sosem küldjük tovább a szerverre az adataidat.

Mit jelent a token lejárata?

A 'exp' (expiration) érték jelöli az időpontot, amikor a token lejár. Egy biztonságos szerver a lejárat után megtagadja a belépést.

Decodes JSON Web Tokens showing header, payload, and signature without requiring the secret key, for debugging auth flows.

Key Facts

  • Standardized in RFC 7519 (2015)
  • 80%+ of modern APIs use JWT
  • Three parts separated by dots (.)
  • Common algorithms: HS256, RS256

Frequently Asked Questions

What is a JWT?

Compact, URL-safe token with header (algorithm), payload (claims), and signature for API authentication.

Is decoding JWT safe?

Yes — payload is base64-encoded, not encrypted. Security is in signature verification, not content hiding.

What are JWT claims?

Statements about user: iss (issuer), sub (subject), exp (expiration), iat (issued at), aud (audience).

How long should JWT last?

Access tokens: 15-30 min. Refresh tokens: 7-30 days. Short-lived limits damage if compromised.