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
Thanks for all the work you've done but am having an issue with mapping.
This part of the first example doesn't seem to work: Config.credentials = new CognitoIdentityCredentials({ IdentityPoolId: appConfig.IdentityPoolId, Logins: { [cognito-idp.${appConfig.region}.amazonaws.com/${appConfig.UserPoolId}]: result.getIdToken().getJwtToken() } });
On my online dashboard for that userpool I can't see that specific user being logged in.
Same happens when am trying to map back a facebook access token to generate a JWT token from the session.
Any Ideas?
The text was updated successfully, but these errors were encountered:
Are you using react native facebook login to get an access token? The way it works is you need the access token from Facebook sdk and pass that to the Logins array in cognito. Then when credentials is set you'll be able to get a session off the user.
Thanks for all the work you've done but am having an issue with mapping.
This part of the first example doesn't seem to work:
Config.credentials = new CognitoIdentityCredentials({ IdentityPoolId: appConfig.IdentityPoolId, Logins: { [
cognito-idp.${appConfig.region}.amazonaws.com/${appConfig.UserPoolId}]: result.getIdToken().getJwtToken() } });
On my online dashboard for that userpool I can't see that specific user being logged in.
Same happens when am trying to map back a facebook access token to generate a JWT token from the session.
Any Ideas?
The text was updated successfully, but these errors were encountered: