diff --git a/composer.json b/composer.json
index 00c2c8caa0cfd0f5acf075fb69ae87f1f0c37e82..2dd29bc104f89208dcd8b54649284d8761501928 100644
--- a/composer.json
+++ b/composer.json
@@ -17,6 +17,9 @@
   "config": {
     "platform": {
       "php": "7.4"
+    },
+    "allow-plugins": {
+      "simplesamlphp/composer-module-installer": true
     }
   },
   "require": {
@@ -25,7 +28,7 @@
     "ext-filter": "*",
     "ext-json": "*",
     "ext-PDO": "*",
-    "simplesamlphp/simplesamlphp": "^1.19"
+    "simplesamlphp/simplesamlphp": "^1.19.2"
   },
   "suggest": {
     "cesnet/simplesamlphp-module-perun" : "for logging that a user accessed a service",
diff --git a/composer.lock b/composer.lock
index 2bdfb9fea5b1520855b931b04c34aa347d803ca5..7dc5c8f23350d8e4a0b44aa5b66bcdaac4c41d5d 100644
--- a/composer.lock
+++ b/composer.lock
@@ -4,7 +4,7 @@
         "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
         "This file is @generated automatically"
     ],
-    "content-hash": "3ee8cb4f485a926c2b4b8cc432d130d7",
+    "content-hash": "bef79151cb81a54212518f52b3354fbe",
     "packages": [
         {
             "name": "gettext/gettext",