diff --git a/__tests__/auth-provider.test.tsx b/__tests__/auth-provider.test.tsx index 53624f68..2a3685da 100644 --- a/__tests__/auth-provider.test.tsx +++ b/__tests__/auth-provider.test.tsx @@ -903,12 +903,14 @@ describe('Auth0Provider', () => { subject_token: '__test_token__', subject_token_type: 'urn:test:token-type', scope: 'openid profile email', + organization: 'org_123', }); }); expect(clientMock.exchangeToken).toHaveBeenCalledWith({ subject_token: '__test_token__', subject_token_type: 'urn:test:token-type', scope: 'openid profile email', + organization: 'org_123', }); expect(response).toStrictEqual(tokenResponse); }); diff --git a/package-lock.json b/package-lock.json index e59cfb59..64469309 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,7 +9,7 @@ "version": "2.10.0", "license": "MIT", "dependencies": { - "@auth0/auth0-spa-js": "^2.9.1" + "@auth0/auth0-spa-js": "^2.11.0" }, "devDependencies": { "@rollup/plugin-node-resolve": "^15.0.1", @@ -74,9 +74,9 @@ } }, "node_modules/@auth0/auth0-spa-js": { - "version": "2.9.1", - "resolved": "https://registry.npmjs.org/@auth0/auth0-spa-js/-/auth0-spa-js-2.9.1.tgz", - "integrity": "sha512-GNyypxb8ck32tUacYPHAEZ/L845kLDchqXtFZM3Gt/KcBr9C8/c1ncAhGY1UnkgUw2MctwVnBOEoqCD3oP3SPg==", + "version": "2.11.0", + "resolved": "https://registry.npmjs.org/@auth0/auth0-spa-js/-/auth0-spa-js-2.11.0.tgz", + "integrity": "sha512-MZuUkB6cYAWm2uswWhEj8aMS7sw6zx8cs5YyPbrHCF+MlScLgfOkUnGe0tbnv7592xQ6M2h4lB66WyemFQEmPA==", "license": "MIT", "dependencies": { "browser-tabs-lock": "^1.2.15", diff --git a/package.json b/package.json index d7056d2c..5e908f98 100644 --- a/package.json +++ b/package.json @@ -95,6 +95,6 @@ "react-dom": "^16.11.0 || ^17 || ^18 || ~19.0.1 || ~19.1.2 || ^19.2.1" }, "dependencies": { - "@auth0/auth0-spa-js": "^2.9.1" + "@auth0/auth0-spa-js": "^2.11.0" } }