Skip to content

(fix) : 로그아웃 리프레시 토큰 무효화#63

Merged
sudhdkso merged 1 commit into
developfrom
fix/refresh-token-logout
Jun 6, 2026
Merged

(fix) : 로그아웃 리프레시 토큰 무효화#63
sudhdkso merged 1 commit into
developfrom
fix/refresh-token-logout

Conversation

@sudhdkso

@sudhdkso sudhdkso commented Jun 6, 2026

Copy link
Copy Markdown
Contributor

#️⃣연관된 이슈

X

🔀반영 브랜치

fix/refresh-token-logout -> develop

🔧변경 사항

  • 로그아웃 시 refreshToken 쿠키를 받아 블랙리스트에 등록하도록 수정했습니다.
  • refresh token 재발급 시 블랙리스트 여부를 먼저 확인해 로그아웃된 토큰 재사용을 차단했습니다.
  • Redis SSL 설정을 LettuceConnectionFactory에 반영해 prod 환경의 TLS Redis 연결이 적용되도록 수정했습니다.
  • Redis 장애 시 현재 프로세스 메모리 fallback으로 refresh token 차단을 유지하도록 처리했습니다.
  • 관련 서비스 및 컨트롤러 테스트를 보강했습니다.

💬리뷰 요구사항(선택)

X

체크:

  • 테스트 코드 포함 여부: O
  • 불필요한 로그 제거: O
  • 예외 처리 여부: O

@coderabbitai

coderabbitai Bot commented Jun 6, 2026

Copy link
Copy Markdown

Warning

Review limit reached

@sudhdkso, we couldn't start this review because you've reached your PR review rate limit.

More reviews will be available in 34 minutes and 37 seconds. Learn how PR review limits work.

Your organization has run out of usage credits. Purchase more in the billing tab.

⌛ How to resolve this issue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans include higher PR review limits than trial, open-source, and free plans. In all cases, reviews become available again over time. During sustained high-volume PR review activity, CodeRabbit may temporarily slow when the next review becomes available.

Please see our Fair Usage Limits Policy for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro

Run ID: 9362b73c-5768-430d-9893-7c1d2658355e

📥 Commits

Reviewing files that changed from the base of the PR and between 952af6e and cc8134b.

📒 Files selected for processing (10)
  • src/main/java/com/dnd/moddo/auth/application/AuthService.java
  • src/main/java/com/dnd/moddo/auth/application/RefreshTokenBlacklist.java
  • src/main/java/com/dnd/moddo/auth/application/RefreshTokenService.java
  • src/main/java/com/dnd/moddo/auth/presentation/AuthController.java
  • src/main/java/com/dnd/moddo/common/config/CacheConfig.java
  • src/test/java/com/dnd/moddo/domain/auth/controller/AuthControllerTest.java
  • src/test/java/com/dnd/moddo/domain/auth/service/AuthServiceTest.java
  • src/test/java/com/dnd/moddo/domain/auth/service/RefreshTokenBlacklistTest.java
  • src/test/java/com/dnd/moddo/domain/auth/service/RefreshTokenServiceTest.java
  • src/test/java/com/dnd/moddo/domain/auth/service/implementation/AuthServiceTest.java
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix/refresh-token-logout

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@github-actions

github-actions Bot commented Jun 6, 2026

Copy link
Copy Markdown

📝 테스트 커버리지 리포트입니다!

File Coverage [59.25%]
AuthService.java 100% 🍏
RefreshTokenService.java 100% 🍏
RefreshTokenBlacklist.java 2.4%
Total Project Coverage 69.29%

@sudhdkso sudhdkso force-pushed the fix/refresh-token-logout branch from 3d1c9ec to cc8134b Compare June 6, 2026 07:52
@github-actions

github-actions Bot commented Jun 6, 2026

Copy link
Copy Markdown

📝 테스트 커버리지 리포트입니다!

File Coverage [95.25%] 🍏
AuthService.java 100% 🍏
RefreshTokenService.java 100% 🍏
RefreshTokenBlacklist.java 88.62% 🍏
Total Project Coverage 71.97%

@sudhdkso sudhdkso merged commit 49c3695 into develop Jun 6, 2026
3 checks passed
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.

1 participant