code: function onGetRedirectResult() {
    auth.getRedirectResult().then(function(response) {
      log('Redirect results:');
      if (response.credential) {
        log('Credential:');
        log(response.credential);
      } else {
        log('No credential');
      }
      if (response.user) {
        log('User\'s id:');
        log(response.user.uid);
      } else {
        log('No user');
      }
      logAdditionalUserInfo(response);
      console.log(response);
    }, onAuthError);
  }
docs: Displays redirect result.