JWT Example

Expired Token

JWT payload with an expiration timestamp in the past.

Token / Header Example

eyJhbGciOiJub25lIiwidHlwIjoiSldUIn0.eyJzdWIiOiIxMjMiLCJleHAiOjE2MDAwMDAwMDAsImlhdCI6MTU5OTk5OTAwMH0.

Notes

  • Expired tokens should return HTTP 401 in authenticated APIs.
  • Use refresh tokens or re-authentication to recover.

More JWT Examples