Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expose IdentityIdId in cognito_credentials to upload to S3 user folder #55

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

CRJFisher
Copy link

Exposes the identity ID for the individual user so that we can upload to a specific users "folder" in S3. Also, changed the (formerly local) variable name from identityIdId to userIdentityId.

I updated the docs to show this use case since there are a few pitfalls I faced doing this e.g. assuming the ${cognito-identity.amazonaws.com:sub} policy parameter referred to the sub in the JWT token. Hopefully this save people some time.

@furaiev
Copy link

furaiev commented Dec 23, 2019

Hi,
I've copied this project in a separate package (because this one isn't supported anymore) https://pub.dev/packages/amazon_cognito_identity_dart_2
Welcome to contribute.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants