diff --git a/quickstarts/nextjs-b2b/README.md b/quickstarts/nextjs-b2b/README.md index cce7e5d..5f70219 100644 --- a/quickstarts/nextjs-b2b/README.md +++ b/quickstarts/nextjs-b2b/README.md @@ -111,7 +111,7 @@ Open [http://localhost:3000](http://localhost:3000). ### Switching companies -The organization menu in the header lists every company the account belongs to. Picking one sends the browser to that company's sign-in, where the single sign-on session signs the user in without the password. `@thunderid/nextjs` 1.18.1 redeems the returning code only when no session exists, so the page stays on the previous company. Until the SDK finishes the switch itself, sign out and sign in again to move between companies. +The organization menu in the header lists every company the account belongs to. Picking one sends the browser to that company's sign-in, where the single sign-on session signs the user in without the password. ## How it works diff --git a/quickstarts/nextjs-b2b/package-lock.json b/quickstarts/nextjs-b2b/package-lock.json index 4de9a11..46146ab 100644 --- a/quickstarts/nextjs-b2b/package-lock.json +++ b/quickstarts/nextjs-b2b/package-lock.json @@ -8,7 +8,7 @@ "name": "@thunderid/nextjs-b2b-quickstart", "version": "0.0.0", "dependencies": { - "@thunderid/nextjs": "1.18.1", + "@thunderid/nextjs": "1.19.0", "next": "16.4.5", "react": "19.2.3", "react-dom": "19.2.3" @@ -800,9 +800,9 @@ } }, "node_modules/@jridgewell/resolve-uri": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.2.tgz", - "integrity": "sha512-bRISgCIjP20/tbWSPWMEi54QVPRZExkuD9lJL+UIxUKtwVJA8wW1Trb1jMs1RFXo1CBTNZ/5hpC9QvmKWdopKw==", + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.3.tgz", + "integrity": "sha512-lhTtjtoEArWBjismtfS761S9Hlyn+nIZqOZVYoZ1Xn82PMNMVnk+jj/NhC4fAXGTs7ydONcJiR5vyQBTMDu27g==", "license": "MIT", "engines": { "node": ">=6.0.0" @@ -968,12 +968,12 @@ } }, "node_modules/@thunderid/browser": { - "version": "1.18.0", - "resolved": "https://registry.npmjs.org/@thunderid/browser/-/browser-1.18.0.tgz", - "integrity": "sha512-CMycJ4cEB0ztgJD7mCzoFG/zGxo9TczeLee5GhmRTx3asNcQCAnaJfS2KVM0JvEmjAq8uuBaNBhtPm01NYgMTA==", + "version": "1.19.0", + "resolved": "https://registry.npmjs.org/@thunderid/browser/-/browser-1.19.0.tgz", + "integrity": "sha512-9FgwTaBwIFozB73xXeh5LvwHri3blW+zozAYYlMpNPWagzMfOxx7XRd6Qm7ajPm6lXJA1vIbYixiC4a8o+A5EQ==", "license": "Apache-2.0", "dependencies": { - "@thunderid/javascript": "^1.19.0", + "@thunderid/javascript": "^1.20.0", "base64url": "3.0.1", "buffer": "6.0.3", "core-js": "3.42.0", @@ -986,9 +986,9 @@ } }, "node_modules/@thunderid/javascript": { - "version": "1.19.0", - "resolved": "https://registry.npmjs.org/@thunderid/javascript/-/javascript-1.19.0.tgz", - "integrity": "sha512-fYinwhNQn8oicjIk1Gb/wY4fXaOCrFYCLXVoVLJxiSmVck367zsJYO5azRE2EYSgAwotmfoRoDOwmpUB19wDDw==", + "version": "1.20.0", + "resolved": "https://registry.npmjs.org/@thunderid/javascript/-/javascript-1.20.0.tgz", + "integrity": "sha512-Uu56subIW+GJgkF4nVuJyUNRwEPsg0fE9WUkc1GkJSSPt6WnmSMNmDYU+0XWFs/TYbEm4ACUJdGoyxDOnVpb/w==", "license": "Apache-2.0", "dependencies": { "jose": "6.2.3", @@ -996,13 +996,13 @@ } }, "node_modules/@thunderid/nextjs": { - "version": "1.18.1", - "resolved": "https://registry.npmjs.org/@thunderid/nextjs/-/nextjs-1.18.1.tgz", - "integrity": "sha512-QsSVwIsPVD+rtI5G5hMfwQjfpmbM98Qsk0W1OXlNuq+OvyE+GCDF7j/5LWK3HaUskZnu1nPufkpO8p1Kzh3uOA==", + "version": "1.19.0", + "resolved": "https://registry.npmjs.org/@thunderid/nextjs/-/nextjs-1.19.0.tgz", + "integrity": "sha512-TLp0v9vPPHUV/vz2rZEKvmU7fnTGLQvn0MYnFJGoxzBJ4CyoqZrDiFcn+OJ6zHXXoBYh8ZRQ1lBPpfJtmBohPA==", "license": "Apache-2.0", "dependencies": { - "@thunderid/node": "^1.16.0", - "@thunderid/react": "^1.20.1", + "@thunderid/node": "^1.17.0", + "@thunderid/react": "^1.22.0", "@types/react": "19.2.14", "jose": "6.2.3", "tslib": "2.8.1" @@ -1013,14 +1013,14 @@ } }, "node_modules/@thunderid/nextjs/node_modules/@thunderid/react": { - "version": "1.21.0", - "resolved": "https://registry.npmjs.org/@thunderid/react/-/react-1.21.0.tgz", - "integrity": "sha512-yeTFhmS2p6lXEMcJVL9XizIqQKE9cTxe0I59xii0bu9z3Mp7g7+ONU8cm3wuRul230fpeVobvizkfsGgU7M3lA==", + "version": "1.22.0", + "resolved": "https://registry.npmjs.org/@thunderid/react/-/react-1.22.0.tgz", + "integrity": "sha512-cow2A12tErdfZuH6efrdqa07UzZMmar1loLmFozH4jhsWctc8oP33egv5UzRaOmKA1ymOLlVoY7SebHOms1SZA==", "license": "Apache-2.0", "dependencies": { "@emotion/css": "11.13.5", "@floating-ui/react": "0.27.12", - "@thunderid/browser": "^1.18.0", + "@thunderid/browser": "^1.19.0", "dompurify": "3.4.17", "tslib": "2.8.1" }, @@ -1059,12 +1059,12 @@ } }, "node_modules/@thunderid/node": { - "version": "1.16.0", - "resolved": "https://registry.npmjs.org/@thunderid/node/-/node-1.16.0.tgz", - "integrity": "sha512-iftcjNmLqqvOcukbAkV+ZI8nu1qFUbq/24NmsW/Y6jjw5tSOHZNT1vPaGuc65WZm/AUYwXcc+pEQDVq69VuxXg==", + "version": "1.17.0", + "resolved": "https://registry.npmjs.org/@thunderid/node/-/node-1.17.0.tgz", + "integrity": "sha512-PE2R2+KZ202AEVSsY4Ej2767wZNvQtnDh+rIo8uoJnMvu3g2bkOShI57wkEs6xTQ7SZ7sBxKKt4tcWVVptn5qg==", "license": "Apache-2.0", "dependencies": { - "@thunderid/javascript": "^1.18.0", + "@thunderid/javascript": "^1.20.0", "base64url": "3.0.1", "cross-fetch": "4.1.0", "fast-sha256": "1.3.0", diff --git a/quickstarts/nextjs-b2b/package.json b/quickstarts/nextjs-b2b/package.json index 5f54db0..4b54585 100644 --- a/quickstarts/nextjs-b2b/package.json +++ b/quickstarts/nextjs-b2b/package.json @@ -8,7 +8,7 @@ "start": "next start" }, "dependencies": { - "@thunderid/nextjs": "1.18.1", + "@thunderid/nextjs": "1.19.0", "next": "16.4.5", "react": "19.2.3", "react-dom": "19.2.3"