Android Apple 로그인을 Firebase 웹 흐름(apple.com 제공자)으로 연결 · 설정 안내
This commit is contained in:
@@ -73,6 +73,20 @@ fvm flutter build apk --release --dart-define-from-file=config/kakao.env
|
||||
`https://<프로젝트 ID>.firebaseapp.com/__/auth/handler` 를 넣는다. 콘솔에서 켜지 않았으면 로그인이
|
||||
E-AUTH-11 로 끝난다.
|
||||
|
||||
## Android Apple 로그인 — 앱에 넣을 값 없음
|
||||
|
||||
Android 는 Apple SDK 가 없어 Firebase 웹 흐름(`apple.com` 제공자 · `signInWithProvider`)으로 로그인한다.
|
||||
값은 모두 콘솔에 둔다 — 빌드 옵션은 없다.
|
||||
|
||||
1. Apple 개발자 계정 「Identifiers → Services IDs」에 서비스 ID 를 만들고 「Sign in with Apple」을 켠다.
|
||||
- Domains: `<프로젝트 ID>.firebaseapp.com`
|
||||
- Return URLs: `https://<프로젝트 ID>.firebaseapp.com/__/auth/handler`
|
||||
2. 「Keys」에서 Sign in with Apple 키를 만들고 .p8 를 받는다(키 ID · 팀 ID 기록). 키 파일은 저장소에 넣지 않는다.
|
||||
3. Firebase 콘솔 Authentication → 로그인 방법 → Apple 에 서비스 ID · 팀 ID · 키 ID · 비공개 키를 넣는다.
|
||||
4. 확인: Android 첫 화면 Apple → 브라우저 탭에서 Apple 로그인 → 앱 HOME.
|
||||
|
||||
iOS 는 지금처럼 Apple SDK(`AppleSignInProvider`)로 로그인한다.
|
||||
|
||||
## 서명
|
||||
|
||||
`android/key.properties` 가 없으면 **릴리스 빌드가 의도적으로 실패**한다
|
||||
|
||||
Reference in New Issue
Block a user