Skip to content

Conversation

@jangjuntae
Copy link
Contributor

📋 변경 사항

프론트엔드 협업을 위한 SecurityConfig파일 수정

🔗 관련 이슈

Closes #39

📝 작업 내용

  • "http://localhost:3000", "https://timefit.com" 포트 개방
  • RestAPI 메소드 ("GET", "POST", "PUT", "DELETE", "OPTIONS", "PATCH") 요청 허용
  • jwt 토큰 통신을 위한 Authorization 헤더 필수

@jangjuntae jangjuntae requested review from m222zu and seongm1n January 12, 2026 07:13
Copy link
Member

@seongm1n seongm1n left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

굿

Comment on lines +51 to +54
configuration.setAllowedOriginPatterns(Arrays.asList(
"http://localhost:3000",
"https://timefit.com"
));
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

클라이언트가 앱인데 이 설정이 의미가 있나요?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

아 이게 웹이랑 앱이랑 다른지 몰랐습니다. 웹은 허락을 받아야 하지만 앱은 그냥 요청을 하면 받아주는군요! 이 PR은 그냥 삭제하고 JWT만 확인하는 그대로 사용해도 될 거 같아요.

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.

[FEAT] 프론트엔드 협업을 위한 CORS 및 AWS 인프라 개방

4 participants