Identity Platform에서 전화번호로 사용자 로그인
이 문서에서는 Identity Platform을 사용하여 전화번호로 사용자를 로그인 처리하는 방법을 보여줍니다.
시작하기 전에
- Google Cloud 계정에 로그인합니다. Google Cloud를 처음 사용하는 경우 계정을 만들고 Google 제품의 실제 성능을 평가해 보세요. 신규 고객에게는 워크로드를 실행, 테스트, 배포하는 데 사용할 수 있는 $300의 무료 크레딧이 제공됩니다.
-
In the Google Cloud console, on the project selector page, select or create a Google Cloud project.
Roles required to select or create a project
- Select a project: Selecting a project doesn't require a specific IAM role—you can select any project that you've been granted a role on.
-
Create a project: To create a project, you need the Project Creator role
(
roles/resourcemanager.projectCreator), which contains theresourcemanager.projects.createpermission. Learn how to grant roles.
-
Verify that billing is enabled for your Google Cloud project.
-
In the Google Cloud console, on the project selector page, select or create a Google Cloud project.
Roles required to select or create a project
- Select a project: Selecting a project doesn't require a specific IAM role—you can select any project that you've been granted a role on.
-
Create a project: To create a project, you need the Project Creator role
(
roles/resourcemanager.projectCreator), which contains theresourcemanager.projects.createpermission. Learn how to grant roles.
-
Verify that billing is enabled for your Google Cloud project.
- Identity Platform을 사용 설정합니다. 자세한 방법은 빠른 시작을 참고하세요.
Identity Platform의 전화 로그인 사용 설정
ID 공급업체 페이지로 이동
ID 공급업체 페이지에서 공급업체 추가를 클릭합니다.
공급업체 선택 목록에서 전화를 선택합니다.
사용 설정됨 전환 버튼을 클릭하여 설정합니다.
공급업체 설정을 저장하려면 저장을 클릭합니다.
앱 플랫폼의 휴대전화 로그인 구성
Apple, Android 또는 웹 플랫폼용 Identity Platform을 사용하는 경우 Firebase 콘솔에서 앱을 구성해야 합니다.
Apple 플랫폼의 경우:
- Firebase 프로젝트에서 전화번호 로그인을 사용 설정합니다.
- 자동 푸시 알림으로 앱 인증을 사용 설정합니다.
자세한 내용은 전화번호를 사용하여 Apple 플랫폼에서 Firebase 인증을 참고하세요.
Android 플랫폼의 경우:
- Firebase 프로젝트에서 전화번호 로그인을 사용 설정합니다.
- Play Integrity API로 앱 확인을 사용 설정합니다.
자세한 내용은 전화번호를 사용하여 Android에서 Firebase 인증하기를 참고하세요.
웹 플랫폼의 경우:
- Firebase 프로젝트에서 전화번호 로그인을 사용 설정합니다.
- reCAPTCHA 인증기를 설정합니다.
자세한 내용은 JavaScript를 사용하여 전화번호로 Firebase에 인증하기를 참고하세요.
다음 단계
- 개발 목적으로 테스트 전화번호를 등록하는 방법을 알아보세요.
- SMS 리전을 사용하여 Identity Platform SMS 확인 사용을 제한하는 방법을 알아보세요.