Questions tagged [amazon-cognito]

Amazon Cognito is a simple user identity and data synchronization service that helps securely manage and synchronize mobile app data.

Amazon Cognito lets you add user sign-up, sign-in, and access control to your web and mobile apps quickly and easily. Amazon Cognito scales to millions of users and supports sign-in with social identity providers, such as Apple, Facebook, Google, and Amazon, and enterprise identity providers via SAML 2.0 and OpenID Connect.

Work Offline

You can use the optional Amazon Cognito client SDKs to automatically create a local data store to cache user app data on the device. This means your app can keep reading and writing data regardless of the device connectivity state.

Store and Sync across Devices

With Amazon Cognito you can easily synchronize app data across all of an end user’s devices. Amazon Cognito manages the complexity of conflict resolution and intermittent network connectivity so that your app can always deliver a great user experience.

Control Access to AWS Resources

You can use the unique user identifiers that Amazon Cognito generates in your access policies to enable or restrict access to other AWS resources on a per-user basis.

Safeguard AWS Credentials

When you use Amazon Cognito, the service takes care of all the steps necessary to create a unique identifier for your app’s users and retrieve temporary, limited privilege AWS credentials.

Interaction with other Amazon services AWS Cognito can interoperate with AWS SES, AWS SNS, AWS Lambda, and more.

http://aws.amazon.com/cognito/

7147 questions
3
votes
1 answer

AWS CloudFormation - Any way to use an intrinsic function as an object key?

I have this role attachment resource that as is, deploys just fine: CognitoIdentityPoolRoleAttachment: DependsOn: [ CognitoIdentityPool, CognitoIdentityPoolAuthRole, CognitoIdentityPoolUnauthRole ] Type:…
3
votes
1 answer

What is the correct Access Token URI for AWS Cognito and Alexa account linking?

I am a bit confused as to how to setup Cognito as a provider for account linking in Alexa. So far in Alexa, I have the following: Authorization…
Daniel
  • 2,355
  • 9
  • 23
  • 30
3
votes
0 answers

Can't authenticate with AWS Cognito

Can someone help me to figure out why this code does not work? services/auth.js import { CognitoUserPool, CognitoUserAttribute, CognitoUser, AuthenticationDetails } from 'react-native-aws-cognito-js'; const COGNITO_POOL = new…
3
votes
0 answers

Accessing JWT token in ios sdk

I am currently using the ios sdk, does anyone know how to get the jwt token? Can an unauthenticated user get a jwt token?
WeCanBeFriends
  • 641
  • 1
  • 10
  • 23
3
votes
2 answers

How to link my mobile hub with my existing cognito user pool?

I'm following these pages to use cognito on my mobile app https://docs.aws.amazon.com/aws-mobile/latest/developerguide/getting-started.html and https://aws.amazon.com/blogs/mobile/easy-sign-in-and-sign-up-ui-with-the-aws-mobile-sdk-for-android/ I…
casolorz
  • 8,486
  • 19
  • 93
  • 200
3
votes
1 answer

AWS Cognito userpool changed email address pointless validation code?

i have set up a user pool using option 2 ( see docs here ) where i use the email address to sign in together with a password. users are able to register and log in successfully. users can successfully change the email address. i then use this code…
Clive Sargeant
  • 622
  • 11
  • 24
3
votes
2 answers

DynamoDB fine-grained access control: is it possible to use ${cognito-identity.amazonaws.com:email}?

My users have Cognito accounts. According to this article we can restrict access to the DynamoDB API with policy like that: { "Version": "2012-10-17", "Statement": [ { "Effect": "Allow", "Action": [ …
3
votes
2 answers

How to refresh google+ auth token for S3 access

I have a cordova app that is using the cordova-plugin-googleplus to allow users to authenticate with their google+ account. The app also gives the user access to an S3 bucket to upload photos via the aws sdk. To make this happen we are using AWS…
d512
  • 32,267
  • 28
  • 81
  • 107
3
votes
1 answer

AWS cognito - Can we modify the redirect URL supplied by Amazon Cognito when it authenticates using google provider

AWS cognito doc says Developers must add Amazon Cognito User Pool domain URL https://your-user-pool-domain/oauth2/idpresponse in the Google app's Authorized redirect URIs. Is it possible to modify the redirect url provided by cognito when signing…
Praveen
  • 697
  • 6
  • 21
3
votes
3 answers

How to work with AWS Cognito in production environment?

I am working on an application in which I am using AWS Cognito to store users data. I am working on understanding how to manage the back-up and disaster recovery scenarios for Cognito! Following are the main queries I have: I wanted to know what is…
Rakesh Pacharne
  • 81
  • 2
  • 10
3
votes
1 answer

Creating a login with AWS cognito and javascript

I am creating a login page. The idea is to take the username and password then use that to get an id token from AWS cognito user pool. Then I need to store the token in a database and transfer that token to index.html along with the username. This…
3
votes
1 answer

authenticate a user using cognito aws-sdk-cpp

I have been trying to create a user login using the aws-sdk-cpp. I essentially would like a user to register using my app as a user (which will add them to the cognito user pool - I have this working), and then log-in. This login will then provide…
manishpin
  • 33
  • 4
3
votes
1 answer

How to proceed with AD FS SAML for AWS Cognito?

I am setting up AD FS to generate metadata for SAML to connect to AWS Cognito User pools. I already generated the xml metadata and uploaded it to the User pool. Should I create Trust relays on AD FS site? Is there any other steps to make my AD users…
France Belua
  • 65
  • 3
  • 9
3
votes
1 answer

AWS Cognito Developer Authenticated Identities and Upload to S3

Im trying to authenticate AWS Cognito Service to upload images to S3 bucket.I tried to followed "http://docs.aws.amazon.com/cognito/latest/developerguide/developer-authenticated-identities.html", but Im getting confused. I want to authenticate using…
3
votes
2 answers

How to validate AWS Cognito session code returned from Cognito CustomUI login page

I configured Cognito to use the custom website that AWS Cognito provides for signup/signin as specified here: https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pools-app-ui-customization.html I am perfectly able to signup and…
KGs
  • 913
  • 11
  • 19