You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
The key has expired.
Changed
OAuth2ClientCredentials username parameter is now client_id
OAuth2ClientCredentials password parameter is now client_secret
requests_auth.InvalidGrantRequest is now raised instead of requests.HTTPError in case a grant request was invalid.
requests_auth.InvalidGrantRequest is now raised instead of requests_auth.GrantNotProvided in case a browser grant request was invalid.
There is no info logging anymore. If you want to have those information (browser opening on a specific URL, requests received by the OAUth2 server), you will have to put requests_auth logger to DEBUG.
Removed
Support for Python < 3.6
requests_auth.OAuth2Flow enum, use the proper auth class instead.
requests_auth.okta function, use the proper auth class instead.
requests_auth.aad function, use the proper auth class instead.
requests_auth.oauth2 function, use the proper auth class instead.
str representation of auth classes.
Fixed
timeout parameter can now be a floating point value. (was only integer previously)