My question is about GoogleConnect (with Codename One), but maybe it can be valid also for FacebookConnect.
The problem is that the following code gives me a token that changes every time: using the same username and password of Gmail, I get a different token after every login. So... how can I recognize the same user?
String token = GoogleConnect.getInstance().getAccessToken().getToken();