Skip to content

STARTcloud/authorization-jwt-verifier

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

Authorization-jwt-verifier (RS256)

Browser-Native Implementation:

  • Uses Web Crypto API
  • Uses TextEncoder/TextDecoder for string/buffer conversion
  • No external dependencies required

Full JWT Verification Features:

  • Fetches JWKS from the given endpoint.
  • Converts JWK to CryptoKey using Web Crypto API.
  • Verifies RS256 signatures.
  • Checks token expiration and timing claims.
  • Provides detailed feedback on all verification steps.

Comprehensive Results

  • Shows exactly why verification fails/succeeds.
  • Displays decoded payload.
  • Highlights timing issues (like expiration).
  • Shows key matching status.

You can paste in fresh tokens to test with current keys from the given JWKS endpoint. This implementation works in any modern browser.

About

A simple HTML / Javascript application to validate RS256 signed JWT tokens

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages