OAuth2ResourceOwnerPasswordCredentials.client attribute is now set to None in case it was not provided as parameter.
OAuth2ClientCredentials.client attribute is now set to None in case it was not provided as parameter.
OktaClientCredentials.client attribute is now set to None in case it was not provided as parameter.
OAuth2AuthorizationCode.client attribute is now set to None in case it was not provided as parameter.
OktaAuthorizationCode.client attribute is now set to None in case it was not provided as parameter.
OAuth2AuthorizationCodePKCE.client attribute is now set to None in case it was not provided as parameter.
OktaAuthorizationCodePKCE.client attribute is now set to None in case it was not provided as parameter.
httpx.Client provided as client parameter to OAuth2ResourceOwnerPasswordCredentials is not closed anymore. You are now responsible for closing it when no more requests are expected to be issued.
httpx.Client provided as client parameter to OAuth2ClientCredentials is not closed anymore. You are now responsible for closing it when no more requests are expected to be issued.
httpx.Client provided as client parameter to OktaClientCredentials is not closed anymore. You are now responsible for closing it when no more requests are expected to be issued.
httpx.Client provided as client parameter to OAuth2AuthorizationCode is not closed anymore. You are now responsible for closing it when no more requests are expected to be issued.
httpx.Client provided as client parameter to OktaAuthorizationCode is not closed anymore. You are now responsible for closing it when no more requests are expected to be issued.
httpx.Client provided as client parameter to OAuth2AuthorizationCodePKCE is not closed anymore. You are now responsible for closing it when no more requests are expected to be issued.
httpx.Client provided as client parameter to OktaAuthorizationCodePKCE is not closed anymore. You are now responsible for closing it when no more requests are expected to be issued.
Fixed
A new client is created (if not provided as client parameter) upon request of a new token for OAuth2ResourceOwnerPasswordCredentials flow. Re-using previously closed client was raising an issue upon token expiry.
A new client is created (if not provided as client parameter) upon request of a new token for OAuth2ClientCredentials flow. Re-using previously closed client was raising an issue upon token expiry.
A new client is created (if not provided as client parameter) upon request of a new token for OktaClientCredentials flow. Re-using previously closed client was raising an issue upon token expiry.
A new client is created (if not provided as client parameter) upon request of a new token for OAuth2AuthorizationCode flow. Re-using previously closed client was raising an issue upon token expiry.
A new client is created (if not provided as client parameter) upon request of a new token for OktaAuthorizationCode flow. Re-using previously closed client was raising an issue upon token expiry.
A new client is created (if not provided as client parameter) upon request of a new token for OAuth2AuthorizationCodePKCE flow. Re-using previously closed client was raising an issue upon token expiry.
A new client is created (if not provided as client parameter) upon request of a new token for OktaAuthorizationCodePKCE flow. Re-using previously closed client was raising an issue upon token expiry.
Changed
httpx
==0.20.*OAuth2ResourceOwnerPasswordCredentials.client
attribute is now set to None in case it was not provided as parameter.OAuth2ClientCredentials.client
attribute is now set to None in case it was not provided as parameter.OktaClientCredentials.client
attribute is now set to None in case it was not provided as parameter.OAuth2AuthorizationCode.client
attribute is now set to None in case it was not provided as parameter.OktaAuthorizationCode.client
attribute is now set to None in case it was not provided as parameter.OAuth2AuthorizationCodePKCE.client
attribute is now set to None in case it was not provided as parameter.OktaAuthorizationCodePKCE.client
attribute is now set to None in case it was not provided as parameter.httpx.Client
provided asclient
parameter toOAuth2ResourceOwnerPasswordCredentials
is not closed anymore. You are now responsible for closing it when no more requests are expected to be issued.httpx.Client
provided asclient
parameter toOAuth2ClientCredentials
is not closed anymore. You are now responsible for closing it when no more requests are expected to be issued.httpx.Client
provided asclient
parameter toOktaClientCredentials
is not closed anymore. You are now responsible for closing it when no more requests are expected to be issued.httpx.Client
provided asclient
parameter toOAuth2AuthorizationCode
is not closed anymore. You are now responsible for closing it when no more requests are expected to be issued.httpx.Client
provided asclient
parameter toOktaAuthorizationCode
is not closed anymore. You are now responsible for closing it when no more requests are expected to be issued.httpx.Client
provided asclient
parameter toOAuth2AuthorizationCodePKCE
is not closed anymore. You are now responsible for closing it when no more requests are expected to be issued.httpx.Client
provided asclient
parameter toOktaAuthorizationCodePKCE
is not closed anymore. You are now responsible for closing it when no more requests are expected to be issued.Fixed
client
parameter) upon request of a new token forOAuth2ResourceOwnerPasswordCredentials
flow. Re-using previously closed client was raising an issue upon token expiry.client
parameter) upon request of a new token forOAuth2ClientCredentials
flow. Re-using previously closed client was raising an issue upon token expiry.client
parameter) upon request of a new token forOktaClientCredentials
flow. Re-using previously closed client was raising an issue upon token expiry.client
parameter) upon request of a new token forOAuth2AuthorizationCode
flow. Re-using previously closed client was raising an issue upon token expiry.client
parameter) upon request of a new token forOktaAuthorizationCode
flow. Re-using previously closed client was raising an issue upon token expiry.client
parameter) upon request of a new token forOAuth2AuthorizationCodePKCE
flow. Re-using previously closed client was raising an issue upon token expiry.client
parameter) upon request of a new token forOktaAuthorizationCodePKCE
flow. Re-using previously closed client was raising an issue upon token expiry.