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
2 answers

Access Congito authorized AppSync API from a Lambda function

I want to invoke mutations on my AppSync API from Lambda functions in response to external events. Now I have been able to do this if I set AppSync to use IAM authorization and then provide access in the role of my Lambda function. The problem is…
Gerharddc
  • 3,921
  • 8
  • 45
  • 83
3
votes
0 answers

Is there a way to log Cognito sign up errors on AWS panels?

I have an Android application that uses the AWS Cognito API to sign up users. Sometimes, the sign up process can fail (for example, if user enters a invalid password). In this case, a error message will be launched on the application. But,…
w.dev
  • 31
  • 3
3
votes
2 answers

Customize AWS Amplify cognito login/register component?

In the tutorial - https://medium.com/@nickwang_58849/i-got-the-following-error-after-following-the-steps-82757cfaf9f0, it uses amplify-authenticator of npm package @aws-amplify/auth to login and register. auth.component.html has just one…
ca9163d9
  • 27,283
  • 64
  • 210
  • 413
3
votes
1 answer

500 error when authenticating ALB + AWS Cognito

I am trying to authenticate Lambda via Aws ALB + Cognito. When I launch the DNS server, it redirects me to login page, I'm able to signup and verify the user. Also, I could see the user added to users in userpool. After sign in, it gives 500…
3
votes
0 answers

Why so many round trips for cognito login

I am working on login related performance issues with an application. The issue I'm investigating at the moment is that AWS Cognito makes multiple round trips in order to authenticate a user. After calling authenticateUser (as seen here), Cognito…
skwny
  • 2,930
  • 4
  • 25
  • 45
3
votes
2 answers

UserPool.getCurrentUser( ) returns null [backend]

Am trying to set up a federated identity in order to get credentials for identity. But when i try to do the getCurrentUser() am getting response as null. And another thing about this is, am trying this on backend side. So will it work in the…
md-shah
  • 375
  • 4
  • 17
3
votes
2 answers

In AWS Cognito, what is the maximum user account limit per user-pool?

We need to know that the maximum user-account we can create in single user-pool (in Cognito) and what is the cost if we want to increase that limit. We have also tried to find the answer but not found any.
iDev
  • 531
  • 1
  • 5
  • 15
3
votes
0 answers

Integrate Cognito External GUI with Tomcat security constraints

AWS's Cognito service provides a login/signup GUI that allows users to sign up for a site (with various verifications: email, phone), log in, manage forgotten passwords, etc. When a user signs in, Cognito directs the user to a callback URL you…
3
votes
2 answers

How to get SUB from aws cognito token

I am trying to use the cognito generated unique id knows as SUB to be a PK in my tables. But I am not able to get this SUB in the response of the first sign-up call. I am using the latest version of the sdk for…
Natsen
  • 181
  • 1
  • 6
3
votes
1 answer

Using Microsoft as an IdP in AWS Cognito

I'm trying to implement social login using Microsoft account in AWS Cognito User Pools. I have followed the documentation from AWS for Cognito in order to configure the User Pool to allow OpenID Connect authentication:…
3
votes
1 answer

Issue with filter syntax in AWS tools for Powershell Core

I wrote a Powershell script that gets a filtered list of cognito-idp identities using AWS CLI. However, I wanted to make this a lambda script and realized that I could not use AWS CLI and instead needed to use the AWS for Powershell Core module.…
3
votes
1 answer

Checking if email is verified in aws cognito using AWS Amplify Authentication module

I am using the JavaScript AWS Amplify Authentication module. If an existing and confirmed user changes their email address, the user in the cognito user pool is set to not verified and the user is sent a verification code to the new email address. …
codergurl
  • 71
  • 1
  • 6
3
votes
5 answers

How to get AWS Cognito user attributes using AWSMobileClient in iOS?

Question is very simple: I've added user authentication to iOS app using AWS Cognito and AWS Amplify. I have successfully implemented sign in and sign up, but how to get user attributes such as email, full name or phone number?
Nikita Zernov
  • 5,465
  • 6
  • 39
  • 70
3
votes
2 answers

How to change the default sender id in AWS Cognito messages to verify mobile number?

I am using AWS Cognito User Pool for user sign up. I am using phone number as the attribute and I have set up verification of mobile number and enabled Multi-Factor Authentication. I get messages from AWS and its getting verified and everything is…
Renukaradhya
  • 812
  • 2
  • 19
  • 31
3
votes
1 answer

AWS Cognito using different Email Provider than SES

I wonder if it is possible to swap SES for a custom Emailing Provider? I am already using one, and I don't want to configure another one because AWS Cognito needs that. Maybe there is a way to suppress all the emails coming out of AWS…