User migration lambda in AWS Cognito #973
Unanswered
rolandtreibersimpleonlinehealthcare
asked this question in
Support
Replies: 2 comments 1 reply
-
Any potential solutions for this? |
Beta Was this translation helpful? Give feedback.
1 reply
-
I ran into the same problem. AWS returned a This is caused by You can solve this by setting |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi!
I am trying to make the user migration lambda function work in php with bref.
https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pools-import-using-lambda.html
https://docs.aws.amazon.com/cognito/latest/developerguide/user-pool-lambda-migrate-user.html
The way it is supposed to work:
The issue:
I have noticed that in the AWS docs nodejs sample code that a succeed method is called on the context with the event as the only argument. I recreated it and it works with nodejs.
I suspect that succeed method returns the object in a different way either hashing it or modifying it some other way. I haven't managed to find an equivalent in bref nor guidance on how to go about it.
Has anyone tried to do what I am working on? Is there a solution for it?
My code:
Many thanks!
Beta Was this translation helpful? Give feedback.
All reactions