Skip to content

Commit 6f0b859

Browse files
authored
Update draft-ietf-oauth-transaction-tokens.md
1 parent be844d3 commit 6f0b859

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

draft-ietf-oauth-transaction-tokens.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -562,7 +562,7 @@ A requester MAY use a self-signed JWT as a `subject_token` value. In that case,
562562
* `sub`: The subject for whom the Txn-Token is being requested. The Txn-Token Service SHALL use this value in determining the `sub` value in the Txn-Token issued in the response to this request.
563563
* `aud`: The unique identifier of the Txn-Token Service. The Txn-Token Service SHALL verify that this value matches its own unique identifier.
564564
* `iat`: The time at which the self-signed JWT was created. Note that the Txn-Token Service may reject self-signed tokens with an `iat` value that is unreasonably far in the past or future.
565-
* `exp`: The expiration time for the JWT. {{#Lifetime}} provides guidance on setting the expiry of a Txn-Token.
565+
* `exp`: The expiration time for the JWT. {{lifetime}} provides guidance on setting the expiry of a Txn-Token.
566566

567567
The self-signed JWT MAY contain other claims.
568568

@@ -654,7 +654,7 @@ A workload that invokes another workload using HTTP and needs to present a Txn-T
654654

655655
# Security Considerations {#Security}
656656

657-
## Txn-Token Lifetime {#Lifetime}
657+
## Txn-Token Lifetime {#lifetime}
658658
A Txn-Token is not resistant to replay attacks. A long-lived Txn-Token therefore represents a risk if it is stored in a file, discovered by an attacker, and then replayed. For this reason, a Txn-Token lifetime must be kept short, not exceeding the lifetime of a call-chain. Even for long-running "batch" jobs, a longer-lived access token should be used to initiate the request to the batch endpoint. It then obtains short-lived Txn-Tokens that may be used to authorize the call to downstream services in the call-chain.
659659

660660
Because Txn-Tokens are short-lived, the Txn-Token response from the Txn-Token service does not contain the `refresh_token` field. A Txn-Token cannot be issued by presenting a `refresh_token`.

0 commit comments

Comments
 (0)