Use this to group Amazon Cognito-based sub-queries related to Lambda triggers.
Questions tagged [amazon-cognito-triggers]
79 questions
1
vote
0 answers
Cognito Integration with LDAP
I am starting a new project and this one needs first an integration between Cognito and LDAP, this is my first time and I've been doing some research about it but is not clear to me yet.
Any knowledge transfer you may give me is really…
1
vote
1 answer
AWS Cogntio user pool throwing PreSignUp invocation failed due to error AccessDeniedException (Lambda alias as Cognito trigger)
I have configured specific Lambda alias (Please note this) as Cognito trigger using CLI as there is no provision in web console to do so. Now I am getting PreSignUp invocation failed due to the error AccessDeniedException while signing up. I am not…

Bharat Vishe
- 153
- 1
- 2
- 12
1
vote
0 answers
Use external email provider instead AWS Cognito to send the user confirmation email
I followed this guide to customize email confirmation and redirect user to a specific url.
Now I would handle this email through an email automation tool, so my purpose was to suppress cognito email and send confirmation email through external…

gio
- 801
- 3
- 15
- 27
1
vote
1 answer
Alternative for context.succeed(event)
Iam trying to create a migration trigger using python to change my user pool.In this trigger, what will be the alternative for context.succeed(event) that needs to be sent back to cognito after successful verification of user.

BOLLU SATHWIK REDDY
- 13
- 2
1
vote
1 answer
Pre sign-up lambda function in cognito
When creating a new cognito user, I would like to confirm their account through the Pre Sign-up lambda. It looks as follows:
exports.handler = (event, context, callback) => {
// Confirm the user
event.response.autoConfirmUser = true;
…

wwww
- 760
- 1
- 11
- 20
1
vote
1 answer
i want to remove the sign up flow from hosted ui but wish to keep it in my application where I am using the SDK. how can i do it
I am using AWS Cognito I want to remove the signup flow from hosted UI as I wish to do some application-level stuff during signup.(I can't do such stuff in pre-signup lambda). I tried changing the policy as advised by other links, but that causes…

srijan saxena
- 61
- 4
1
vote
0 answers
aws cognito guest user login with java
Is there any way by which we can allow guest user i.e. who is not a registered user in cognito to login. We are using java. Also how can we allow a user to login with other identification providers such as Facebook, Google etc.
Thanks

Shantanu
- 201
- 2
- 6
- 15
1
vote
2 answers
How to disable AWS Cognito User Pool account created via Identity Provider?
Any Cognito User Pool gurus out there? I've been using Cognito for a while now but this one has me a bit stumped.
We allow users to sign up and sign in using social accounts like Facebook which are set up as Identity Providers in the User…

BigJump
- 15,561
- 3
- 31
- 29
1
vote
1 answer
aws appsync graphql api with python
I want to access AWS AppSync API using Python code and confused with requests library.
Auth mode is Cognito user pool. My questions are:
How to get access tokens from Cognito user pool?
How to make queries, mutations, and handle subscriptions?
I…

viraj
- 19
- 1
- 4
1
vote
2 answers
AWS Cognito Auth with Phone Number OTP just like firebase, without Amplify
I am trying to enable login & Sign Up with Phone Number + OTP for a website (not Mobile) just like Firebase Auth offers.
I have looked up endless tutorials, almost all of which require AWS Amplify, which then requires knowing React/Angular/Vue (I'm…

JustDebuggin
- 358
- 5
- 19
1
vote
1 answer
AWS Cognito Pre-Authentication lambda trigger using .Net Core 3 - returns an 'InvalidLambdaResponse' exception
Need some help with AWS Cognito Pre-Authentication lambda trigger to be written in .Net Core 3. I am able to pass the correct attributes as part of 'validationData' attribute in the cognito request. When the validation attribute fails to satisfy the…

Anand
- 21
- 6
1
vote
2 answers
Amazon Cognito: an error occur while trying logout
this the request uri
https://mydomain.auth.us-east-1.amazoncognito.com/?response_type=code&client_id=' + '&redirect_uri=http://localhost:8080/'
it redirect to this uri with error that chown in image…

Mikhail Fayez
- 421
- 3
- 15
1
vote
1 answer
How to change username in AWS Cognito when federating with Open ID(Auth0)?
In Cognito user pool federation I added Open ID connect to connect to Auth0 and use Auth0 as Identity Provider.
When logging in via Auth0, Cognito user pool creates an user inside user pool with username like…

karthikeayan
- 4,291
- 7
- 37
- 75
1
vote
1 answer
cognito lambda (RDS sync) trigger (PostConfirmation) timeout
i was working in a simple function to keep sync my RDS user table and Cognito
export async function main (event, context, callback) {
try {
let user, User
User = models.User
console.log('before insert',new Date())
…

Erick Yataco
- 21
- 4
1
vote
1 answer
Set password in Cognito PreSignUp_SignUp trigger?
I am building a passwordless login system. I want to set the users password in the Pre sign-up cognito trigger to a random string. I can not use a random string generated by the browser as that is insecure. Do you know if it's possible to set a…

Cliff Helsel
- 920
- 1
- 12
- 26