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

Refactor: auth guard 에서 user id parameter 검증하도록 수정 #45

Open
1 of 2 tasks
jokj624 opened this issue Jan 15, 2023 · 0 comments
Open
1 of 2 tasks

Comments

@jokj624
Copy link
Member

jokj624 commented Jan 15, 2023

🚅 Issue 한 줄 요약

auth guard 에서 access token 에 담긴 id 가 실제 db 에 존재하는 유효 id 인지 검증해서 user body 를 담아 보낼 수 있도록 수정
이렇게 되면 service단에서 user db에서 id 꺼내서 개별적으로 검증 안해도 됨

🤷 Issue 세부 내용

  • auth guard 에서 user id 검증
  • db에서 user 받아서 반환
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant