Skip to content

Commit

Permalink
Merge pull request #64 from oauth-wg/add-header
Browse files Browse the repository at this point in the history
Add header
  • Loading branch information
tulshi committed Jan 29, 2024
2 parents 732521a + 73b34be commit 9673380
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions draft-ietf-oauth-transaction-tokens.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,8 @@ contributor:

normative:
RFC2119: # Keywords
RFC2616: # HTTP
RFC4648: # Encoding
RFC8446: # TLS
RFC6749: #OAuth
RFC7519: #JWT
Expand Down Expand Up @@ -451,6 +453,12 @@ A Txn-Token Service MUST ensure that it authenticates any workloads requesting T

The requesting workload MUST have a pre-configured location for the Transaction Token Service. It SHOULD rely on mechanisms, such as {{Spiffe}}, to securely authenticate the Transaction Token Service before making a Txn-Token Request.

# Using Txn-Tokens
Txn-Tokens need to be communicated between workloads that depend upon them to authorize the request. Such workloads will often present HTTP {{RFC2616}} interfaces for being invoked by other workloads. This section specifies the HTTP header the invoking workload MUST use to communicate the Txn-Token to the invoked workload, when the invoked workload presents an HTTP interface. Note that the standard HTTP `Authorization` header MUST NOT be used because that may be used by the workloads to communicate channel authorization.

## Txn-Token HTTP Header
A workload that invokes another workload using HTTP and needs to present a Txn-Token to the invoked workload MUST use the HTTP Header `Txn-Token` to communicate the Txn-Token. The value of this header MUST be the JWT that represents the Txn-Token.

# Security Considerations {#Security}

## Txn-Token Lifetime
Expand Down

0 comments on commit 9673380

Please sign in to comment.