Skip to content

The 1st example with mapping doesn't work #7

@bz123

Description

@bz123

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions