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/#2 user refresh token #36

Merged
merged 4 commits into from
Jul 30, 2024
Merged

Feat/#2 user refresh token #36

merged 4 commits into from
Jul 30, 2024

Conversation

jjjjjinseo
Copy link
Contributor

✏️ Feat

로그인 시 refreshToken도 발급, 토큰 재발급, 로그아웃 기능 구현했습니다.

refresh
authorization에 refresh 토큰을 받고, redis에 담긴 정보와 비교하여 검증되면 토큰을 재발급합니다.
refresh는 재발급 하지 않고, 똑같은 걸로 반환합니다.

sign-out
redis에서 refresh토큰을 제거합니다. 프론트는 로컬 스토리지에 담긴 토큰을 제거합니다.

feat/#2-user-refreshToken -> dev

Issue #2

@jjjjjinseo jjjjjinseo requested a review from HaHaPark July 30, 2024 07:16
@jjjjjinseo jjjjjinseo self-assigned this Jul 30, 2024
@jjjjjinseo jjjjjinseo mentioned this pull request Jul 30, 2024
10 tasks
@jjjjjinseo jjjjjinseo merged commit 8c23b0d into dev Jul 30, 2024
@jjjjjinseo jjjjjinseo deleted the feat/#2-user-refreshToken branch July 30, 2024 17:46
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

Successfully merging this pull request may close these issues.

1 participant