Skip to content

refactor: 만료된 토큰으로 요청했을 때, 인증하지 않은 사용자를 위한 응답이 아닌, 401을 반환한다. #306

@nayonsoso

Description

@nayonsoso

어떤 부분을 리팩터링하려 하나요?

리팩터링하려는 부분에 대해 간결하게 설명해주세요

AS-IS

  • "맞춤 대학 추천" api에서 만료된 토큰으로 요청하면 '로그인하지 않은 사용자'와 같은 응답을 내려줬다,
  • 이는 예외적인 정책이다.

TO-BE

  • "맞춤 대학 추천" api에서 만료된 토큰으로 요청하면 401을 응답한다.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions