Q25: What is the difference between Opaque Access Tokens and Self-Contained JWT Bearer Tokens?

Difficulty:MediumTopic:Token Management
  • Opaque Access Tokens: Cryptographically random reference strings (e.g., str_981231a...). They carry no embedded payload information. Resource Servers must execute an HTTP introspect call back to the Auth Server to validate the token on every request.
  • Self-Contained JWT Bearer Tokens: JSON Web Tokens containing identity and permission claims signed cryptographically. Resource Servers validate tokens locally using public keys without contacting the Authorization Server.
Key Takeaways
  • Opaque tokens require network introspection on every API call, offering central control and instant revocation.

  • JWTs validate locally using public keys, maximizing performance and microservice independence.