Skip to content

fix(infra): 액세스 토큰 수명 15분→1시간 (면접 중 만료 튕김 방지)#110

Merged
i3months merged 1 commit into
devfrom
fix/access-token-ttl
Jun 15, 2026
Merged

fix(infra): 액세스 토큰 수명 15분→1시간 (면접 중 만료 튕김 방지)#110
i3months merged 1 commit into
devfrom
fix/access-token-ttl

Conversation

@i3months

Copy link
Copy Markdown
Member

application.yml 기본 900s(15분)이라 면접 진행 중 토큰이 만료돼 401 → 답변 작성 중 튕기는 문제 발생(서버 로그: AUTH_EXPIRED_TOKEN on
/api/sessions/{id}/messages, 세션 시작 3분 만에도 발생).

  • docker-compose backend env 에 JWT_ACCESS_TTL_SECONDS 매핑 추가 (기존엔 미매핑이라 .env 만으론 컨테이너에 전달 안 됨), 배포 기본 3600s
  • .env.example / docs/environment.md 동기화

refresh 경로 견고화(근본 수정)는 후속. 우선 만료 자체를 면접 길이 밖으로.

변경 사항

application.yml 기본 900s(15분)이라 면접 진행 중 토큰이 만료돼 401 →
답변 작성 중 튕기는 문제 발생(서버 로그: AUTH_EXPIRED_TOKEN on
/api/sessions/{id}/messages, 세션 시작 3분 만에도 발생).

- docker-compose backend env 에 JWT_ACCESS_TTL_SECONDS 매핑 추가
  (기존엔 미매핑이라 .env 만으론 컨테이너에 전달 안 됨), 배포 기본 3600s
- .env.example / docs/environment.md 동기화

refresh 경로 견고화(근본 수정)는 후속. 우선 만료 자체를 면접 길이 밖으로.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@vercel

vercel Bot commented Jun 15, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
stackup Ready Ready Preview, Comment Jun 15, 2026 12:20pm

@i3months i3months merged commit 77e61cd into dev Jun 15, 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