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

Client secret exposed in exception during authorization #109

Open
cheuer opened this issue Nov 22, 2024 · 0 comments
Open

Client secret exposed in exception during authorization #109

cheuer opened this issue Nov 22, 2024 · 0 comments

Comments

@cheuer
Copy link

cheuer commented Nov 22, 2024

When calling get_authorization_from_code, if an exception occurs then the entire request body is printed in the exception, which includes the client_secret.

The exception class mentions leaving out the Authorization header for security reasons, perhaps you should consider checking the body as well.

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