From 1f490acb49d3244ce67d8ab237512e4bad8e5ad0 Mon Sep 17 00:00:00 2001 From: Ishan Date: Fri, 11 Oct 2024 20:53:53 +0530 Subject: [PATCH] callback --- src/Components/Login.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Components/Login.js b/src/Components/Login.js index ed6f717..7f4fd64 100644 --- a/src/Components/Login.js +++ b/src/Components/Login.js @@ -6,8 +6,8 @@ const Login = ({ onLogin }) => { // const clientId = process.env.REACT_APP_CLIENT_ID; const clientId = '667465f49c13fa9047715311'; - // const callbackUrl = 'https://codeboard.ccstiet.com/authverify'; - const callbackUrl = 'http://localhost:3000/authverify'; + const callbackUrl = 'https://codeboard.ccstiet.com/authverify'; + // const callbackUrl = 'http://localhost:3000/authverify'; const handleLogin = () => { const authUrl = `https://auth.ccstiet.com/auth/google?clientid=${clientId}&callback=${callbackUrl}`; window.location.href = authUrl;