Skip to content

미인증 상태로 api 요청시 500 오류 #164

@wibaek

Description

@wibaek

어떤 버그인가요

미인증 상태로 /my-page api 접근시 401 대신 500 오류가 반환됩니다.

response

{
  "message": "에러가 발생했습니다. : Cannot invoke \"java.security.Principal.getName()\" because \"principal\" is null"
}

이전 배포가 #142 였으니 그 이후의 PR에서 발생한 것 같습니다.

재현 방법(선택)

/my-page API에 토큰 미포함 상태로 요청을 보낸다.
외에도 다수의 Principal을 참조하는 api에서 오류가 발생하는 것으로 보입니다.

참고할만한 자료(선택)

Metadata

Metadata

Labels

버그Something isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions