-
Notifications
You must be signed in to change notification settings - Fork 0
fix: 비회원 게스트 토큰 영속 저장 누락 — 앱 재시작 시 아이템 삭제 403 #288
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
+24
−3
Merged
Changes from all commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
c056e57
feat(@piki/core): WEB_REQ_TOKEN_REFRESHED 웹브릿지 메시지 타입 추가
84e283b
fix: 비회원 게스트 세션 앱 재시작 후 복원
696fd98
Merge branch 'dev' into fix/285-guest-token-persist
soyeong0115 7317ec5
Merge branch 'dev' into fix/285-guest-token-persist
soyeong0115 220f044
Merge branch 'dev' into fix/285-guest-token-persist
soyeong0115 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🗄️ Data Integrity & Integration | 🟠 Major | 🏗️ Heavy lift
refresh_token복원 실패 전에는 새 게스트 로그인을 노출하지 마세요.현재
/login스킵 조건이access_token유효성만 봅니다.usePostGuestLogin은 access 쿠키를 15분, refresh 쿠키를 14일로 저장하므로, 앱 재시작 시 access만 만료된 상태에서는 Line 38의LoginButtons가 렌더링되고 게스트 버튼이 새 게스트 세션을 만들 수 있습니다.refresh_token으로 세션 복원을 먼저 시도하고 실패한 경우에만 로그인 UI/게스트 생성을 허용해 주세요.Also applies to: 38-38
🤖 Prompt for AI Agents