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

hotfix: 인증이 필요없는 요청에서 UNAUTHORIZED에러 발생 #111

Closed
youjungHwang opened this issue Sep 29, 2024 · 0 comments · Fixed by #112
Closed

hotfix: 인증이 필요없는 요청에서 UNAUTHORIZED에러 발생 #111

youjungHwang opened this issue Sep 29, 2024 · 0 comments · Fixed by #112
Assignees
Labels
🚀 BE 우리는 백엔드 개발자! 🔥 Bug 버그를 해결하자!

Comments

@youjungHwang
Copy link
Member

❓ 어떤 버그인가요?

  • 시큐리티 인증 필터를 타지 않아야하는 회원가입, 로그인 요청에서 HttpStatus.UNAUTHORIZED 에러가 발생했습니다.

🤔 어떤 상황에서 발생한 버그인가요?

  • 시큐리티 인증 필터를 타지 않아야하는 회원가입, 로그인 요청에서 HttpStatus.UNAUTHORIZED 에러가 발생했습니다.
  • 시큐리티 설정파일에서 인증이 필요없는 경로일지라도 우선 시큐리티 필터를 타기 때문에 토큰이 없으면 에러가 아닌 null을 반환해야합니다.
image

🌈 예상 결과

  • 회원가입, 로그인 요청시 인증 에러가 발생하지 않아야 합니다.
@youjungHwang youjungHwang self-assigned this Sep 29, 2024
@youjungHwang youjungHwang added 🔥 Bug 버그를 해결하자! 🚀 BE 우리는 백엔드 개발자! labels Sep 29, 2024
@youjungHwang youjungHwang linked a pull request Sep 29, 2024 that will close this issue
1 task
youjungHwang added a commit that referenced this issue Sep 29, 2024
…authorized에러-발생

fix: jwt토큰 없어도 에러를 반환하지 않도록 수정
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🚀 BE 우리는 백엔드 개발자! 🔥 Bug 버그를 해결하자!
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant