-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature/#17] : 카카오 로그인, 구글 로그인 구현 #23
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
SHA 키랑 싸우느라 고생 많으셨습니답 ㅠㅠ 임포트문만 제거해주면 될 것 같아여 ❤️
val signInRequest = com.google.android.gms.auth.api.identity.BeginSignInRequest.builder() | ||
.setGoogleIdTokenRequestOptions( | ||
com.google.android.gms.auth.api.identity.BeginSignInRequest.GoogleIdTokenRequestOptions.builder() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
P1: 요거 임포트 해주세요!!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
P2: Credential Manager로 리팩해보면 좋을 것 같아요!!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
네ㅔㅔㅔ 리팩해놓겠슴다ㅏㅏ
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
빠르게 잘하셨는걸용 아래 pr 참고해서 보완해도 좋을 것 같네욤
Team-Wable/WABLE-ANDROID#42
LaunchedEffect(loginViewModel.sideEffects) { | ||
loginViewModel.sideEffects.collect { sideEffect -> | ||
when (sideEffect) { | ||
is LoginSideEffect.NavigateToHome -> navigateToHome() | ||
is LoginSideEffect.NavigateSignUp -> navigateToSignUp(sideEffect.authId) | ||
is LoginSideEffect.ShowToast -> context.toast(sideEffect.message) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
P3 : 실패했을 때 뜨는 스낵바나 다이얼로그 GUI 필요할듯요
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
넵 추가하겠습니다!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
P1 : 로컬에 token 저장하는 로직 필요할 것 같아요 member id랑.. refresh token은 안받나요?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
서버 연결 로직 작성 시 발급받는 accessToken과 refreshToken를 저장하려고 하는데
이것과 별개로 카카오 및 구글 토큰도 저장해야하나요??
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
아아 생각해보니 아직 서버 연결 전이네용 ㅋㅋㅋ 서버 연결 기준으로 말한거였어요! 흠 그래도 로컬에 토큰 제외하고 유저 정보 저장하는건 구현해놓으면 좋을 것 같아용 member id, nickname, ...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
넵! 해당 부분 수정하겠습니다!!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
고생 많으셧쑴니다ㅏㅏ 왕 잘하셧는데여
…into feature/#17-social-login
✅ 𝗖𝗵𝗲𝗰𝗸-𝗟𝗶𝘀𝘁
📌 𝗜𝘀𝘀𝘂𝗲𝘀
📎 𝗪𝗼𝗿𝗸 𝗗𝗲𝘀𝗰𝗿𝗶𝗽𝘁𝗶𝗼𝗻
📷 𝗦𝗰𝗿𝗲𝗲𝗻𝘀𝗵𝗼𝘁
login.mp4
💬 𝗧𝗼 𝗥𝗲𝘃𝗶𝗲𝘄𝗲𝗿𝘀
늦어서 죄송합니다..
추가해야하는 파일 밑에 링크 참고해주세요!