Identity & Token Flow
The caller's own credential never leaves the gateway. For each downstream hop NeuralSeek mints a fresh, narrowly scoped delegated token bound to one audience and one scope, valid for 120 seconds.
Delegation chain
Inbound credential is terminated; a new scoped token is issued per downstream call
- sub: —
- act: —
- credential: inbound agent token
Presented to the gateway only. Never forwarded.
- iss: gateway.neuralseek.internal/sts
- policy: user ∩ agent ∩ tool ∩ policy
- mint: one token per downstream call
Exchange, not passthrough. Scope narrowed to the single tool contract.
- aud: mcp://…
- scope: —
- exp: 120s TTL
Validates issuer, audience, expiry and scope before executing.
iss must equal the gateway STS — foreign issuers rejected.
aud must equal the exact downstream MCP server URI.
exp within 120s of iat; clock skew tolerance 5s.
scope must be a subset of the tool contract and the effective permission.
Issued tokens
One per mediated downstream call
No tokens minted yet
Denied requests never receive one.
Token detail
select a call
No call selected