나는 google Oauth2 sign-in에 관한 문서를 읽고 있습니다.Google 로그인 문서에 대한 설명이 없음
여기에 혼란 부분 :
profile.getId
에 저장하고 그것을 보낼 경우 어떤 일이 무슨
var profile = googleUser.getBasicProfile();
console.log("ID: " + profile.getId()); // Don't send this directly to your server!
console.log('Full Name: ' + profile.getName());
?
대신 id_token
에 저장되는 내용은 무엇입니까? 의견에 추천 대신 설명을 원합니다.
// The ID token you need to pass to your backend:
var id_token = googleUser.getAuthResponse().id_token;
보너스 질문 : Google은 동일한 계정을 사용하여 I 로그 같은 id_token
모든 시간을 반환합니까?