You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 2914ae5
Browse filesBrowse the repository at this point in the historyBrowse files
@userid 파라미터가 없는 요청(토큰 재발급, 배너 등)이나 인자 리졸브 이전 단계에서
예외가 나는 경우 userId가 로그에 안 남는 문제를 MdcLoggingFilter에서
accessToken을 미리 파싱해두는 방식으로 보완. 실제 인증 검증/방문자 모드 처리는
UserIdResolver가 그대로 담당하고, 그 결과가 이 값을 덮어쓴다.
로컬 DB/Redis 띄우고 실제 JWT로 검증:
- @userid 있는 요청: 요청 진입 로그부터 userId 표시
- @userid 없는 공개 엔드포인트: 토큰만 있으면 userId 표시
0 commit comments