-
Notifications
You must be signed in to change notification settings - Fork 2
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: 사용자 인증을 위한 jwt 인증 프로세스를 구현한다. #41
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mockMvc 테스트 시 csrf 토큰을 필수로 포함시켜야 함. restDocs와의 충돌로 이를 헤더에 담아서 보내도록 변경함.
hseong3243
requested review from
pushedrumex,
funnysunny08 and
bjo6300
as code owners
October 31, 2023 16:10
bjo6300
previously approved these changes
Oct 31, 2023
src/main/java/com/clova/anifriends/domain/auth/controller/request/LoginRequest.java
Outdated
Show resolved
Hide resolved
bjo6300
previously approved these changes
Oct 31, 2023
src/main/java/com/clova/anifriends/domain/volunteer/repository/VolunteerRepository.java
Show resolved
Hide resolved
pushedrumex
requested changes
Nov 1, 2023
src/test/java/com/clova/anifriends/domain/auth/jwt/JJwtProviderTest.java
Outdated
Show resolved
Hide resolved
src/test/java/com/clova/anifriends/domain/auth/jwt/JJwtProviderTest.java
Outdated
Show resolved
Hide resolved
src/test/java/com/clova/anifriends/domain/auth/jwt/JJwtProviderTest.java
Outdated
Show resolved
Hide resolved
src/test/java/com/clova/anifriends/domain/auth/service/AuthServiceTest.java
Show resolved
Hide resolved
Kudos, SonarCloud Quality Gate passed! |
bjo6300
approved these changes
Nov 1, 2023
funnysunny08
approved these changes
Nov 1, 2023
pushedrumex
approved these changes
Nov 1, 2023
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
고생하셨습니당
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
⛏ 작업 사항
@LoginUser
어노테이션을 사용해주시면 됩니다.LoginArgumentResolver
가SecurityContext
로부터 인증 객체를 꺼내고, 인증 객체에 들어있는 로그인한 사용자 id 값을 가져옵니다.📝 작업 요약
💡 관련 이슈