I'm trying to register a user in a Cognito UserPool but I'm having issue with the Pre-signup trigger. I've configured a lambda like in the docs example
exports.handler = (event, context, callback) => {
event.response.autoConfirmUser=true;
callback(null, event);
};
Using CloudWatch logs I can see that the autoConfirmUser
attribute is correctly set to true, but the user isn't confirmed.
Here is the account in the UserPool:
Any idea how to fix this ?