diff --git a/src/deep-security/lib/IdentityProvider.js b/src/deep-security/lib/IdentityProvider.js
index <HASH>..<HASH> 100644
--- a/src/deep-security/lib/IdentityProvider.js
+++ b/src/deep-security/lib/IdentityProvider.js
@@ -33,6 +33,9 @@ export class IdentityProvider {
       case IdentityProvider.AUTH0_PROVIDER:
         domainRegexp = /^.+\.auth0\.com$/;
         break;
+      case IdentityProvider.COGNITO_USER_POOL_PROVIDER:
+        domainRegexp = /^cognito\-idp\.[\w\d\-]+\.amazonaws\.com\/[\w\d\-]+$/;
+        break;
     }
 
     if (!domainRegexp) {
@@ -96,6 +99,7 @@ export class IdentityProvider {
         userId = identityMetadata.userID;
         break;
 
+      case IdentityProvider.COGNITO_USER_POOL_PROVIDER:
       case IdentityProvider.AMAZON_PROVIDER:
       case IdentityProvider.AUTH0_PROVIDER:
         token = identityMetadata.access_token;
@@ -175,6 +179,13 @@ export class IdentityProvider {
   /**
    * @returns {String}
    */
+  static get COGNITO_USER_POOL_PROVIDER() {
+    return 'cognito-user-pool';
+  }
+
+  /**
+   * @returns {String}
+   */
   static get FACEBOOK_PROVIDER() {
     return 'facebook';
   }
# Added cognito-user-pool security provider