From cfa7f160d9d049931a09929206159348a5b30464 Mon Sep 17 00:00:00 2001 From: root Date: Tue, 22 Jul 2025 18:47:03 +0900 Subject: [PATCH] =?UTF-8?q?=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/app/components/LoginForm.tsx | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/app/components/LoginForm.tsx b/src/app/components/LoginForm.tsx index 9a38a70..94bec41 100644 --- a/src/app/components/LoginForm.tsx +++ b/src/app/components/LoginForm.tsx @@ -12,10 +12,14 @@ const LoginForm = () => { id:'', pw:'' }) - const requestUrl = 'http://localhost:8080/login/oauth-kakao' + const requestUrl = 'https://kauth.kakao.com/oauth/authorize' const login = () => { - axios.post(requestUrl).then((res) => { + axios.get(requestUrl, { + headers : { + "client_id":"a1d6afef2d4508a10a498b7069f67496", + } + }).then((res) => { console.log(requestUrl + "===>") console.log(res.data) }).catch((e) => {