Skip to content

Commit e6d4062

Browse files
committed
chore: change login redirect uri param to camel case
1 parent 853f800 commit e6d4062

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/main/java/com/climbup/climbup/auth/handler/OAuth2SuccessHandler.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,9 @@ public void onAuthenticationSuccess(HttpServletRequest request, HttpServletRespo
4848
String targetRedirectUri = determineTargetUrl(request);
4949

5050
String targetUrl = targetRedirectUri +
51-
"?access_token=" + URLEncoder.encode(tokenResponse.getAccessToken(), StandardCharsets.UTF_8) +
52-
"&refresh_token=" + URLEncoder.encode(tokenResponse.getRefreshToken(), StandardCharsets.UTF_8) +
53-
"&token_type=" + URLEncoder.encode(tokenResponse.getTokenType(), StandardCharsets.UTF_8);
51+
"?accessToken=" + URLEncoder.encode(tokenResponse.getAccessToken(), StandardCharsets.UTF_8) +
52+
"&refreshToken=" + URLEncoder.encode(tokenResponse.getRefreshToken(), StandardCharsets.UTF_8) +
53+
"&tokenType=" + URLEncoder.encode(tokenResponse.getTokenType(), StandardCharsets.UTF_8);
5454

5555
clearAuthenticationAttributes(request);
5656

0 commit comments

Comments
 (0)