Having trouble understanding the authorization flow of FB users and AWS Cognito User Pools. I have followed this guid.
- facebook login app has my redirect uri
https://<cognitoname>.auth.us-east-1.amazoncognito.com/oauth2/idpresponse
- aws cognito has my facebook appid and secret
Two issues:
1) I'm expecting when my android app authenticates with fb (via login button), the fb server sends something to my userpool adding that user. that is not happening. I dont see a method in the CognitoUser
object to do this on my end with the loginResult from fb. No user is getting created in the userpool upon fb auth.
2) Assuming a fb user were to be created in my pool, how would I call getSessionInBackground without the password? It does not look like the android Congito Classes have a way to handle this.
Also, i am able to log in a fb user to a federated identity but i dont think that is what i want unless its part of the user pool process.