Switch accessToken check from != null to StringUtils.hasContent

This commit is contained in:
2025-03-04 10:51:17 -06:00
parent 83c4034d90
commit f49be5ff63

View File

@ -1020,7 +1020,7 @@ public class Auth0AuthenticationModule implements QAuthenticationModuleInterface
// decode the accessToken and make sure it is not expired //
////////////////////////////////////////////////////////////
boolean needNewToken = true;
if(accessToken != null)
if(StringUtils.hasContent(accessToken))
{
DecodedJWT jwt = JWT.decode(accessToken);
String payload = jwt.getPayload();