-
-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make request does not check if token is expired in v1.1.1 #71
Comments
THIS IS NO LONGER NEEDED
|
Thanks for this and the PR. As it's nowhere near breaking an API and constitutes an issue that I'm sure others will face I've rolled it in and will tag |
This is great! Now, to take advantage of this if you're on 1x of this repo is to do:
Thank you for a swift update! |
Describe the bug
The makeRequest() method on src/CloudApi/Connector.php does not check if the access token has expired.
To Reproduce
Expected behavior
When a request is made the second time, a check is made if the token is expired. If it is expired, get a new one.
Screenshots
NA
Desktop (please complete the following information):
Additional context
#48 seems related.
This issue is fixed in the latest, see: https://github.com/typhonius/acquia-php-sdk-v2/blob/master/src/Connector/Connector.php#L59
This issue will be expired currently by anyone using https://github.com/lcatlett/blt-drush-alias/blob/master/composer.json#L15 because it locks this library to v1.
The text was updated successfully, but these errors were encountered: