Generate a JWT token for a given session with optional custom claims using handlebars templates. The token includes standard claims (iss, sub, iat, exp, session_id) plus organization and workspace permissions if applicable. Custom claims can be added using JWT templates with handlebars syntax that has access to user, session, organization, and workspace data.
JWT Bearer token authentication using the Authorization header
The deployment ID
Successfully generated JWT token
The response is of type object
.