diff --git a/composer.json b/composer.json
index 3cd2f7c03c622cbf10d68db98bc3113a034db688..9ac179e37dbd75f34c6b0904d33ad85ca39eeeb6 100644
--- a/composer.json
+++ b/composer.json
@@ -50,7 +50,7 @@
         "ext-mbstring": "*",
         "gettext/gettext": "^4.6",
         "phpmailer/phpmailer": "^6.1",
-        "simplesamlphp/assert": "^0.2.6",
+        "simplesamlphp/assert": "^0.2.7",
         "simplesamlphp/saml2": "^4.2.3",
         "simplesamlphp/twig-configurable-i18n": "^2.3",
         "symfony/cache": "^4.0 || ^5.0",
diff --git a/composer.lock b/composer.lock
index aeaa4a41df7f7ab558ea43cf522624660e497e28..da5665c1237914022f8aed2a55b939f93c92fd79 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": "3f7b1c658a21ed99cf2359c5ac11761f",
+    "content-hash": "3454198cab8a477aa3697b77ec51f1a9",
     "packages": [
         {
             "name": "gettext/gettext",
@@ -469,22 +469,22 @@
         },
         {
             "name": "simplesamlphp/assert",
-            "version": "v0.2.6",
+            "version": "v0.2.7",
             "source": {
                 "type": "git",
                 "url": "https://github.com/simplesamlphp/assert.git",
-                "reference": "fbbf5df9f7d25c2049ad4681d64262abec095c40"
+                "reference": "d1d568ac85c133b7ec517cb00e7eda7f6a40e063"
             },
             "dist": {
                 "type": "zip",
-                "url": "https://api.github.com/repos/simplesamlphp/assert/zipball/fbbf5df9f7d25c2049ad4681d64262abec095c40",
-                "reference": "fbbf5df9f7d25c2049ad4681d64262abec095c40",
+                "url": "https://api.github.com/repos/simplesamlphp/assert/zipball/d1d568ac85c133b7ec517cb00e7eda7f6a40e063",
+                "reference": "d1d568ac85c133b7ec517cb00e7eda7f6a40e063",
                 "shasum": ""
             },
             "require": {
                 "ext-spl": "*",
                 "php": "^7.4 || ^8.0",
-                "webmozart/assert": "^1.9"
+                "webmozart/assert": "^1.10"
             },
             "require-dev": {
                 "simplesamlphp/simplesamlphp-test-framework": "^1.0.5"
@@ -517,9 +517,9 @@
             "description": "A wrapper around webmozart/assert to make it useful beyond checking method arguments",
             "support": {
                 "issues": "https://github.com/simplesamlphp/assert/issues",
-                "source": "https://github.com/simplesamlphp/assert/tree/v0.2.6"
+                "source": "https://github.com/simplesamlphp/assert/tree/v0.2.7"
             },
-            "time": "2021-04-07T17:19:30+00:00"
+            "time": "2021-07-24T19:23:31+00:00"
         },
         {
             "name": "simplesamlphp/saml2",
@@ -6482,5 +6482,5 @@
     "platform-dev": {
         "ext-curl": "*"
     },
-    "plugin-api-version": "2.0.0"
+    "plugin-api-version": "2.1.0"
 }