-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: 이미 가입한 이메일로 소셜 로그인할 경우 리다이렉트 구현 * refactor: 토스트 모달 메세지 상수로 수정 * feat: 소셜 로그인 회원의 경우 비밀번호 검증 없이 회원 정보 수정이 가능하도록 구현 * refactor: member 타입의 signupType 값 수정 * refactor: 리프레시 토큰을 이용한 토큰 재발급으로 로그인 유지 * refactor: 로그아웃 알림을 토스트 모달로 처리 * refactor: 리덕스에 토큰이 담겨 있으면 토큰 재발급을 실행하지 않도록 수정 * refactor: interceptor에서 토큰 재발급 실패 시 로그인 페이지로 이동 * feat: 토큰 재발급 함수를 위한 axios instance 선언 * refactor: 토큰 재발급 함수 주석 수정 * refactor: id 대신 토큰으로 단일 회원 정보를 가져오도록 api 훅 수정 및 적용 * refactor: 로그인 및 회원 정보 수정 시 바로 헤더에 반영되도록 쿼리 키 무효화 * feat: 리프레시 토큰 만료 시 alert 후 로그인 페이지로 이동 * refactor: 로그인 관련 메세지를 상수로 처리 * refactor: 불필요한 주석 제거 * refactor: useIsMobile 임포트 위치 수정 * refactor: 불필요한 주석 제거 * refactor: 비회원 여부 처리 오타 수정 * refactor: 로그인 만료 메시지 상수 오타 수정 * refactor: Header 컴포넌트에서 사용하지 않는 import문 삭제 * refactor: 쿠키에 리프레시 토큰이 존재하면 액세스 토큰 재발급으로 로그인을 유지하도록 로컬 스토리지 로직 삭제 * refactor: 액세스 토큰 재발급 함수를 auth 파일로 분리 * refactor: 헤더에 직접적으로 토큰을 담는 로직 제거 및 회원 쿼리키 무효화 * refactor: auth 파일의 getRefreshToken 함수를 interceptor 파일로 이동
- Loading branch information
Showing
24 changed files
with
221 additions
and
225 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.