Skip to content

Commit d238f18

Browse files
authored
Merge pull request #125 from oauth-wg/clarify-logging
clarified logging recommendation
2 parents 45e30da + 59a0cbd commit d238f18

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

draft-ietf-oauth-transaction-tokens.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -636,7 +636,7 @@ and if so their values need to be obfuscated. For example, originating IP addres
636636
protected through some obfuscation method (e.g. salted SHA256).
637637

638638
## Logging
639-
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.
639+
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.
640640

641641
# IANA Considerations {#IANA}
642642

0 commit comments

Comments
 (0)