Google 서드 파티 승인 자바스크립트 라이브러리 로드
사용자가 OAuth 2.0 코드 또는 토큰을 로드할 수 있는 페이지에 Google 서드 파티 승인 JavaScript 라이브러리를 로드해야 합니다. 다음 코드 스니펫을 사용합니다.
<script src="https://accounts.google.com/gsi/client" onload="console.log('TODO: add onload function')">
</script>
async
및 defer
불리언 속성을 사용하여 스크립트를 로드하면 페이지 로드 속도를 최적화할 수 있습니다.
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2024-11-23(UTC)
[null,null,["최종 업데이트: 2024-11-23(UTC)"],[[["The Google 3P Authorization JavaScript library is required for pages handling OAuth 2.0 codes or tokens and can be loaded using a provided script snippet."],["Loading the script with `async` and `defer` attributes can optimize page loading speed."]]],[]]