Skip to main content

Tokens

Access to a jEAP microservice is authorized with JSON Web Tokens (JWT) issued by an authorization server. This section describes the tokens themselves and how jEAP deals with them: the format and claims of the access, refresh and ID tokens used in the Blueprint Microservice and how they are validated, how a resource can transparently introspect an access token on the authorization server to check its validity or to fetch data that is kept out of the token, and how the size of access tokens is kept within the limits of the platforms they pass through.

Start with Tokens in the Blueprint Microservice, which defines the token format every other page builds on. Read the other two pages when a resource needs more than the token itself carries, or when access tokens grow too large.

Contents​

PageDescription
Tokens in the Blueprint MicroserviceJSON Web Tokens: access, refresh and ID tokens, their claims and their validation
Minimizing access token sizesDynamic scopes, lightweight access tokens, roles pruning and token compression
Token introspectionTransparent access token introspection in jEAP, caching of introspection results, and the configuration in jEAP and Keycloak