Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mask OAuth credentials #82

Open
JCotton1123 opened this issue May 1, 2020 · 0 comments
Open

Mask OAuth credentials #82

JCotton1123 opened this issue May 1, 2020 · 0 comments

Comments

@JCotton1123
Copy link

OAuth credentials are logged by default, example:

[2020-05-01T03:37:16.155Z] INFO Attempting login via OAuth2
[2020-05-01T03:37:16.171Z] INFO Making POST request to https://login.salesforce.com/services/oauth2/token with body {'grant_type': 'refresh_token', 'client_id': '...', 'client_secret': '...', 'refresh_token': '...'}
[2020-05-01T03:37:16.185Z] INFO OAuth2 login successful

Would you accept a PR to address this? Possibly by adding a parameter to, https://github.com/singer-io/tap-salesforce/blob/master/tap_salesforce/salesforce/__init__.py#L272, to mask the body, and updating, https://github.com/singer-io/tap-salesforce/blob/master/tap_salesforce/salesforce/__init__.py#L306, appropriately?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant