This is an automated email from the ASF dual-hosted git repository.

solomax pushed a commit to branch 4.0.x
in repository https://gitbox.apache.org/repos/asf/openmeetings.git


The following commit(s) were added to refs/heads/4.0.x by this push:
     new 39dd424  [OPENMEETINGS-1970] additional logging is added
39dd424 is described below

commit 39dd424e17df65c0799053a45a9fa3569c1d5211
Author: Maxim Solodovnik <solomax...@gmail.com>
AuthorDate: Wed Dec 12 16:47:49 2018 +0700

    [OPENMEETINGS-1970] additional logging is added
---
 .../main/java/org/apache/openmeetings/web/pages/auth/SignInPage.java | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git 
a/openmeetings-web/src/main/java/org/apache/openmeetings/web/pages/auth/SignInPage.java
 
b/openmeetings-web/src/main/java/org/apache/openmeetings/web/pages/auth/SignInPage.java
index 887b7c3..4bc2667 100644
--- 
a/openmeetings-web/src/main/java/org/apache/openmeetings/web/pages/auth/SignInPage.java
+++ 
b/openmeetings-web/src/main/java/org/apache/openmeetings/web/pages/auth/SignInPage.java
@@ -279,9 +279,10 @@ public class SignInPage extends BaseInitedPage {
                        
connection.setRequestMethod(server.getRequestInfoMethod().name());
                }
                prepareConnection(connection);
-               String sourceResponse = 
IOUtils.toString(connection.getInputStream(), UTF_8);
+               String json = IOUtils.toString(connection.getInputStream(), 
UTF_8);
+               log.debug("User info={}", json);
                // parse json result
-               return new OAuthUser(sourceResponse, server);
+               return new OAuthUser(json, server);
        }
 
        private void loginViaOAuth2(OAuthUser user, long serverId) throws 
IOException, NoSuchAlgorithmException {

Reply via email to