Skip to content
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

[FEAT] Room join, create 시 회원 관련 데이터 쿠키로 전달하도록 구현 #212

Open
2 tasks
Tracked by #196
PgmJun opened this issue Aug 19, 2024 · 1 comment
Open
2 tasks
Tracked by #196
Assignees
Labels
🍃 BE back end ✨ feat 기능 추가
Milestone

Comments

@PgmJun
Copy link
Member

PgmJun commented Aug 19, 2024

Description 💭

Room join, create 시 memberId 데이터를 세션 쿠키로 전달한다.

TODO ✅

  • 쿠키에 httpOnly, security 옵션을 설정하여 안전하게 관리
  • 나가기 API 호출 시, Cookie max-age 0 처리 by @leegwichan

Reference 🔎

@PgmJun PgmJun self-assigned this Aug 19, 2024
@PgmJun PgmJun added ✨ feat 기능 추가 🍃 BE back end labels Aug 19, 2024
@PgmJun PgmJun added this to the BE Sprint4 milestone Aug 19, 2024
@PgmJun PgmJun changed the title Room join, create 시 쿠키로 데이터 전달 Room join, create 시 회원 관련 데이터 쿠키로 전달하도록 구현 Aug 19, 2024
@PgmJun PgmJun changed the title Room join, create 시 회원 관련 데이터 쿠키로 전달하도록 구현 [FEAT] Room join, create 시 회원 관련 데이터 쿠키로 전달하도록 구현 Aug 19, 2024
@PgmJun
Copy link
Member Author

PgmJun commented Aug 19, 2024

기존 쿠키의 필요 이유

새로고침 하면 유저 정보가 날라간다.

현재 클라이언트의 쿠키 관련 설정

슬라이드로 새로고침 하는 것을 막았고, 버튼으로 새로고침 시도 시 새로고침을 하면 방에서 나가질 수 있다는 노티를 띄움

결론

현재는 쿠키의 필요성이 없음.
멤버 인증만 어떻게 처리할 지 고려

@PgmJun PgmJun closed this as completed Aug 19, 2024
@PgmJun PgmJun reopened this Aug 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🍃 BE back end ✨ feat 기능 추가
Projects
Status: Done
Development

No branches or pull requests

1 participant