You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 26, 2020. It is now read-only.
I implemented, login, signup from your project. After successful login I am directly redirecting it to JWT. It displays the tokens. But When I tried printing the CognitoIdentityCredentials object it shows nothing.
I have done this in JWT callbackWithParam function:
AWS.config.credentials is a magic wrapper over credentials, and its asynchronous operation to get temporary keys.
Try .get() or .refresh() methods on credentials object.
You can create promise:
Hi,
I implemented your code in my angular project. I am able to fetch tokenID from AWS Cognito after verification but when I see credentials, it shows
accessKeyId:undefined
data:null
expireTime:null
expired:true
I implemented, login, signup from your project. After successful login I am directly redirecting it to JWT. It displays the tokens. But When I tried printing the CognitoIdentityCredentials object it shows nothing.
I have done this in JWT callbackWithParam function:
AWS.config.credentials = new AWS.CognitoIdentityCredentials({
IdentityPoolId: environment.identityPoolId,
Logins: {
'cognito-idp.{{region}}.amazonaws.com/{{userpoolid}}' : idToken
}
});
Any idea what I might be doing wrong?
Regards,
Shorabh
The text was updated successfully, but these errors were encountered: