When I try to login using AWS Cognito I get an AccessDeniedException about my custom Lambda trigger
问题 I am calling adminInitiateAuth and getting back a strange AccessDeniedException for my own lambdas. Here is the code I'm calling: var params = { AuthFlow: "ADMIN_NO_SRP_AUTH", ClientId: "@cognito_client_id@", UserPoolId: "@cognito_pool_id@", AuthParameters: { USERNAME : username, PASSWORD : tempPassword }, }; cognitoIdentityServiceProvider.adminInitiateAuth(params, function(error, data) { if (error) { console.log("ERROR! Login failed: " + JSON.stringify(error), error.stack); } else { console