Token Refresh on Expiry in OAuth 2 Client Credential Flow
|Release Date||Feb 27, 2019|
We’ve updated our SDKs that use OAuth 2 Client Credential Flow to enable automatic re-authorization of the client when the OAuth token is expired.
Previously, our SDK behavior was such that if the OAuth token was not set and the user attempted to make an API call, the SDK would automatically get an OAuth token before making the actual API call.
Now, this behavior has been extended to expired OAuth tokens as well. If an API sends the
expires_in property in the OAuth token, the SDK will check the expiry before the user’s API calls to make sure the token is still valid. If the token is found to have expired, the SDK will attempt to get a new token and then make the actual API call.
- Full Changelog
- Changelog for PHP
- Changelog for JAVA
- Changelog for RUBY
- Changelog for PYTHON
- Changelog for CSHARP
Have questions? Submit a request.