Questions tagged [amazon-cognito]

1 votes
1 replies
Cloudformation: Error: Member must have length less than or equal to 20
I'm using this CloudFormation template to create a Cognito User Pool: { "AWSTemplateFormatVersion": "2010-09-09", "Description": "Templa...
1 votes
2 replies
In Cognito is there a way to log in from the perspective of a specific user
To onboard users to our platform we'd like the marketing team to be able to use the application as if they were the user. So that everything can...
asked 4 months ago
0 votes
0 replies
Cognito token expires when app is in Background
AWSers, I am using AWS amplify for authentication (Cognito) and S3 storage in my IOS swift app. However, I am having trouble uploading files to S...
asked 4 months ago
1 votes
1 replies
Access token and ID token storage for serverless app
I'm writing a serverless app with AWS (Lambda, API Gateway, Cognito, etc) and I find myself wondering how to best secure my stack. I've read th...
0 votes
1 replies
AWS cognito: adminUpdateUserAttributes not working and not giving an error , am i missing something?
I can't get adminUpdateUserAttributes for Cognito to work. The cli works and I can have the user add/changed them not desired but wanted to see i...
asked 4 months ago
1 votes
1 replies
How to delete the Cognito user in Node.js?
How to delete user account from * cognito * in nodejs. I'm trying to delete the user from cognito it is not working for me. AWS config const A...
asked 4 months ago
0 votes
1 replies
How to map Cognito (federated) identity ID to Cognito user pool ID?
I'm trying to map a Cognito user pool ID to a cognato federated identity ID and I can't figure out how to do this. Here's what I'm trying to do...
asked 4 months ago
0 votes
0 replies
AWS IoT - pull credentials out of AWSMobileClient to save to UserDefaults in iOS
I am using the following sample code to connect to AWS IoT from iOS: // Init IOT let iotEndPoint = AWSEndpoint(urlString: IOT_ENDPOINT)...
0 votes
1 replies
How to force AWS Cognito: signUp() to execute synchronously (nodejs)
I am trying to set up a node application that uses the AWS cognito sdk to register/login/confirm/authenticate a user. I am currently unable to...
0 votes
1 replies
Aws Cognito's Lambda PreSignup Trigger Incorrectly Auto-confirming and Auto-verifying email for user
I have created a Lambda function that gets triggered in the PreSignUp phase of AWS Cognito that checks to see if the signup email ends in a certa...
asked 4 months ago
0 votes
1 replies
Do we need to change sign-in URL work in Amplify (or Cognito in general) for my React app?
When I started using (learning) AWS Amplify, Amplify's setup wizard gives the following step: Enter your redirect signin URI: http://localhost:3...
2 votes
1 replies
Cognito Login MFA SMS Verification Problem
I’m new to AWS Cognito and currently having 2 problems with it: in making the login using MFA SMS to work. in setting the SMS MFA flag to enabl...
asked 4 months ago
0 votes
0 replies
Cognito verification email / mobile on signin
Email Verification on login in if the user has not verified during signup. objective - c Cognito This is not given me any response. I am not us...
asked 4 months ago
0 votes
0 replies
AWS Sagemaker Ground Truth WorkerID for private team
I've set up an AWS Sagemaker Ground Truth labeling project and am using a private team for the work. I want to track which member of my team give...
1 votes
1 replies
AWS Cognito SDK on Android, Login Crashes with parameter cognitoDevice Null
So I ran into this funky issue when using AWS Cognito's SDK on Android, but with Kotlin instead of JAVA. I am attempting to login, and it seems...
asked 4 months ago
1 votes
1 replies
Serverless authorizer as AWS user pool
I'm trying to limit access on a service endpoints to a specific user pool (ie admin). From my understanding of the documentation (https://server...
0 votes
1 replies
Authentication/Cognito SDK not working once deployed to AWS Lambda
I've integrated AWS Cognito User Pools into my app, as outlined in this article: http://snevsky.com/blog/dotnet-core-authentication-aws-cognito u...
asked 4 months ago
0 votes
0 replies
UserPool with option “Email address or phone number” -> Customize Resend E-Mail Message
Our userpool is configured to login with the email-adress (it is set to "Email address or phone number" under General settings > Attributes)....
0 votes
1 replies
how to get AWS Pre authentication Trigger on non-existing User
When a non-existing user tries to login to cognito it sets response headers : x-amzn-errormessage: User does not exist x-amzn-errortype: UserN...
0 votes
1 replies
Can we create aws cognito userpool authentication with amplify for react native(without expo)?
They have mentioned two methods in documentation, https://github.com/aws-amplify/amplify-js/wiki/FAQ#how-can-i-get-jwt-token-when-using-amplify...
0 votes
1 replies
How to dynamically change 'fromEmailAddress' of cognito forgot password flow?
I am able to change the content of email message using the custom message trigger but couldn't figure out a way to change the fromEmailAddress dy...
asked 4 months ago
0 votes
0 replies
Implementing device auth as a custom password-less cognito flow
I want to implement a passwordless auth solution along the lines of https://aws.amazon.com/blogs/mobile/implementing-passwordless-email-authentic...
0 votes
1 replies
Cognito Identity with OpenId Provider and Conditional DynamoDb Policy
i use a custom open id provider and aws accept my tokens and i'm able to use coginto identity pools to limit the access to my dynamodb database....
0 votes
0 replies
How to connect elasticsearch when cognito is enabled to kibana?
I am setting up elasticsearch and kibana in AWS. I hava configured properly and i got endpoints as below ES - https://****.region.es.amazonaws.c...
0 votes
2 replies
How to structure AWS DynamoDB Table with Cognito
I am trying to do something that would be relatively simple for a relational database but I don't know how to do it for a nonrelational one. I a...