Commit bf115406 authored by Quxl's avatar Quxl

x

parent 21589cee
......@@ -77,7 +77,7 @@ public interface OAuthApi {
OAuthClientRequest oauthResponse = builder.buildQueryMessage();
String redirectUrl = oauthResponse.getLocationUri();
redirectUrl = redirectUrl.replaceAll("\\+", "%20");
logger.debug("oauth authorization url:" + redirectUrl);
logger.debug("oauth authorization url: " + redirectUrl);
return redirectUrl;
} catch (OAuthApiException e) {
throw e;
......@@ -159,7 +159,7 @@ public interface OAuthApi {
String idToken = oAuthResponse.getParam("id_token");
String tokenType = oAuthResponse.getTokenType();
OAuthToken newToken = new OAuthToken(accessToken, refreshToken, idToken, tokenType, expiresIn);
logger.debug("oauth refresh result:" + JSON.toJSONString(newToken));
logger.debug("oauth refresh result: " + JSON.toJSONString(newToken));
session.setAttribute(OAUTH_TOKEN_SESSION, newToken);
} catch (OAuthApiException e) {
throw e;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment