Skip to content

Commit

Permalink
Mnr changes.
Browse files Browse the repository at this point in the history
  • Loading branch information
adeinega committed Jul 7, 2024
1 parent 3ff4a57 commit c8085eb
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions draft-saxe-wimse-token-exchange-and-translation-protocol.md
Original file line number Diff line number Diff line change
Expand Up @@ -126,8 +126,9 @@ TODO - this draft does not define normative specs for translating from arbitrary

# Security Considerations

An AS performing token exchange SHOULD ensure it is the intended audience of a token being exchanged, and a client (whether it is an OAuth client or a workload) performing an exchange is allowed to perform such operation.
A value in the subject_token_type parameter MUST correspond to an actual token type provided in the subject_token parameter.
An AS performing token exchange MUST ensure a client (whether it is an OAuth client or a workload) performing an exchange and a provied token is allowed to perform such operation on it.
An AS SHOULD ensure it is also the intended audience of a token being exchanged.
A value in the subject_token_type parameter MUST correspond to an actual token type provided in the subject_token parameter ({{RFC8693}}).
These are simple countermeasures against replay attacks and various forms of misuse, especially in cases when an AS who issued a token and an AS performing exchanges reside in different security domains.
Typically, self-contained tokens include the aud claim (an array of strings) representing their audience (other types of tokens provide other means for the same).
An extra care SHOULD be taken for tokens that can be passed through the front channel, and tokens that do not explicitly define their type.
Expand Down

0 comments on commit c8085eb

Please sign in to comment.