v1.2.0
版本发布时间: 2021-11-02 15:46:01
requests/requests-oauthlib最新发布版本:v2.0.0(2024-03-23 05:13:27)
- This project now depends on OAuthlib 3.0.0 and above. It does not support versions of OAuthlib before 3.0.0.
- Updated oauth2 tests to use 'sess' for an OAuth2Session instance instead of
auth
because OAuth2Session objects and methods acceept anauth
paramether which is typically an instance ofrequests.auth.HTTPBasicAuth
-
OAuth2Session.fetch_token
previously tried to guess how and where to provide "client" and "user" credentials incorrectly. This was incompatible with some OAuth servers and incompatible with breaking changes in oauthlib that seek to correctly provide theclient_id
. The older implementation also did not raise the correct exceptions when username and password are not present on Legacy clients. - Avoid automatic netrc authentication for OAuth2Session.