This commit is contained in:
root
2025-07-22 18:47:03 +09:00
parent 7eccb5f1c7
commit cfa7f160d9

View File

@@ -12,10 +12,14 @@ const LoginForm = () => {
id:'', id:'',
pw:'' pw:''
}) })
const requestUrl = 'http://localhost:8080/login/oauth-kakao' const requestUrl = 'https://kauth.kakao.com/oauth/authorize'
const login = () => { const login = () => {
axios.post(requestUrl).then((res) => { axios.get(requestUrl, {
headers : {
"client_id":"a1d6afef2d4508a10a498b7069f67496",
}
}).then((res) => {
console.log(requestUrl + "===>") console.log(requestUrl + "===>")
console.log(res.data) console.log(res.data)
}).catch((e) => { }).catch((e) => {