Skip to content

Refactor: 인증 부분 서버 컴포넌트 사용하기 #1

@rlarlduf20

Description

@rlarlduf20

Updated

라이브러리: react-kakao-login,@react-oauth/google -> next-auth

localStorage에서 관리하던 토큰들을 next-auth의 자체 session에서 관리

Expecting Outcomes

  • client-side fetching -> server-side fetching
  • localStorage에 저장했던 토큰 값 노출 X
  • zustand persist -> next-auth's session
  • next-auth의 middleware 사용으로 인증 유무 파악

ETC

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions