Skip to content

JWT를 Redis에 적용 #72

@ohhonggi

Description

@ohhonggi

📌 구현할 기능

JWT를 Redis에 적용하여 Caching 구현

🔨 상세 작업 내용

  • 인가되지 않은 요청에 대한 error handling
  • 로그인 과정에서 생성된 jwt를 Redis, DB에 저장
  • 로그아웃 시 생성된 jwt를 Redis, DB에서 제거
  • Access token 재발급 과정에서 jwt가 Redis에 존재하는지 조회하여 Caching
    • Redis에 RefreshToken이 없는 경우, 토큰 재발급 진행 후 Redis, DB에 저장
    • Redis에 RefreshToken이 있는 경우, Refreshtoken을 가져와 재발급 진행

📄 참고 사항

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Status

In Progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions