Skip to content

Conversation

@OneTen19
Copy link
Member

🌴 작업한 브랜치

feat/#208

✅ 작업한 내용

  • Apple 로그인
  • 리프레쉬 토큰 만료 대응 로직
  • 로그아웃
  • 애플 로그인, 카카오 로그인 두 케이스에 따른 사이드 이펙트 대응

📟 관련 이슈

@OneTen19 OneTen19 added this to the [CERTI] 1차 스프린트 milestone Jan 30, 2026
@OneTen19 OneTen19 self-assigned this Jan 30, 2026
@OneTen19 OneTen19 added Feat 💻 기능 구현 한열 🧄 한열 작업 labels Jan 30, 2026
@OneTen19 OneTen19 linked an issue Jan 30, 2026 that may be closed by this pull request
3 tasks
Copy link
Contributor

@sangyup12 sangyup12 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

리브랜딩 이미지까지 ㄷㄷ. 진짜 얼마 안 남았다!! 저도 빠르게 마무리 해보겠습니다!


import KakaoSDKUser
import KakaoSDKAuth
import AuthenticationServices
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

와! 애플로그인 등장

var temporarySignUpData: LoginResponseEntity?
var nickname: String = ""
var name: String = ""
var socialType: String = ""
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

userId 추가해서 사용하도록 하겠습니다. 감사합니다

Comment on lines 153 to 162
@@ -151,7 +159,7 @@ extension OnboardingViewModel {
jobs: selectedJobCategory
)

let result = await signupUseCase.execute(request: requestData, preSignUpToken: authManger.preSignupToken)
let result = await signupUseCase.execute(request: requestData, preSignUpToken: authManger.preSignupToken!)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

p2
엔티티와 토큰 강제 언래핑하는 거 크래쉬 위험 괜찮을까여?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

아뇨.. 사실 안 좋은데 로그인 시도 시에 유저 존재 여부에 따라 응답이 다르게 내려오고 있더라구요
그래서 하나의 요청에서 성공 시 응답이 두 개로 갈린 상황이라 dto에 nullable한 필드가 많이 생겼고, 이 dto를 사용하던 엔티티를 최대한 기존 코드 수정없이 바꾸려다가 그냥 강제 언래핑했어요...
좀 더 신경쓰면 엔티티를 나눈다던지.. 방법이 있긴 한데 최대한 기존 코드들 안 건드리려고 요렇게 함..

Copy link
Contributor

@Yeonnies Yeonnies left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

애플로그인까지.. 최고!!

//

import SwiftUI
import Combine
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

p3
오.. 컴바인


actor TokenRefresher {
static let shared = TokenRefresher()
nonisolated let tokenExpiredSubject = PassthroughSubject<Void, Never>()
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

p3
nonisolated 신기하네여

@OneTen19 OneTen19 merged commit 21caf54 into develop Feb 10, 2026
@OneTen19 OneTen19 deleted the feat/#208-apple-login branch February 10, 2026 06:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Feat 💻 기능 구현 한열 🧄 한열 작업

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Feat: Apple 로그인 및 리프레쉬 토큰 만료 대응 구현

3 participants