Skip to content
This repository has been archived by the owner on May 19, 2024. It is now read-only.

Commit

Permalink
[WEAV-63] 토큰 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
waterfogSW committed Jan 25, 2024
1 parent aa5789c commit 6a19aed
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ import org.springframework.web.bind.annotation.*
interface AuthApi {

@Operation(summary = "Social Login")
@GetMapping("/login/oauth2/code/{provider}")
@GetMapping("/login/oauth2/{provider}")
@ResponseStatus(HttpStatus.OK)
fun socialLogin(
@PathVariable provider: SocialLoginProvider,
@RequestParam code: String
@RequestParam idToken: String
): SocialLoginResponse

@Operation(summary = "Refresh Login Token")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import org.springframework.web.bind.annotation.RestController
class AuthRestController: AuthApi {
override fun socialLogin(
provider: SocialLoginProvider,
code: String,
idToken: String,
): SocialLoginResponse {
return SocialLoginResponse.Success(
accessToken = "test_access_token",
Expand Down

0 comments on commit 6a19aed

Please sign in to comment.