I'm working on a cordova app and using aws cognito user pool and identity pool to authenticate users and access resources in AWS such as lambda, RDS etc.
With a simple signup using email and password, cognito identity pool has been working fine. However now I am trying to integrate facebook login. I can get facebook login using cordova facebook plugin and can get aws credentials using the facebook access token. But the problem is that a facebook user doesnt get created in cognito user pool.
P.S. I'm using aws-cognito-identity-sdk
library from aws in my cordova app.
Is there any working example and/or documentation regarding this issue?