Skip to content

fix(auth): exclude /api/auth/validate from auth middleware so expired-token reissue works - #95

Merged
MZC-CSC merged 2 commits into
m-cmp:mainfrom
MZC-CSC:develop
Oct 13, 2026
Merged

MZC-CSC merged 2 commits into
m-cmp:mainfrom
MZC-CSC:develop

Conversation

@MZC-CSC

@MZC-CSC MZC-CSC commented Oct 13, 2026

Copy link
Copy Markdown
Member

Summary

Add POST /api/auth/validate to the auth middleware skip list (skipAuthPaths).

yh-noh and others added 2 commits October 13, 2026 16:08
validate 핸들러는 access token 을 직접 검증(서명·만료)하고 실패하면 refresh_token 으로
재발급하지만, 인증 미들웨어가 무효·만료 토큰을 먼저 401 로 거부해 재발급 경로에 도달하지 못했다.
fix(auth): /api/auth/validate 를 인증 미들웨어 예외에 추가
@MZC-CSC
MZC-CSC merged commit 45e29b1 into m-cmp:main Oct 13, 2026
4 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.

2 participants