Skip to content

fix: 크로스 오리진 API 인증 시 Bearer 토큰 사용#50

Merged
junotb merged 1 commit intomainfrom
fix/2026-02-13
Feb 13, 2026
Merged

fix: 크로스 오리진 API 인증 시 Bearer 토큰 사용#50
junotb merged 1 commit intomainfrom
fix/2026-02-13

Conversation

@junotb
Copy link
Copy Markdown
Owner

@junotb junotb commented Feb 13, 2026

  • Web/API 도메인이 달라 쿠키 미전송 → getSession()으로 토큰 조회 후 Authorization 헤더에 설정
  • api.ts 요청 인터셉터에 Bearer 토큰 주입 로직 추가

- Web/API 도메인이 달라 쿠키 미전송 → getSession()으로 토큰 조회 후 Authorization 헤더에 설정
- api.ts 요청 인터셉터에 Bearer 토큰 주입 로직 추가
@junotb junotb self-assigned this Feb 13, 2026
@junotb junotb added the enhancement New feature or request label Feb 13, 2026
@junotb junotb merged commit 8b87b1f into main Feb 13, 2026
@junotb junotb deleted the fix/2026-02-13 branch February 13, 2026 14:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant