구글 로그인 연동(feat: 로그인 화면전환)


구글 로그인 연동(feat: 로그인 화면전환)

기존에 생성한 Firebase 프로젝트의 Authentication를 클릭해 제공업체 추가 GoogleService-info.plist를 다운받아 프로젝트에 넣기 해당 파일 안에 들어있는 REVERSED_CLIENT_ID를 URL Types에 넣어준다. 또한 info.plist에 아래 코드를 삽입 <key>GIDClientID</key> <string>GoogleService-Info에 있는 CLIENT_ID를 넣읍시다</string> AppDelegate.swift func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {} 코드 안에 FirebaseApp.configure()를 넣어준다. 기존의 카카오 로그인 할 때도 여기에 key를 삽입했었다. import Firebase import ...



원문링크 : 구글 로그인 연동(feat: 로그인 화면전환)