Eccezione lanciata quando nella request a Facebook manca il token restituito nella response della login.
codice di socialAuth che lancia l’SocialAuthException:
@Override
public Profile verifyResponse(final HttpServletRequest httpReq)
throws Exception {
LOG.info("Retrieving Access Token in verify response function");
if (httpReq.getParameter("error_reason") != null
&& "user_denied".equals(httpReq.getParameter("error_reason"))) {
throw new UserDeniedPermissionException();
}
if (!isProviderState()) {
throw new ProviderStateException();
}
String code = httpReq.getParameter("code");
if (code == null || code.length() == 0) {
throw new SocialAuthException("Verification code is null");
}
