Django already does a pretty nice job of protecting certain hidden values in DEBUG mode. This changes adds a few more values to sanitized based on common terminology of the OAuth protocol.
Common OAuth terms into debug hidden values
This feels like too wide a change considering those terms only appear in OAuth1, not OAuth2, so I'm going to close it. If you'd like to discuss it further, please open a ticket.