From 9afd78728f6bd8486f62a4a43a6beaed9fe319e2 Mon Sep 17 00:00:00 2001
From: Yoan VALLET <ext.sopra.yvallet@grandlyon.com>
Date: Wed, 30 Sep 2020 09:46:26 +0200
Subject: [PATCH] feat: add redirectSlug for OAuthWindow

---
 src/components/Connection/OAuthForm.tsx | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/components/Connection/OAuthForm.tsx b/src/components/Connection/OAuthForm.tsx
index 2a6820a82..cded6d914 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}
-- 
GitLab