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

Amazon cognito + S3 policy - not working identity sub variable

i am working with Amazon cognito and S3. I want to achieve that each user will have "own" directory in S3 (tutorial example). So i have setup following policy (following this example…
3
votes
1 answer

Amazon Cognito newPasswordRequired await for page load

I am implementing Amazon Cognito User Pool authentication in my web app, and I ran in this problem - how to redirect user on newPasswordRequired callback to '/new-password' and await for inputs? So in other words, my expected flow is User logs in…
3
votes
2 answers

AWS cognito forgot password flow

I've created an AWS cognito user pool with email as required attribute and checked email for verification. The users are created from my java spring backend service using AWSCognitoClient sdk and calling adminCreateUser(createUser) method. The user…
Gaurav Ram
  • 1,085
  • 3
  • 16
  • 32
3
votes
1 answer

Cognito get user by username

I have a web angular front end an, API gateway protected by Cognito and Lambda for other business use cases. The login and authorisation works fine. I am using AWS Javascript SDK for authorising. Something like…
paramupk
  • 626
  • 1
  • 11
  • 32
3
votes
1 answer

Getting Amazon Cognito to work with angular2 and typescript

Im trying to get Cognito’s Forgot password to work Im using: Angular2+Typescript+Ionic I’m fairly new to this process, but I followed the Quickstart I found from here https://www.libhive.com/providers/npm/packages/amazon-cognito-identity-js No…
3
votes
1 answer

Email and Google authentication using AWS Cognito

My app currently uses a Cognito user pool for email and password authentication. It works very well. I want to add google authentication now. I've added google as an identity provider by following the documentation here…
3
votes
1 answer

AWS Cognito Userpool via cloudformation file

I am trying to code my cognito userpools as cloudformation templates. I am running into one open question however: how to define standard attributes? Will Cognito know that birthdate in Schema is meant to be the standard birthdate - and validate it…
B M
  • 3,893
  • 3
  • 33
  • 47
3
votes
1 answer

AWS Cognito: get user attributes of any unauthenticated user

Is it possible to get user attributes of any AWS Cognito user from a client which is unauthenticated or authenticated as another (non-admin) user? According to this post it is not possible. This seems like an awful limitation for user management as…
B M
  • 3,893
  • 3
  • 33
  • 47
3
votes
1 answer

Can I login as an IAM user from Cognito?

Isit possible to login as an IAM user from Cognito? I am creating a tool that does AWS management functions and I want users to login as their IAM users ideally. Is this possible? 2 alternatives I am considering is: App will have its own IAM…
Jiew Meng
  • 84,767
  • 185
  • 495
  • 805
3
votes
1 answer

AWS Cognito - how to determine if unauthenticated user?

I have AWS Lambda functions working fine with Cognito authenticated users. I am now trying to get unauthenticated Cognito users going. I cannot find any way at the back end to determine if the current user that called the Lambda function is…
Duke Dougal
  • 24,359
  • 31
  • 91
  • 123
3
votes
1 answer

AWS Gateway custom authorizer necessary when using AWS_IAM authorization in Method Request?

I'm using AWS Gateway as my web API with AWS Lambda as my serverless backend. Lambda functions are only invoked by my Gateway APIs. Through Lambda I call and execute operations on other AWS Services (RDS, SNS, etc.). I want only my clients to get…
Baran
  • 2,710
  • 1
  • 23
  • 23
3
votes
1 answer

Can I use cognito AccessToken get Cognito identity ID?

I now use cognito user pool as “account system”, and also created a identity pool, Use IOS app I can make user sign up , sign in , get the account identity id, sync dataset and other operations. Then I use Cognito user pool as Oauth2.0 server to…
Bruce Pan
  • 31
  • 3
3
votes
2 answers

AWS Cognito iOS(Swift) SDK caches data and crashes upon app start

I have an iOS app (in Swift) that uses Amazon Cognito. It's working fine and I can login using the pool and logout. But on one of my client's devices, it has somehow cached the credentials and doesn't logout and everytime the app is opened, it's…
Aftab Baig
  • 279
  • 5
  • 16
3
votes
1 answer

AWSCognito login blocked 1 time after logout - "Obtaining an identity id in another thread failed or didn't complete within 5 seconds."

I tried to implement all the Cognito SignUp/Confirm/SignIn Stuff in a CognitoController singleton class. I think there are two functions where my problem probably is based: The first function is to re-establish a session and is called from my main…
weka1
  • 737
  • 2
  • 9
  • 20
3
votes
0 answers

connecting to AWS Cognito with iOS

I am trying to connect to AWS Cognito but it seems that there are several way to do that and I want to go for the right one. I want to add a signup/signin feature to my app using AWS Cognito User Pool. When I look at the sample provided with the AWS…
user3239711
  • 639
  • 1
  • 7
  • 24
1 2 3
99
100