From 7edc7b08e587370f6d9e4d4d4c3ff8d92948da7f Mon Sep 17 00:00:00 2001 From: victorAnumudu Date: Wed, 12 Jul 2023 14:07:07 +0100 Subject: [PATCH 1/2] added my default facebook client ID --- .env | 3 +++ .env.production | 5 +++++ 2 files changed, 8 insertions(+) diff --git a/.env b/.env index 6d8d977..8fa972e 100644 --- a/.env +++ b/.env @@ -50,6 +50,9 @@ REACT_APP_FACEBOOK_CLIENT_SECRET2=19f778e312f2ab96d147bacb612910c2 REACT_APP_FACEBOOK_CLIENT_ID=677857427521030 REACT_APP_FACEBOOK_CLIENT_SECRET=4801375f22072d8a75f64483fdd89829 +#my Account +REACT_APP_FACEBOOK_CLIENT_ID3=1598725580610908 + REACT_APP_FACEBOOK_CLIENT_SCOPE="email,public_profile" REACT_APP_FACEBOOK_REDIRECT_URL="http://localhost:9082/login/auth/flogin" diff --git a/.env.production b/.env.production index 47a3f29..e949b83 100644 --- a/.env.production +++ b/.env.production @@ -40,6 +40,11 @@ REACT_APP_GOOGLE_CLIENT_SECRET=aozK_2G8UjaCmLgPPkv9abIm REACT_APP_GOOGLE_CLIENT_SCOPE="https://www.googleapis.com/auth/plus.login https://www.googleapis.com/auth/userinfo.email https://www.googleapis.com/auth/userinfo.profile" REACT_APP_GOOGLE_REDIRECT_URL=https://users.wrenchboard.com/login/auth/ +REACT_APP_FACEBOOK_CLIENT_ID2=390204307987009 +REACT_APP_FACEBOOK_CLIENT_SECRET2=19f778e312f2ab96d147bacb612910c2 +REACT_APP_FACEBOOK_CLIENT_SCOPE="email,public_profile" +REACT_APP_FACEBOOK_REDIRECT_URL="https://users.wrenchboard.com/login/auth/flogin" + DISABLE_ESLINT_PLUGIN=true REACT_APP_MAX_FILE_SIZE=1000000 From 7ede9883ba1fdba0500ec73b02c49115f4d8afc7 Mon Sep 17 00:00:00 2001 From: victorAnumudu Date: Wed, 12 Jul 2023 14:22:51 +0100 Subject: [PATCH 2/2] facebook redirect page --- src/components/AuthPages/AuthRedirect/FbookRedirect.jsx | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/components/AuthPages/AuthRedirect/FbookRedirect.jsx b/src/components/AuthPages/AuthRedirect/FbookRedirect.jsx index 90c737e..dc70d89 100644 --- a/src/components/AuthPages/AuthRedirect/FbookRedirect.jsx +++ b/src/components/AuthPages/AuthRedirect/FbookRedirect.jsx @@ -20,10 +20,6 @@ function FbookRedirect() { return } console.log(codeResponse); - - setTimeout(()=>{ // remove LATER - navigate('/login', {state: {error: true}}) - },2000) /* POST /token HTTP/1.1