Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat: security 의존성 추가, cors 설정 #21

Merged
merged 7 commits into from
Jul 24, 2024
Merged

Conversation

WonSteps
Copy link
Member

🔗 이슈 연결

🚀 구현한 API

  • X

💡 반영할 내용 및 변경 사항 요약

  • springboot security를 사용한 인증 필터를 추가합니다.
  • cors 설정을 SecurityWebConfig에 추가합니다.
    • /api/v1/examples/**은 GET 요청을 허용합니다.
    • /api/v1/auth/**은 인증쪽에서 사용하도록 인증을 하지 않더라도 접근할 수 있도록 합니다.
    • 스웨거 경로도 인증하지 않더라도 접근할 수 있도록 합니다.

🔍 리뷰 요청/참고 사항

  • 아무 동작을 하지 않는 AuthenticationCheckFilter 필터를 추가합니다.
  • 이 필터에서 인증 부분을 구현할 껀데, jwt 쪽은 아직 구현하지 않았습니다.

@WonSteps WonSteps added feature 기능 추가 chore labels Jul 24, 2024
@WonSteps WonSteps self-assigned this Jul 24, 2024
@WonSteps WonSteps requested a review from hee9841 July 24, 2024 08:33
Copy link
Collaborator

@hee9841 hee9841 left a comment

Choose a reason for hiding this comment

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

👍

@WonSteps WonSteps merged commit d47c2ff into main Jul 24, 2024
1 check passed
@WonSteps WonSteps deleted the feature/#10/security branch July 24, 2024 12:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chore feature 기능 추가
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants