Skip to content

Commit

Permalink
🐛 Fix : accessToken 테스트를 위한 유효시간 임시 변경 (#182)
Browse files Browse the repository at this point in the history
  • Loading branch information
CYY1007 authored Feb 16, 2024
1 parent 4e95e8f commit 33598d4
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,13 @@ public CommonResponse<MemberResponse.TestTokenDTO> testGenerateToken() {

@Operation(summary = "02-01 Member\uD83D\uDC64 소셜 로그인 V1", description = "구글, 애플 소셜로그인 API입니다.")
@PostMapping("/members/auth/{socialType}")
@ApiResponses({
@ApiResponse(responseCode = "1000", description = "OK, 성공"),
@ApiResponse(
responseCode = "COMMON001",
description = "request body에 담길 값이 이상함, result를 확인해주세요!",
content = @Content(schema = @Schema(implementation = CommonResponse.class))),
})
public CommonResponse<MemberResponse.LoginDTO> login(
@Parameter(description = "소셜로그인 종류", example = "google") @PathVariable
final SocialType socialType,
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 @@ -119,7 +119,7 @@ jwt:
secret: ${JWT_SECRET}
# secret : ${JWT_SECRET}
authorities-key: authoritiesKey
access-token-validity-in-seconds: 1210000000 # 30 m
access-token-validity-in-seconds: 30 # 30 m
refresh-token-validity-in-seconds: 1210000000 # 14 d

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

openai:
Expand Down

0 comments on commit 33598d4

Please sign in to comment.