[NDD-172]: 로그인 완료 시 마이페이지로 리다이렉트 되도록 구현 (1h / 1h) #58
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.
Why
FE에서 로그인 완료 시 마이페이지로 리다이렉트가 되도록 요청을 하셔서 이를 반영
How
단순하게 로그인 완료 시 send로 클라이언트로 반환하던 로직을 redirect로 반환하도록 하여 마이페이지로 바로 리다이렉트 되도록 구현하였다.
Result
로그인 완료 시 마이페이지로 자동 리다이렉트
Prize
바로 필요한 페이지로 리다이렉트 되기에 UX 향상 기대
FE에서 로그인 구현 편의성 증대