question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Support for Cognito User Pool Triggers isn't working.

See original GitHub issue

This is a Bug Report

Description

Support for Cognito User Pool Triggers isn’t working.

For bug reports:

  • What went wrong? Cannot link lamda to cognito user pool triggers
  • What did you expect should have happened? Cognito user pool triggers should have been updated with the correct lambda.
  • What was the config you used?
service: hc-cognito-service # NOTE: update this with your service name

provider:
  name: aws
  runtime: nodejs6.10

functions:
  customMessageHandler:
    handler: custom-message-handler.handle
    events:
      - cognitoUserPool:
          pool: <my pool Id>
          trigger: CustomMessage
  • What stacktrace or error message from your provider did you see? No error messages were seen.

For feature proposals:

  • What is the use case that should be solved. The more detail you describe this in the easier it is to understand for us. NA
  • If there is additional config how would it look NA

Similar or dependent issues:

Additional Data

  • Serverless Framework Version you’re using: 1.15.2
  • Operating System: MacOS 10.12.5
  • Stack Trace: None
  • Provider Error messages: None

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:2
  • Comments:9 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
keshavkaulcommented, Jun 16, 2017

@hassankhan @pmuens Alright thanks, well at least we found another issue to fix because of this 😛
Will wait for that fix in the mean time. 😃

1reaction
hassankhancommented, Jun 16, 2017

@keshavkaul You cannot modify a user pool that was created through the console unfortunately. This is a CloudFormation limitation, nothing can be done from Serverless, sorry.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Customizing user pool workflows with Lambda triggers
Choose Add a Lambda trigger. Select a Lambda trigger Category based on the stage of authentication that you want to customize. Select Assign...
Read more >
AWS Cognito - PostSignUp Trigger Not Working
Post Confirmation trigger is not invoked when a user is created via AdminCreateUser API. Workaround could be to to use Post Authentication ......
Read more >
User authentication with AWS Cognito: The good, the bad and ...
from 'aws-lambda/trigger/cognito-user-pool-trigger/pre-signup'; ... work in the AWS Cognito development team, but they are not very fast and ...
Read more >
Cognito - LocalStack Docs
LocalStack Pro contains basic support for authentication via Cognito. You can create Cognito user pools, sign up and confirm users, set up Lambda...
Read more >
Anonymous User Identities with Cognito Lambda Triggers
They require either an email address or username, and a password. Naturally, Cognito User Pools support these sign-up flows too. The following CDK...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found