Skip to content

fix: 컨트롤러에 전달되는 인증과 관련된 객체 수정 #200

@nayonsoso

Description

@nayonsoso

어떤 버그인가요

문제가 되는 부분에 대해 설명해주세요

1/

로그아웃 시도시
에러가 발생했습니다. : argument type mismatch
Controller [com.example.solidconnection.auth.controller.AuthController]
Method [public org.springframework.http.ResponseEntity<java.lang.Void> com.example.solidconnection.auth.controller.AuthController.signOut(com.example.solidconnection.custom.security.authentication.ExpiredTokenAuthentication)] with argument values:
[0] [type=com.example.solidconnection.custom.security.authentication.SiteUserAuthentication] [value=SiteUserAuthentication [Principal=com.example.solidconnection.custom.security.userdetails.SiteUserDetails@16a8d604, Credentials=[PROTECTED], Authenticated=true, Details=null, Granted Authorities=[ROLE_MENTEE]]]

2/

미인증 상태로 마이페이지 접근시
에러가 발생했습니다. : Cannot invoke "com.example.solidconnection.siteuser.domain.SiteUser.getId()" because "siteUser" is null

참고할만한 자료(선택)

Metadata

Metadata

Assignees

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