Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

user migration not working properly (sign in trigger is not triggered) #422

Open
1 task
flkrnr opened this issue Feb 12, 2023 · 0 comments
Open
1 task

Comments

@flkrnr
Copy link

flkrnr commented Feb 12, 2023

I have successfully configured the sample identity broker. Next I followed the guide to migrate users from my existing cognito user pool with this provided lambda function.

It seems like to work perfectly fine with the password reset trigger source (UserMigration_ForgotPassword) after applying the needed AdminGetUser policy to the migration lambda function. But I’m suck at the standard flow of triggering the function with a normal sign in (UserMigration_Authentication). It seems like the lambda trigger isn’t even triggered as intended. Is this a bug or is it possible that I have any configuration problem on my side?

Worth Noting: when I’m creating a new client with AWS hosted UI for the same user pool as the identity broker, the migration trigger works as intended with sign in (UserMigration_Authentication) and forget password (UserMigration_ForgotPassword)

Also In the new Cognito UI the settings for triggers can be found under "User pool properties":

TODO

image

Untitled 2

thanks in advance for any helpful comment or feedback ✌️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant