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) => {