Closed yongho9064 closed 5 months ago
이제부터 소설로그인 가능해요
const onNaverLogin = () => { window.location.href = "http://localhost:8080/oauth2/authorization/naver" } function Login(props) { return ( <> <h1>Login</h1> <button onClick={onNaverLogin}>naver login</button> </> ); }
axios .get("http://localhost:8080/", {withCredentials: true}) .then((res) => { alert(JSON.stringify(res.data)) }) .catch((error) => alert(error))
이렇게 사용하시면 되요
감사합니다.
훌륭하군요 ^^
이제부터 소설로그인 가능해요
코드
axios
이렇게 사용하시면 되요
감사합니다.