diff --git a/src/deep-security/lib/Token.js b/src/deep-security/lib/Token.js
index <HASH>..<HASH> 100644
--- a/src/deep-security/lib/Token.js
+++ b/src/deep-security/lib/Token.js
@@ -490,7 +490,7 @@ export class Token {
    * @returns {AWS.CognitoIdentityCredentials}
    */
   get credentials() {
-    if (!this._credentials) {
+    if (!this.validCredentials(this._credentials)) {
       this._credentials = this._createCognitoIdentityCredentials();
     }
# Fix lambda requests CORS issue