diff --git a/packages/vue-user/package.json b/packages/vue-user/package.json index 7edff6d50..ccc397392 100644 --- a/packages/vue-user/package.json +++ b/packages/vue-user/package.json @@ -33,10 +33,11 @@ "typecheck": "vue-tsc --noEmit -p tsconfig.vitest.json --composite false" }, "dependencies": { - "supertokens-web-js": "0.6.0", + "supertokens-web-js": "0.7.0", "supertokens-website": "16.0.10" }, "devDependencies": { + "@iconify/vue": "4.3.0", "@prefabs.tech/eslint-config": "0.7.0", "@prefabs.tech/stylelint-config": "0.7.0", "@prefabs.tech/tsconfig": "0.7.0", @@ -46,7 +47,6 @@ "@prefabs.tech/vue3-layout": "0.32.0", "@prefabs.tech/vue3-tanstack-table": "0.32.0", "@prefabs.tech/vue3-ui": "0.32.0", - "@iconify/vue": "4.3.0", "@types/node": "25.6.0", "@vee-validate/i18n": "4.15.1", "@vee-validate/rules": "4.15.1", @@ -58,9 +58,9 @@ "@vueuse/core": "14.3.0", "axios": "1.16.0", "eslint": "9.39.4", - "prettier": "3.8.3", "mitt": "3.0.1", "pinia": "3.0.4", + "prettier": "3.8.3", "stylelint": "17.10.0", "stylelint-config-recommended-vue": "1.6.1", "stylelint-order": "8.1.1", diff --git a/packages/vue-user/src/supertokens/social-signin.ts b/packages/vue-user/src/supertokens/social-signin.ts index eac75f077..39fbe4da3 100644 --- a/packages/vue-user/src/supertokens/social-signin.ts +++ b/packages/vue-user/src/supertokens/social-signin.ts @@ -2,8 +2,8 @@ import { getAuthorisationURLWithQueryParamsAndSetState } from "supertokens-web-j async function socialSignIn(providerId: string, redirectURL: string) { const authUrl = await getAuthorisationURLWithQueryParamsAndSetState({ - authorisationURL: redirectURL, - providerId: providerId, + frontendRedirectURI: redirectURL, + thirdPartyId: providerId, }); window.location.assign(authUrl); diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 7b2a6d0f0..e649e35f7 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -599,8 +599,8 @@ importers: packages/vue-user: dependencies: supertokens-web-js: - specifier: 0.6.0 - version: 0.6.0 + specifier: 0.7.0 + version: 0.7.0 supertokens-website: specifier: 16.0.10 version: 16.0.10 @@ -4763,8 +4763,8 @@ packages: supertokens-js-override@0.0.4: resolution: {integrity: sha512-r0JFBjkMIdep3Lbk3JA+MpnpuOtw4RSyrlRAbrzMcxwiYco3GFWl/daimQZ5b1forOiUODpOlXbSOljP/oyurg==} - supertokens-web-js@0.6.0: - resolution: {integrity: sha512-2KOgWNGanh+/zpdaFQgiA9dQa6T9wA6LcoB6m1BTZ7JIqR3mYmpLD5uu8ERtISNAGUjcXziON/Fp5ZnlBByCcw==} + supertokens-web-js@0.7.0: + resolution: {integrity: sha512-+ojphygeSEpP7D7QJz1Yf9rI+ohwkqd+ONsthrNE+yDhKhf0Y9c3thqYMhODoCiScZFlNOFh0E+NvSPcdt1dvQ==} supertokens-website@16.0.10: resolution: {integrity: sha512-LjB1FxyzQk3mB5UUMC8vxpWH0ShYJ0nqwucsetO8yX+KoQDsa14BmTrZHUR5jxBb1dOPnD9XlACi8xjvYNR6gw==} @@ -9852,7 +9852,7 @@ snapshots: supertokens-js-override@0.0.4: {} - supertokens-web-js@0.6.0: + supertokens-web-js@0.7.0: dependencies: supertokens-js-override: 0.0.4 supertokens-website: 17.0.5