Hello,
I search a solution for this stacktrace
[2014-01-03 12:06:44,668][ERROR][EntrypointRestlet] Verification code is null
org.brickred.socialauth.exception.SocialAuthException: Verification code is null
at org.brickred.socialauth.oauthstrategy.OAuth2.verifyResponse(OAuth2.java:136) ~[na:na]
at org.brickred.socialauth.oauthstrategy.OAuth2.verifyResponse(OAuth2.java:102) ~[na:na]
at org.brickred.socialauth.provider.FacebookImpl.doVerifyResponse(FacebookImpl.java:188) ~[na:na]
at org.brickred.socialauth.provider.FacebookImpl.verifyResponse(FacebookImpl.java:178) ~[na:na]
at org.brickred.socialauth.SocialAuthManager.connect(SocialAuthManager.java:184) ~[na:na]
I print out my configuration and see all data i need
Map<String,String> map = new HashMap<String,String>();
ObjectMapper mapper = new ObjectMapper();
map = mapper.readValue(entity.getText(),
new TypeReference<HashMap<String,String>>(){});
System.out.println(map);
System.out.println(map.size());
System.out.println(manager.getSocialAuthConfig().getApplicationProperties().get("graph.facebook.com.consumer_key"));
System.out.println(manager.getSocialAuthConfig().getApplicationProperties().get("graph.facebook.com.consumer_secret"));
AuthProvider provider = manager.connect(map);
Profile p = provider.getUserProfile();
System.out.println(p.getFirstName());
System.out.println(p.getCountry());
System.out.println(p.getDisplayName());
System.out.println(p.getEmail());
System.out.println(p.getGender());
System.out.println(p.getProfileImageURL());
I don't understand what's. I find some topic who doesn't help me, sometimes they said to update socialauth jar, but i've the last one (4.3)
I working with my standalone Restlet server and don't using specific other jar.
Thanks for your help