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

api v2도 토큰 관련 버그 수정 #186

Merged
merged 20 commits into from
Feb 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
6a43216
:sparkles: Feat : 멀티모듈 적용 및 FCM 구현
CYY1007 Jan 23, 2024
8b4b1a3
:hammer: 코드리뷰 반영
CYY1007 Jan 24, 2024
565f696
:construction_worker: Ci : deploy.yml 수정
CYY1007 Jan 24, 2024
1488ff5
:construction_worker: Ci : deploy.yml 수정
CYY1007 Jan 24, 2024
d62a063
ebextensions 수정
CYY1007 Jan 24, 2024
a0446c0
:construction_worker: Ci : deploy.yml 오타 수정
CYY1007 Jan 24, 2024
a2910eb
ci 스크립트 수정
CYY1007 Jan 24, 2024
8fbd2db
ci/cd 트러블 슈팅
CYY1007 Jan 24, 2024
58e9e68
Merge branch 'develop' of https://github.com/Team-Shaka/Briefing-Back…
CYY1007 Jan 24, 2024
4f9cfe2
ci/cd 트러블 슈팅
CYY1007 Jan 24, 2024
88426f4
ci/cd 트러블슈팅
CYY1007 Jan 24, 2024
6eb22ca
Merge branch 'develop' of https://github.com/Team-Shaka/Briefing-Back…
CYY1007 Feb 8, 2024
cc79f93
Merge branch 'develop' of https://github.com/Team-Shaka/Briefing-Back…
CYY1007 Feb 16, 2024
ad6a448
:bug: Fix : accessToken 테스트를 위한 유효시간 임시 변경
CYY1007 Feb 16, 2024
0f9bfe4
:bug: Fix : 리프레시 토큰 무조건 access Token과 재발급 되도록 수정
CYY1007 Feb 16, 2024
31a74d6
:bug: Fix : 토큰 관련 spring security 설정 수정
CYY1007 Feb 16, 2024
1768379
:bug: Fix : access token, refresh 토큰 유효시간 수정
CYY1007 Feb 16, 2024
fab90fd
Merge branch 'develop' of https://github.com/Team-Shaka/Briefing-Back…
CYY1007 Feb 16, 2024
7771fe4
conflict resolve
CYY1007 Feb 16, 2024
61bdcf3
:bug: Fix : v2에도 적용
CYY1007 Feb 16, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public RefreshToken generateRefreshToken(String socialId, SocialType socialType)

LocalDateTime currentTime = LocalDateTime.now();

LocalDateTime expireTime = currentTime.plus(90, ChronoUnit.SECONDS);
LocalDateTime expireTime = currentTime.plus(62, ChronoUnit.SECONDS);

return refreshTokenRepository.save(
RefreshToken.builder()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ public WebSecurityCustomizer webSecurityCustomizer() {
"/schedule",
"/v3/api-docs",
"/v3/api-docs/**",
"/docs/**","/fcms/**","/members/auth/**",
"/docs/**","/fcms/**","/members/auth/**","/v2/members/auth/**",
"/briefings/temp");
}

Expand Down
4 changes: 2 additions & 2 deletions Briefing-Api/src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ jwt:
# dev server
secret: ${JWT_SECRET}
authorities-key: authoritiesKey
access-token-validity-in-seconds: 1210000000 # 30 m
access-token-validity-in-seconds: 30000
refresh-token-validity-in-seconds: 1210000000 # 14 d

openai:
Expand Down Expand Up @@ -119,7 +119,7 @@ jwt:
secret: ${JWT_SECRET}
# secret : ${JWT_SECRET}
authorities-key: authoritiesKey
access-token-validity-in-seconds: 30 # 30 m
access-token-validity-in-seconds: 30000 # 30 m
refresh-token-validity-in-seconds: 1210000000 # 14 d

openai:
Expand Down
Loading