Skip to content

Commit

Permalink
Merge pull request #318 from fourix4/dev
Browse files Browse the repository at this point in the history
refactor : google login redirect 변경
  • Loading branch information
TaeHoon0 authored Aug 19, 2024
2 parents 019ae3b + 0931a3a commit 8f8c7ab
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,7 @@ public GoogleOAuthToken getAccessToken(String code) {
params.put("client_id", clientId);
params.put("client_secret", clientSecret);
params.put("code", code);
//params.put("redirect_uri", redirectUri);
params.put("redirect_uri", "http://localhost:3000/oauthgoogle");
params.put("redirect_uri", redirectUri);
// google에서 token 받기
ResponseEntity<String> response = rt.postForEntity("https://oauth2.googleapis.com/token", params, String.class);
// token에서 값 추출
Expand Down

0 comments on commit 8f8c7ab

Please sign in to comment.