JWT Token
About JWT
- • Structure: Header.Payload.Signature
- • Encoding: Base64Url encoded JSON
- • Header: Contains algorithm and token type
- • Payload: Contains claims (user data)
- • Signature: Ensures token integrity
- • Security: Never share tokens publicly
Standard Claims
- • iss: Issuer of the token
- • sub: Subject (user ID)
- • aud: Intended audience
- • exp: Expiration time
- • nbf: Not valid before
- • iat: Issued at time
- • jti: Unique token ID