Update SwiftFactory.php

Auth-Service (in explizit v3) will recheck the cached-token and will end in an "token expired exception".
This commit is contained in:
Volker 2019-02-13 12:26:27 +01:00 committed by GitHub
parent 3d804ea15d
commit d06c25b9c8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -174,6 +174,7 @@ class SwiftFactory {
}
if (!$hasValidCachedToken) {
unset($this->params['cachedToken']);
try {
list($token, $serviceUrl) = $authService->authenticate($this->params);
$this->cacheToken($token, $serviceUrl, $cacheKey);