Skip to content

release: 1.7.1 - #33

Merged
SeongHoonC merged 3 commits into
prodfrom
main
Aug 18, 2026
Merged

release: 1.7.1#33
SeongHoonC merged 3 commits into
prodfrom
main

Conversation

@SeongHoonC

Copy link
Copy Markdown
Collaborator

릴리즈 개요

  • 앱 버전: 1.7.1
  • iOS buildNumber: 18
  • Android versionCode: 18
  • 대상 브랜치: prod

주요 변경사항

  • 저장된 액세스 토큰의 JWT sub를 토큰 발급·재발급에 우선 사용해 기존 설치의 학생 신원을 유지합니다.
  • 신규 인증 주체 UUID를 crypto.getRandomValues 기반 UUIDv4로 생성합니다.
  • Expo 및 iOS 네이티브 버전 메타데이터를 1.7.1 / 빌드 18로 갱신합니다.

릴리즈 순서

이 앱 릴리즈를 먼저 배포한 뒤 백엔드 Moadong/moadong#1926을 배포해야 합니다.

검증

seongwon030 and others added 3 commits August 17, 2026 18:05
서버가 요청 sub를 무시하고 자체 UUID로 신원을 만들어 왔기 때문에, 기존 설치는
저장된 @auth_subject와 토큰 안의 신원이 서로 다른 값이다. 백엔드가 요청 sub를
studentId로 쓰기 시작하면, 401 재발급 때 @auth_subject를 보내는 현재 동작은
신원을 바꿔버려 기존 편지함을 잃게 만든다.

- resolveAuthSubject()를 추가해 저장된 토큰이 있으면 payload.sub를, 없을 때만
  @auth_subject를 쓰도록 한다. api.ts의 401 재발급 경로와
  auth-token.service.ts의 발급 경로가 같은 규칙을 쓴다.
- generateUuidV4를 Math.random에서 crypto.getRandomValues로 바꾼다. 서버가 sub를
  신원으로 받기 시작하면 이 값이 곧 신원 증명이 되므로 추측 가능하면 안 된다.
  polyfill이 없으면 약한 값으로 폴백하지 않고 실패시킨다.

@auth_subject 저장 키와 기존 값은 그대로 둔다.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
fix: 학생 토큰 sub 처리를 백엔드 계약 변경에 맞춘다
@coderabbitai

coderabbitai Bot commented Aug 18, 2026

Copy link
Copy Markdown

Important

Review available on request

  • 🔍 Trigger review

Reviews should be triggered manually for repositories with fewer than 10 stars. Select Trigger review above or comment @coderabbitai review to review the latest changes. For a full review, comment @coderabbitai full review.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: f59c75f3-9ea5-47a9-8176-fa3471815357


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.

@SeongHoonC
SeongHoonC merged commit 3171b44 into prod Aug 18, 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.

2 participants