Skip to content

Commit

Permalink
[FIX] google login hotfix
Browse files Browse the repository at this point in the history
  • Loading branch information
k0000k committed Jan 5, 2024
1 parent 16f1b03 commit 44f69a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/com/easyvel/server/sign/SignController.java
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ public String appleLogin(@Validated @RequestBody GetTokensDto getTokensDto) thro
return signIn(signInDto);
}

@PostMapping(value = "/google-login")
@GetMapping(value = "/google-login")
public String googleLogin(@RequestParam("code") String code) throws Exception {
GetGoogleTokenResponse getGoogleTokenResponse = googleAuthService.getTokensResponse(code);
String uid = signService.getGoogleID(getGoogleTokenResponse.getTokenResponse().getId_token());
Expand Down

0 comments on commit 44f69a1

Please sign in to comment.