Skip to content

안드로이드 리프레시 토큰 추가#140

Merged
ohsuhyeon0119 merged 2 commits into
developfrom
feat/and_refresh_token
Jul 8, 2026
Merged

안드로이드 리프레시 토큰 추가#140
ohsuhyeon0119 merged 2 commits into
developfrom
feat/and_refresh_token

Conversation

@aystoe

@aystoe aystoe commented Jun 27, 2026

Copy link
Copy Markdown
Collaborator

#️⃣ 연관된 이슈

ex) #이슈번호, #이슈번호

📝 작업 내용

이번 PR에서 작업한 내용을 간략히 설명해주세요(이미지 첨부 가능)

✅ 체크리스트

  • [ ✅ ] 로컬에서 정상 동작 확인
  • [ ✅ ] 기존 기능에 영향 없음
  • [ ✅ ] 테스트 통과 (또는 테스트 없음)
  • 브레이킹 체인지 여부 확인

스크린샷 (선택)

💬 리뷰 요구사항(선택)

리뷰어가 특별히 봐주었으면 하는 부분이 있다면 작성해주세요

ex) 메서드 XXX의 이름을 더 잘 짓고 싶은데 혹시 좋은 명칭이 있을까요?

@subir-sh

Copy link
Copy Markdown
Collaborator

@codex review

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: bb472cbddc

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

return ResponseEntity.ok(
AndroidTokenResponse(
accessToken = issued.accessToken,
refreshToken = issued.refreshToken

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Add a body-token logout path for Android tokens

For Android clients that get their refresh token from this JSON field, the token is not handled by the existing logout flow: AuthController.logout only reads @CookieValue and UserService.logout returns immediately when that cookie is absent, and there is no /android/logout or body/header-based revocation path in the repo. Unless every Android caller manually re-encodes this body token as a Cookie header, these refresh tokens remain usable until the 14-day refresh expiry after app logout, so add a logout/revocation path that accepts the Android token format.

Useful? React with 👍 / 👎.

@subir-sh

Copy link
Copy Markdown
Collaborator

혹시 저 코덱스가 지적한 부분 크게 상관 없는 건지 한번만 확인 부탁드려도 괜찮을까요?

@ohsuhyeon0119

Copy link
Copy Markdown
Collaborator

안드로이드 전용 로그아웃 엔드포인트가 필요할 것 같습니다

@aystoe

aystoe commented Jun 30, 2026

Copy link
Copy Markdown
Collaborator Author

로그아웃 엔드포인트 추가하여 머지했습니다. 리뷰 감사합니다.

@ohsuhyeon0119
ohsuhyeon0119 merged commit e3c2cb6 into develop Jul 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants