사용자 인증 정보 페이지에서 웹 애플리케이션 클라이언트 ID가 없는 경우 만듭니다. 승인된 JavaScript 출처 및 승인된 리디렉션 URI 필드는 비워 둘 수 있습니다. 이 클라이언트 ID는 인증 백엔드 서버를 나타냅니다. 서버에서 Google API를 호출할 때 이 클라이언트 ID를 사용하지만, 호출하지 않더라도 이 클라이언트 ID가 필요합니다.
이 페이지에 나와 있는 콘텐츠와 코드 샘플에는 콘텐츠 라이선스에서 설명하는 라이선스가 적용됩니다. 자바 및 OpenJDK는 Oracle 및 Oracle 계열사의 상표 또는 등록 상표입니다.
최종 업데이트: 2025-07-27(UTC)
[[["이해하기 쉬움","easyToUnderstand","thumb-up"],["문제가 해결됨","solvedMyProblem","thumb-up"],["기타","otherUp","thumb-up"]],[["필요한 정보가 없음","missingTheInformationINeed","thumb-down"],["너무 복잡함/단계 수가 너무 많음","tooComplicatedTooManySteps","thumb-down"],["오래됨","outOfDate","thumb-down"],["번역 문제","translationIssue","thumb-down"],["샘플/코드 문제","samplesCodeIssue","thumb-down"],["기타","otherDown","thumb-down"]],["최종 업데이트: 2025-07-27(UTC)"],[],[],null,["# Get started with One Tap sign-in and sign-up\n\n| **Caution:** One Tap for Android is deprecated. To ensure the continued security and usability of your app, [migrate to\n| Credential Manager](/identity/sign-in/credential-manager). Credential Manager supports passkey, password, and federated identity authentication (such as Sign-in with Google), stronger security, and a more consistent user experience.\n\nBefore you add One Tap sign-in to your app, set up your Google APIs and Android\nprojects.\n\nSet up your Google APIs console project\n---------------------------------------\n\n1. Open your project in the [API Console](https://console.cloud.google.com/), or create a project if you don't already have one.\n2. On the OAuth consent screen page, make sure all of the information is complete and accurate. In particular, make sure you have specified the URLs of your app's privacy policy and terms of service.\n3. On the Credentials page, create an Android client ID for your app if you don't already have one. You will need to specify your app's package name and SHA-1 signature.\n 1. Go to the [Credentials page](https://console.cloud.google.com/apis/credentials).\n 2. Click **Create credentials \\\u003e OAuth client ID**.\n 3. Select the **Android** application type.\n4. On the Credentials page, create a web application client ID if you don't already have one. You can leave the Authorized JavaScript Origins and Authorized redirect URIs fields blank. This client ID represents your authentication backend server. (You would use this client ID when calling Google APIs from your server, but you need it even if you don't.)\n 1. Go to the [Credentials page](https://console.cloud.google.com/apis/credentials).\n 2. Click **Create credentials \\\u003e OAuth client ID**.\n 3. Select the **Web application** application type.\n\nInclude dependencies in your Android project\n--------------------------------------------\n\n1. In your project-level `build.gradle` file, make sure to include Google's Maven repository (`google()`) in both your `buildscript` and `allprojects` sections.\n2. Add the dependencies for [Google Play services](https://developers.google.com/android)' authentication libraries\n to your module (app-level) build file (usually `app/build.gradle`):\n\n apply plugin: 'com.android.application'\n\n dependencies {\n // ...\n\n implementation 'com.google.android.gms:play-services-auth:21.3.0'\n }\n\nOptional: Associate your app with your site\n-------------------------------------------\n\nIf you have a web site that shares your app's sign-in backend,\n[create and publish a digital asset links file](https://developers.google.com/identity/smartlock-passwords/android/associate-apps-and-sites)\nso that users who sign in on one platform can easily sign in on the other.\n\nNext steps\n----------\n\n[Add One Tap sign-in flows to your app](/identity/legacy/one-tap/legacy-get-saved-credentials)."]]