Relative Content

Tag Archive for amazon-web-servicesamazon-cognito

Secure users data from admin access in AWS

I want to build an application to save data input from my user in DynamoDB and/or S3. Usually I use API Gateway and Lambda for this. With users authenticated by Cognito.

Cannot decode cognito state string

I am calling cognito with a &state=xxxxxx parameter. when I get my redirection back, I see a state param in addition to the code. It seems to be encoded somehow, but not base64 nor gzip cannot decode it.

AWS Java SDK Cognito User Authentication Flows

After hours of research and no answer I have come here to ask. I want to build a user flow for a full stack application in AWS where I am using the CDK; I want to be able to authenticate users based on their email/username and password as well as know what user group within the cognito user pool they are part of. How can I do this? My serverside code is in Java.

Cognito user signup does not throw UsernameExistsException

I have a cognito instance where I need it to throw UsernameExistsException error whenever you try to sign up a new user with an email which is already associated with a user.
Based on documentation, this can be enabled in CDK with preventUserExistenceErrors: false or PreventUserExistenceErrors:LEGACY if using cloudformation.
My cognito instance only has email as user attribute.

AWS Cognito Hosted UI

I am facing an error related to a Cognito Hosted UI for login in AWS. On AWS Cognito Hosted UI, after login it shows “Invalid parameter in request”.