jazzband / django-oauth-toolkit

OAuth2 goodies for the Djangonauts!

Home Page:https://django-oauth-toolkit.readthedocs.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Sensitive data like access token is logged in logs.

ygag-basil opened this issue · comments

It will be good if the logging is configurable. ie we can enable or disable logging such details via a flag in settings.py

Issuing token {'access_token': 'awRlgppKr55NWczY*****ocEg90', 'expires_in': 1800, 'token_type': 'Bearer', 'scope': 'read write', 'refresh_token': 'WOW077m*0kQWOm7cuatOW7aDNR'} to client id '85m3Y6uP5dG72ZyYGocXYU2xnsJelDAETteK' (<Application: Apple>)

@Invisi Thanks for your solution.