로그인 성공 정리필요
This commit is contained in:
@@ -13,7 +13,7 @@ const LoginForm = () => {
|
||||
id: '',
|
||||
pw: ''
|
||||
})
|
||||
const requestUrl = 'https://kauth.kakao.com/oauth/authorize'
|
||||
const requestUrl = 'https://kauth.kakao.com/oauth/authorize?client_id=a1d6afef2d4508a10a498b7069f67496&redirect_uri=http://localhost:8080/login/oauth-kakao&response_type=code'
|
||||
|
||||
const login = () => {
|
||||
axios.get(requestUrl, {
|
||||
@@ -31,7 +31,7 @@ const LoginForm = () => {
|
||||
|
||||
return (
|
||||
<>
|
||||
<Link href={'https://kauth.kakao.com/oauth/authorize'}>
|
||||
<Link href={requestUrl}>
|
||||
<button type="button">
|
||||
<img src={loginButton.src} alt="카카오톡 로그인" />
|
||||
</button>
|
||||
|
||||
Reference in New Issue
Block a user