Skip to content

Commit

Permalink
Merge pull request oauth-wg#125 from oauth-wg/clarify-logging
Browse files Browse the repository at this point in the history
clarified logging recommendation
  • Loading branch information
gffletch authored Sep 27, 2024
2 parents 45e30da + 59a0cbd commit d238f18
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion draft-ietf-oauth-transaction-tokens.md
Original file line number Diff line number Diff line change
Expand Up @@ -636,7 +636,7 @@ and if so their values need to be obfuscated. For example, originating IP addres
protected through some obfuscation method (e.g. salted SHA256).

## Logging
Txn-Tokens SHOULD NOT be logged if they contain Personally Identifiable Information (PII). What constitutes PII depends upon the use case, but in some cases even an email address (which could be a `sub` value) can be protected PII, which should not be logged.
Complete Txn-Tokens must not be logged verbatim. This is in order to prevent replay of tokens or leakage of PII or other sensitive information via log files. A hash of the Txn-Token may be logged to allow for correlation with the log files of the Txn-Token Service that records issued tokens. Alternatively the JWS payload of a Txn-Token may be logged after the signature has been removed. If the Txn-Token contains PII, then care should be taken in logging the content of the Txn-Token so that the PII does not get logged.

# IANA Considerations {#IANA}

Expand Down

0 comments on commit d238f18

Please sign in to comment.