diff --git a/package-lock.json b/package-lock.json
index 5486911..29ae790 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -10,7 +10,7 @@
       "dependencies": {
         "@radix-ui/react-icons": "^1.3.0",
         "@radix-ui/themes": "^3.0.1",
-        "@workos-inc/authkit-nextjs": "0.4.1",
+        "@workos-inc/authkit-nextjs": "0.5.3",
         "next": "14.1.3",
         "react": "^18",
         "react-dom": "^18"
@@ -2071,13 +2071,14 @@
       "dev": true
     },
     "node_modules/@workos-inc/authkit-nextjs": {
-      "version": "0.4.1",
-      "resolved": "https://registry.npmjs.org/@workos-inc/authkit-nextjs/-/authkit-nextjs-0.4.1.tgz",
-      "integrity": "sha512-CUEOYiLsb9ks2TXkWkJ21hxvR3zt2O4d0P0CJyskDJpmpSc2kh3F+ib5OJ4agcC0rcWomsDNlusC8VkIte60Fg==",
+      "version": "0.5.3",
+      "resolved": "https://registry.npmjs.org/@workos-inc/authkit-nextjs/-/authkit-nextjs-0.5.3.tgz",
+      "integrity": "sha512-18ol2WeJ76OmRKqVri3QMQ9HoBYHz8JB1q4aShtQnx4X9/1VZbrWyvmW+aMuAj0zgBzYiXapaTNU6R+SiGRRBA==",
       "dependencies": {
-        "@workos-inc/node": "^6.7.0",
+        "@workos-inc/node": "^6.8.0",
         "iron-session": "^8.0.1",
-        "jose": "^5.2.3"
+        "jose": "^5.2.3",
+        "path-to-regexp": "^6.2.2"
       },
       "peerDependencies": {
         "next": "^13.5.4 || ^14.0.3",
@@ -2086,9 +2087,9 @@
       }
     },
     "node_modules/@workos-inc/node": {
-      "version": "6.7.0",
-      "resolved": "https://registry.npmjs.org/@workos-inc/node/-/node-6.7.0.tgz",
-      "integrity": "sha512-/snXOkOPx+LJi2jKwlMQBwdw7dNCVYi5GpDf7bjKRV7hvT54bPAUrL/je5/0Ngy1LXFbskRFBYMoGgpaK7KDUw==",
+      "version": "6.8.0",
+      "resolved": "https://registry.npmjs.org/@workos-inc/node/-/node-6.8.0.tgz",
+      "integrity": "sha512-uhlmK3DozCTBOBuy2IY2GvHbpYmDmolc2N5j8MpOUKMYyTWZpdkmETqg1Ky7mUSSPA203E3v6VIra9G4J7me1g==",
       "dependencies": {
         "pluralize": "8.0.0"
       }
@@ -5426,6 +5427,11 @@
       "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==",
       "dev": true
     },
+    "node_modules/path-to-regexp": {
+      "version": "6.2.2",
+      "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-6.2.2.tgz",
+      "integrity": "sha512-GQX3SSMokngb36+whdpRXE+3f9V8UzyAorlYvOGx87ufGHehNTn5lCxrKtLyZ4Yl/wEKnNnr98ZzOwwDZV5ogw=="
+    },
     "node_modules/path-type": {
       "version": "4.0.0",
       "resolved": "https://registry.npmjs.org/path-type/-/path-type-4.0.0.tgz",
diff --git a/package.json b/package.json
index 0c0a085..933dde5 100644
--- a/package.json
+++ b/package.json
@@ -14,7 +14,7 @@
   "dependencies": {
     "@radix-ui/react-icons": "^1.3.0",
     "@radix-ui/themes": "^3.0.1",
-    "@workos-inc/authkit-nextjs": "0.4.1",
+    "@workos-inc/authkit-nextjs": "0.5.3",
     "next": "14.1.3",
     "react": "^18",
     "react-dom": "^18"