-
Notifications
You must be signed in to change notification settings - Fork 6
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: refresh token을 도입한다 #818
base: develop
Are you sure you want to change the base?
Conversation
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.
추석인데 고생하셨습니다! 역시 깔끔하네요
맛있는 거 드시고 쉬엄쉬엄 하세요 즐거운 연휴 보내세요 👍
.httpOnly(true) | ||
.build(); | ||
} | ||
|
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.
개행 삭제해주세요
@@ -77,9 +93,50 @@ public class AuthControllerTest extends MockBeanInjection { | |||
), | |||
responseFields( | |||
fieldWithPath("token").description("Access token") | |||
), | |||
responseHeaders( //응답 헤더 문서화 |
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.
주석은 없애주세요~
import org.springframework.web.servlet.config.annotation.WebMvcConfigurer; | ||
|
||
import javax.servlet.Filter; | ||
|
||
@Profile("!test") |
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.
이 부분이 잘 이해가 안가는데요 Profile을 이와 같이 설정한 이유가 무엇인가요??
return ResponseCookie.from(REFRESH_TOKEN, refreshToken) | ||
.maxAge(Duration.ofMillis(expireLength)) | ||
.path(VALID_COOKIE_PATH) | ||
.sameSite("None") |
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.
sameSite None 아주 좋네요 👍
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.
어우 정말 오랜만이네요 반가워요
📄 Summary
🕰️ Actual Time of Completion
🙋🏻 More
close #815