PE
Protocol Explorer
OAuth 2.0

Transaction Tokens (Draft)

Demonstrating the IETF draft for Transaction Tokens (Txn-Tokens). Shows how a single, immutable token propagates user identity and authorization context securely down a multi-workload internal call chain.

Txn-Tokens Draft
External AppAPI GatewayTxn-Token ServiceService AService B1GET /orders2002POST /txn-token3GET /internal/orders4GET /internal/db/orders
GET https://api.example.com/orders200

An external client invokes the API Gateway using a standard OAuth 2.0 Access Token.

1 / 4
speed

Step 1: GET /orders

Request / response
GEThttps://api.example.com/orders
AuthorizationOAuth?

Bearer eyJ0eXAiOiJhdCtqd3QiLCJhbGciOiJIUzI1NiJ9...

External Access Tokenat+jwt
Header
{
"typ"?:"at+jwt",
"alg":"HS256"
}
Payload
{
"iss"?:"https://auth.example.com",
"sub"?:"user123",
"aud"?:"api_gateway",
"exp"?:1562266216,
"iat"?:1562262616
}
sig: mock_sig_ext