# POST /v1/client/dpop-token

> T3 Code · channel `stable` · v0.1.14 @ [`c0eed7328db2`](https://github.com/pingdotgg/t3code/tree/c0eed7328db2609e5a535be704e90638aef1c111) · 2026-12-05 · generated by Everdoc from source (no LLM).

7 steps across 2 workspaces

- Trigger: http-route `POST /v1/client/dpop-token` ([`POST /v1/client/dpop-token`](../reference/http/v1-client.md#http-route-post-v1-client-dpop-token))
- Completeness: partial (at least one hop is dynamic and could not be resolved statically)

## Steps

1. **HTTP client → POST /v1/client/dpop-token**: http-client → src/http via http ([`POST /v1/client/dpop-token`](../reference/http/v1-client.md#http-route-post-v1-client-dpop-token)) · async
   Source: [packages/contracts/src/relay.ts:1158](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/packages/contracts/src/relay.ts#L1158)
2. **calls normalizeRelayIssuer**: src/http → src via calls
   Source: [infra/relay/src/http/Api.ts:1048](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/infra/relay/src/http/Api.ts#L1048)
3. **calls resolveDpopAccessTokenScopes**: src/http → src/auth via calls
   Source: [infra/relay/src/http/Api.ts:1049](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/infra/relay/src/http/Api.ts#L1049)
4. **calls parseAllowedOAuthScope**: src/auth → src via calls
   Source: [infra/relay/src/auth/RelayTokens.ts:71](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/infra/relay/src/auth/RelayTokens.ts#L71)
   Folded: [infra/relay/src/http/Api.ts:1687](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/infra/relay/src/http/Api.ts#L1687-L1692), [infra/relay/src/http/Api.ts:1694](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/infra/relay/src/http/Api.ts#L1694-L1710), [packages/shared/src/oauthScope.ts:18](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/packages/shared/src/oauthScope.ts#L18-L29)
5. **calls RelayTokens**: src/http → src/auth via calls
   Source: [infra/relay/src/http/Api.ts:1075](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/infra/relay/src/http/Api.ts#L1075)
   Folded: [infra/relay/src/auth/CloudMintSigner.ts:64](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/infra/relay/src/auth/CloudMintSigner.ts#L64-L73)
6. **calls encodeOAuthScope**: src/auth → src via calls
   Source: [infra/relay/src/auth/RelayTokens.ts:170](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/infra/relay/src/auth/RelayTokens.ts#L170)
   Folded: [infra/relay/src/http/Api.ts:1543](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/infra/relay/src/http/Api.ts#L1543-L1549)
7. **calls encodeOAuthScope**: src/http → src via calls · unresolved
   Source: [infra/relay/src/http/Api.ts:1089](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/infra/relay/src/http/Api.ts#L1089)
