I have an AWS Cognito User Pool that I am trying to add Facebook login to on an Android application. My application currently signs in with facebook successfully but does not create a user in my user pool. I have followed the instructions here
and the test url creates a user (https://my_pool/login?response_type=code&client_id=my_id&redirect_uri=app://). Inside my app I get a successful response from Facebook and have configured my Facebook Developer App with the settings in the url. Can anyone help as to why there is no user created?
LoginManager.getInstance().registerCallback(mFacebookCallbackManager,
new FacebookCallback<LoginResult>() {
@Override
public void onSuccess(LoginResult loginResult) {
// App code
Log.d(TAG, "Success");
--> This is called.
}
@Override
public void onCancel() {
// App code
Log.d(TAG, "onCancel");
}
@Override
public void onError(FacebookException exception) {
// App code
Log.d(TAG, "onError");
}
});