Construtor JWT
Criar JSON Web Tokens personalizados com editor de payload, assinatura HMAC e ajuda de expiração
Sobre Construtor JWT
Create personalizado JSON Web Tokens com a visual payload editor, HMAC signing, and expiration helper — perfect for API testing and development.
Como usar Construtor JWT
- 1Select the signing algorithm (HS256, HS384, or HS512) in the cabeçalho section.
- 2Insira seu secret key — this is used to sign the token.
- 3Add payload claims using the claim editor: standard claims (sub, iss, aud) or personalizado ones.
- 4Use the expiration helper to set the 'exp' claim com a human-readable duration (1h, 24h, 7d, etc.).
- 5Clique em 'Gerar JWT' para criar o token assinado. Copie-o para usar em suas requisições de API.
Dicas
- Never use weak secrets in production — use a random string of pelo menos 256 bits (32 bytes).
- Always set an expiration (exp) claim — tokens sem expiration are a security risk.
- Use the decoded payload pré-visualização para verificar your claims antes using the token in your application.
Ferramentas relacionadas
Equipe OneKitToolsAtualizado 2.21.4