Merged
Conversation
AuthLayout 컴포넌트를 추가하여 인증이 필요한 페이지에 접근 제한을 구현하고, 라우터에 적용하여 전역적으로 인증 로직을 처리하도록 변경했습니다 - 인증되지 않은 사용자가 로그인/계정찾기/비밀번호 재설정 페이지 외의 페이지에 접근 시 로그인 페이지로 리다이렉트합니다 - `access_token` 쿠키를 확인하여 인증 상태를 확인합니다 - `AuthLayout` 컴포넌트는 인증 여부에 따라 페이지 접근을 제어하고, 인증된 경우 하위 라우트를 렌더링합니다
Closed
3 tasks
ToastHandler 컴포넌트를 추가하여 토스트 메시지를 표시하고, api 에러 핸들링을 개선하여 사용자에게 더 명확한 오류 메시지를 제공합니다 - ToastHandler 컴포넌트 추가: `eventBus`를 통해 발생하는 `showToast` 이벤트를 구독하여 토스트 메시지를 표시합니다 - api 에러 핸들링 개선: - 400 에러 발생 시 `field_error`에 대한 상세 메시지를 표시합니다 - 에러 발생 시 `eventBus`를 통해 `showToast` 이벤트를 발생시켜 사용자에게 알립니다 - 알 수 없는 오류 발생 시 기본 오류 메시지를 표시합니다
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
개요
AuthLayout 컴포넌트를 추가하여 인증이 필요한 페이지에 접근 제한을 구현하고,
라우터에 적용하여 전역적으로 인증 로직을 처리하도록 변경했습니다
이슈 번호
변경사항
access_token쿠키를 확인하여 인증 상태를 확인합니다AuthLayout컴포넌트는 인증 여부에 따라 페이지 접근을 제어하고, 인증된 경우 하위 라우트를 렌더링합니다