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 Cognito: Customize default invitation message

We use AWS Cognito for authentication. When we create a user, Cognito sends the following email with the following message: Your username is {username} and temporary password is {####}. as we know, the user is created with FORCE_NEW_PASSWORD…
Annet
  • 673
  • 1
  • 7
  • 17
3
votes
1 answer

AWS Cognito User Pool - read-only client

The question is already stated in the title - is there any way to create an App client for Amazon Cognito User Pool, which will have read permissions only? It's a bit weird but when I untick all the boxes in "Writable Attributes" section (User pool…
Dmitry Deryabin
  • 1,518
  • 2
  • 14
  • 27
3
votes
1 answer

Android: user login Amazon cognito and transfer data to and from Amazon S3

I was wondering if someone can help me with the following concept in android. I want users to create an account and login on my application, using amazon cognito, to identify their identity. Once a user is logged in this user can download a personal…
3
votes
3 answers

How pass json value for admin-update-user-attributes operation via cli in aws?

Consider the example: aws cognito-idp admin-update-user-attributes --user-pool-id myUserPollId --username myUser --user-attributes [{"Name": "custom:roles","Value": "ROLE1,ROLE2"}] --region us-east-1 This gets me error: Invalid JSON: [{Name:
Cherry
  • 31,309
  • 66
  • 224
  • 364
3
votes
1 answer

Trouble getting cognito JWT token back when using Google sign in

Having trouble getting API Gateway JWT Token using Google Sign In. Use Case: We have a cognito user pool set up to use Google as an Identity provider. We also have a set of API endpoints in API Gateway, some of which require an Authorization header…
3
votes
1 answer

AWS - Is there a way to 'hook' into when a federated identity is created for the first time?

I have a Cognito Identity Pool that is used to authenticate my front end users, as well as give them certain permissions in my application. However, I have encountered an issue with giving these users permission to access IoT, which involves…
3
votes
1 answer

Steps to integrate AWS Cognito with both google and custom login with React

Hi Can anyone let me know the steps to integrate AWS cognito for both custom (username/password) and google sign in ? i am able to get the custom login working without issue. I was able to configure the user pool with out any issue. I am just…
Roshan Fernando
  • 87
  • 1
  • 10
3
votes
1 answer

Get Facebook access token in AWS Cognito and Lambda

I'm creating a small API using Amazon's AWS Cognito as well as Lambda and a Facebook Login. When a user / my App sends an API request to Lambda, Cognito does a good job and authenticates the user with it's Facebook-Login on the fly. My point is…
3
votes
1 answer

Retrieve IdentityId for a Cognito User

First off, I've read through similar questions: Using AWS Cognito can I resolve the authenticated IdentityId given a disabled unauthenticated IdentityId? AWS Lambda API gateway with Cognito - how to use IdentityId to access and update UserPool…
3
votes
1 answer

Boto3 - Authenticating with Amazon Cognito without using access keys

I'm developing a python script that interacts with a web service that uses Amazon Cognito (with which I'm unfamiliar) as the authentication backend and I'm having difficulties logging in. My main issue is that boto3 requires both the AWS access key…
3
votes
2 answers

Can you manually set 'phone_number_verified' to true on an AWS Cognito user, without having the end user need to interact with your web-app?

We just solved an issue where entering a wrong phone number (starting digit was missing) resulted in 'phone_number_verified' defaulting to false. Now that the issue is resolved, we do still have a lot of registered users who have had an activation…
3
votes
1 answer

Amazon time for user can access the AWS Management Console not changing

I have a rails application and I have implemented AWS Cognito for external federated identities, that working fine. Now I pass SAML response to get_credentials_for_identity and I get valid response but the credentials I get are valid for 60 minutes…
3
votes
1 answer

aws cognito && apiGateway returns status 401

I did cors configuration in response header of my api correctly. when I tested my api via postman with a validated token attached in header('Authorization'), it returned 200. i checked my frontend fetch code to request that api, it seems that…
3
votes
1 answer

Which AWS JS SDK package(s) to use for Cognito?

As of now, there are at least 5 packages for the AWS SDK as it pertains to Cognito. Custom built via multiple mechanisms:…
Kevin Suttle
  • 8,358
  • 3
  • 33
  • 37
3
votes
1 answer

Cognito Users in Multi Tenant Webapp

We want to realize a multi tenant application where we want to utilize: AWS Cognito as our user pool AWS DynamoDB for most of our data As we are following a pooled approach, our DynamoDB data would have the tenantID as a primary key. Also all…
pfried
  • 5,000
  • 2
  • 38
  • 71
1 2 3
99
100