diff --git a/package.json b/package.json index c440a1afde4ea0002e0d6c8abc56141d9fcaf693..b08ff042f9eb45b8e9b465a60679df109a450239 100644 --- a/package.json +++ b/package.json @@ -87,8 +87,8 @@ "axios": "^0.19.0", "cozy-bar": "^7.7.10", "cozy-client": "13.18.0", - "cozy-harvest-lib": "2.14.1", - "cozy-realtime": "^3.10.5", + "cozy-harvest-lib": "2.16.0", + "cozy-realtime": "3.10.5", "cozy-scripts": "4.3.3", "cozy-ui": "35.45.0", "d3": "^5.15.0", diff --git a/src/components/Connection/OAuthForm.tsx b/src/components/Connection/OAuthForm.tsx index 2a6820a823fad0d1459a6453d4ba7794d3614e8f..cded6d9149120ab2396ac8ec8b6aafb74b25a946 100644 --- a/src/components/Connection/OAuthForm.tsx +++ b/src/components/Connection/OAuthForm.tsx @@ -71,6 +71,7 @@ const OAuthForm: React.FC<OAuthFormProps> = ({ <OAuthWindow client={client} konnector={konnector} + redirectSlug={client.appMetadata.slug} onSuccess={handleAccountId} onCancel={handleOAuthCancel} t={t} diff --git a/yarn.lock b/yarn.lock index 20b310eb0fcde5cfd8e19c7c665dca4de4818fed..545ed92b970e09d4bd23ff7f735f165880493c84 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4133,10 +4133,10 @@ cozy-flags@^2.3.4: dependencies: microee "^0.0.6" -cozy-harvest-lib@2.14.1: - version "2.14.1" - resolved "https://registry.yarnpkg.com/cozy-harvest-lib/-/cozy-harvest-lib-2.14.1.tgz#415fe232989260ab34f1667db3334120da1f74a9" - integrity sha512-6gmy1lUptEwugdzyXaiMrfIMmA7uxyH1j4UJaQPdeaJnkJ+XvJ7WPUYlTWVJB5lc55KgVMdZdURDukzjEWBKCg== +cozy-harvest-lib@2.16.0: + version "2.16.0" + resolved "https://registry.yarnpkg.com/cozy-harvest-lib/-/cozy-harvest-lib-2.16.0.tgz#eb255e0170d6af7f4955e895815853c878d4fda4" + integrity sha512-2bSJHXJOiKdAg30pyyW2V+34jNeyI3aPXA+Da6ywdY33EVd9+nQg2kr8Q4fg+4J2kzXdrkS+h4nXYuI+vL9uSQ== dependencies: "@babel/runtime" "^7.5.2" "@material-ui/core" "3" @@ -4241,13 +4241,7 @@ cozy-logger@1.6.0, cozy-logger@^1.3.0, cozy-logger@^1.6.0: chalk "^2.4.2" json-stringify-safe "5.0.1" -cozy-realtime@3.2.1: - version "3.2.1" - resolved "https://registry.yarnpkg.com/cozy-realtime/-/cozy-realtime-3.2.1.tgz#b22cb9468566ae691edfa0383efbab3071a2f01e" - dependencies: - minilog "3.1.0" - -cozy-realtime@^3.10.5: +cozy-realtime@3.10.5: version "3.10.5" resolved "https://registry.yarnpkg.com/cozy-realtime/-/cozy-realtime-3.10.5.tgz#aa040bd921a0f83fd0452092d050ee201e090bff" integrity sha512-PISZsNkXzTWwYAbLTjQn1tIi0iVwEAEZQTVNS2eDu46a8EtIGBje8QM/GQoFZdoIi0wtgciW5VvQUEuP/wY+xQ== @@ -4255,6 +4249,12 @@ cozy-realtime@^3.10.5: cozy-device-helper "^1.10.2" minilog "https://github.com/cozy/minilog.git#master" +cozy-realtime@3.2.1: + version "3.2.1" + resolved "https://registry.yarnpkg.com/cozy-realtime/-/cozy-realtime-3.2.1.tgz#b22cb9468566ae691edfa0383efbab3071a2f01e" + dependencies: + minilog "3.1.0" + cozy-scripts@4.3.3: version "4.3.3" resolved "https://registry.yarnpkg.com/cozy-scripts/-/cozy-scripts-4.3.3.tgz#1175db43eb558a63b907b65864913ae34bc99b7d"