diff --git a/lib/Utils.php b/lib/Utils.php
index fb28de9dc9f91b484e28ee4dcd36f30d48539909..82e49a7a0938ab0485bb673735430aeeffc0559e 100644
--- a/lib/Utils.php
+++ b/lib/Utils.php
@@ -57,6 +57,11 @@ class Utils
 
     public static function isMFAEnforced($state, $rpIdentifier)
     {
+        if (isset($state['Attributes']['proxyMFAEnforced']) && !empty($state['Attributes']['proxyMFAEnforced'][0])) {
+            Logger::info(self::DEBUG_PREFIX . 'MFA was forced for this resource by config(resource attributes)');
+            return true;
+        }
+
         if (!empty($state['Attributes'][AuthSwitcher::MFA_ENFORCE_SETTINGS])) {
             $settings = $state['Attributes'][AuthSwitcher::MFA_ENFORCE_SETTINGS];
             if (isset($settings[0])) {