OneKitTools logoOneKitTools
Torna a Sicurezza

Costruttore JWT

Crea e firma token JWT personalizzati

Informazioni su Costruttore JWT

Crea custom JSON Web Tokens with a visual payload editor, HMAC signing, and expiration helper — perfect for API testing and development.

Come usare Costruttore JWT

  1. 1Seleziona the signing algorithm (HS256, HS384, or HS512) in the header section.
  2. 2Inserisci your secret key — this is used to sign the token.
  3. 3Aggiungi payload claims using the claim editor: standard claims (sub, iss, aud) or custom ones.
  4. 4Usa the expiration helper to set the 'exp' claim with a human-readable duration (1h, 24h, 7d, etc.).
  5. 5Clicca 'Generate JWT' to create the signed token. Copy it for use in your API requests.

Consigli

  • Non usare mai segreti deboli in produzione — usa una stringa casuale di almeno 256 bit (32 byte).
  • Always set an expiration (exp) claim — tokens senza expiration are a security risk.
  • Usa the decoded payload preview to verify your claims before using the token in your application.

Strumenti correlati

Team OneKitToolsAggiornato 2.21.4