JWT

Table of Contents

Overview

Validation Process

  1. Verify the signature
  2. Validate Claims
    1. Token expiration (exp) :: Normally, it's Unix timestamp.
    2. Token issuer (iss) :: the auth provider like Auth0, AWS Cognito etc.
    3. Token audience (aud) :: the resource server or its uri. Like https://resource-server.com/user

RS256 vs. HS256, jwks.json