Google API 클라이언트 ID 가져오기
컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
Google 로그인은 OAuth 2.0 흐름과 토큰 수명 주기를 관리하여 Google API와의 통합을 간소화합니다. 사용자는 언제든지 애플리케이션에 대한 액세스 권한을 취소할 수 있습니다.
Google 서드 파티 승인 라이브러리를 웹사이트에 통합하려면 서드 파티 승인 API를 호출하는 데 필요한 클라이언트 ID를 만들어야 합니다.
Google Cloud 콘솔 프로젝트 및 클라이언트 ID를 만들려면 Google API 클라이언트 ID를 가져오는 방법의 안내를 따르세요.
프로젝트를 구성할 때 웹브라우저 클라이언트 유형을 선택하고 앱의 원본 URI를 지정합니다. 테스트를 실행할 때는 http://localhost
및 http://localhost:<port_number>
을 모두 승인된 JavaScript 원본 필드에 추가해야 합니다.
구성이 완료되면 생성된 클라이언트 ID를 기록합니다.
다음 단계를 완료하려면 클라이언트 ID가 필요합니다. (클라이언트 보안 비밀번호도 생성되지만 서버 측 작업에만 필요합니다.)
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2025-08-06(UTC)
[null,null,["최종 업데이트: 2025-08-06(UTC)"],[[["\u003cp\u003eGoogle Sign-In streamlines the use of Google APIs by managing the OAuth 2.0 flow and token lifecycle, allowing users to revoke access at any time.\u003c/p\u003e\n"],["\u003cp\u003eBefore integrating Google 3P Authorization, you need to create a client ID within a Google API Console project, specifying the Web browser client type and authorized origins including localhost for testing.\u003c/p\u003e\n"],["\u003cp\u003eAfter project configuration, note the generated client ID, which is essential for subsequent integration steps.\u003c/p\u003e\n"]]],[],null,["# Get your Google API client ID\n\nGoogle Sign-In manages the OAuth 2.0 flow and token lifecycle, simplifying your\nintegration with Google APIs. A user always has the option to [revoke access](https://myaccount.google.com/permissions)\nto an application at any time.\n\nBefore you can integrate Google 3P Authorization library into your website, you\nmust create a client ID, which you need to call the 3P Authorization API.\n\nTo create a Google Cloud console Project and Client ID, follow the\n[instructions to get your Google API client ID](https://developers.google.com/identity/gsi/web/guides/get-google-api-clientid#get_your_google_api_client_id).\n\nWhen you configure the project, select the Web browser client type and specify\nthe origin URI of your app. When you perform tests, both `http://localhost` and\n`http://localhost:\u003cport_number\u003e` must be added to the Authorized JavaScript\norigins field.\n\nAfter configuration is complete, take note of the client ID that was created.\nYou will need the client ID to complete the next steps. (A client secret is also\ncreated, but you need it only for server-side operations.)"]]