Skip to content

Commit

Permalink
Merge pull request #310 from fourix4/dev
Browse files Browse the repository at this point in the history
chore : google 로그인 redirect_uri 변경
  • Loading branch information
TaeHoon0 authored Aug 9, 2024
2 parents 103da62 + fa63a9f commit 0765059
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,8 @@ 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", redirectUri);
params.put("redirect_uri", "http://localhost:3000/oauthgoogle");
// google에서 token 받기
ResponseEntity<String> response = rt.postForEntity("https://oauth2.googleapis.com/token", params, String.class);
// token에서 값 추출
Expand Down

0 comments on commit 0765059

Please sign in to comment.