Skip to content

Commit

Permalink
Merge pull request #16 from SWM-WeLike2Coding/fix/oauth
Browse files Browse the repository at this point in the history
fix: 리다이렉트 주소지 변경
  • Loading branch information
kjungw1025 authored Jul 28, 2024
2 parents 28540b0 + 1dc403e commit d9da528
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ public ResponseEntity<String> processCallback(String code) {
AuthenticationToken token = jwtProvider.issue(user);
userInfoService.cacheUserInfo(user.getId(), user);

String redirectUrl = "flutteroauth://callback?access_token=" + token.getAccessToken() + "&refresh_token=" + token.getRefreshToken();
String redirectUrl = "elswhere://callback?access_token=" + token.getAccessToken() + "&refresh_token=" + token.getRefreshToken();
return ResponseEntity.status(302).header("Location", redirectUrl).build();

} else {
Expand Down

0 comments on commit d9da528

Please sign in to comment.