-
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
fix: 토큰 401 에러 해결 #562
fix: 토큰 401 에러 해결 #562
Conversation
@@ -91,11 +91,13 @@ class AuthRepository @Inject constructor( | |||
refreshToken = response.refreshToken | |||
response.authorization | |||
}.getOrElse { | |||
|
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.
🚫 [ktlint] standard:no-empty-first-line-in-method-block reported by reviewdog 🐶
First line in a method block should not be empty
it.printStackTrace() | ||
null | ||
} | ||
} | ||
|
||
|
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.
🚫 [ktlint] standard:no-consecutive-blank-lines reported by reviewdog 🐶
Needless blank line(s)
} | ||
} | ||
|
||
/* 토큰 만료 확인용 - 추후 로직 수정 필요 */ |
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.
🚫 [ktlint] standard:no-single-line-block-comment reported by reviewdog 🐶
Replace the block comment with an EOL comment
develop 기반으로 브랜치따서 master 기반으로 다시 올릴 예정. |
📌𝘐𝘴𝘴𝘶𝘦𝘴
📎𝘞𝘰𝘳𝘬 𝘋𝘦𝘴𝘤𝘳𝘪𝘱𝘵𝘪𝘰𝘯
[ 로직 ]
isAutoLogin
여부 파악 후 홈으로 이동error
라는 친구 추가해서 error 값 true 로 변경 및 로컬에 저장된 토큰 삭제, activity 에서 observing 후 true 값 들어왔을 시에 로그아웃 및 로그인 뷰로 이동📷𝘚𝘤𝘳𝘦𝘦𝘯𝘴𝘩𝘰𝘵
💬𝘛𝘰 𝘙𝘦𝘷𝘪𝘦𝘸𝘦𝘳𝘴
WebsosoAuthenticator
코드는 손 안댔고 일시적인 야매 방법으로 스플래시에서 api 통신하도록 구현했습니다.땡스 투 산군...