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

구매 유저 로그인 #5

Closed
4 tasks
Yunjaejo opened this issue Feb 5, 2025 · 0 comments
Closed
4 tasks

구매 유저 로그인 #5

Yunjaejo opened this issue Feb 5, 2025 · 0 comments

Comments

@Yunjaejo
Copy link
Collaborator

Yunjaejo commented Feb 5, 2025

  • 필요 의존성 추가: jjwt
  • 로그인 요청 DTO 작성
  • 구현
  • 테스트

  1. 로그인 시 email 과 pwd 를 받는다.
  2. accessToken 10분, refreshToken 14일
  3. 성공하면 200응답과 { accessToken: String } 을 내려준다.
  4. refreshToken 은 httpOnly cookie 로 저장한다.
  5. refreshToken 은 customer_refresh_tokens 테이블에 저장한다.
@Yunjaejo Yunjaejo closed this as completed Mar 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

When branches are created from issues, their pull requests are automatically linked.

1 participant