CE-2260: fixes to oath with variants

This commit is contained in:
Tim Chamberlain
2025-02-21 12:36:40 -06:00
parent b2c8c075fd
commit e2b81e46b9

View File

@ -1256,9 +1256,8 @@ public class BaseAPIActionUtil
if(!caughtAnOAuthExpiredToken)
{
LOG.info("OAuth Expired token for [" + table.getName() + "] - retrying");
// String accessTokenKey = getOAuth2AccessTokenKey();
// backendMetaData.withCustomValue(accessTokenKey, null);
backendMetaData.withCustomValue("accessToken", null);
String accessTokenKey = getOAuth2AccessTokenKey();
backendMetaData.withCustomValue(accessTokenKey, null);
caughtAnOAuthExpiredToken = true;
}
else