Skip to content

[Feat]: 실제 Apple/Google 소셜 로그인 연동 #14

@unib35

Description

@unib35

📝 설명

현재 소셜 로그인 버튼은 임시로 메인 화면으로 이동만 합니다. 실제 Apple Sign-In과 Google Sign-In 연동이 필요합니다.

✅ 요구사항

Apple Sign-In

  • AuthenticationServices 프레임워크 연동
  • Apple ID 인증 요청 및 응답 처리
  • 사용자 정보 (email, fullName) 획득
  • Supabase Auth와 연동

Google Sign-In

  • GoogleSignIn SDK 연동
  • Google OAuth 인증 플로우 구현
  • 사용자 정보 획득
  • Supabase Auth와 연동

공통

  • AuthClient 실제 로직 구현 (현재 TODO 상태)
  • 로그인 성공 시 사용자 세션 저장 (Keychain)
  • 로그인 실패 시 에러 처리 및 UI 피드백
  • 자동 로그인 (세션 복원) 구현

📍 관련 파일

  • Projects/App/Sources/Features/Login/LoginFeature.swift - AuthClient
  • Configs/Debug.xcconfig - API 키 설정

🔗 참고

📌 현재 상태

AuthClient에 TODO로 남겨둔 상태:
```swift
static let liveValue = AuthClient(
signInWithApple: {
// TODO: Implement Apple Sign-In
try await Task.sleep(nanoseconds: 1000000000)
},
signInWithGoogle: {
// TODO: Implement Google Sign-In
try await Task.sleep(nanoseconds: 1000000000)
}
)
```

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions