requests / requests-oauthlib

OAuthlib support for Python-Requests!
https://requests-oauthlib.readthedocs.org/
ISC License
1.71k stars 422 forks source link

Consider adding new hooks - request_access_token and request_refresh_token #420

Closed viperfx closed 6 months ago

viperfx commented 4 years ago

These hooks are implemented right before the request is sent for the fetch token and similar for the refresh token request too.

These hooks are required for me to apply a compliance fix for Azure Devops

https://docs.microsoft.com/en-us/azure/devops/integrate/get-started/authentication/oauth?view=azure-devops

jtroussard commented 2 years ago

Please feel free to raise a PR with these changes and unit tests.

violuke commented 1 year ago

This should be possible now, see #433