var poolData = {
UserPoolId : userPoolId,
ClientId : poolClientId
}
var userPool = new AWSCognito.CognitoIdentityServiceProvider.CognitoUserPool(poolData);
var cognitoUser = userPool.getCurrentUser();
this is the piece of code where i am trying to check for current user. cognitoUser when i print in console of chrome it is actually giving me valid tokens. But IE is actually giving me null.
"cognitoUser:" null
Because of which my app is ruuning on chrome but not working in IE.Can you please let me know what i need to do?
Thanks.
Hi,
this is the piece of code where i am trying to check for current user. cognitoUser when i print in console of chrome it is actually giving me valid tokens. But IE is actually giving me null. "cognitoUser:" null
Because of which my app is ruuning on chrome but not working in IE.Can you please let me know what i need to do? Thanks.