Ability to specify auth flow to trigger user migration events #5243
Labels
Authenticator
An issue or a feature-request for an Authenticator UI Component
feature-request
Request a new feature
On which framework/platform would you like to see this feature implemented?
React
Which UI component is this feature-request for?
Authenticator
Please describe your feature-request in detail.
Customers wanting to run triggers like
UserMigration_Authentication
(docs) must use specific authentication flow types ) - i.e.USER_PASSWORD_AUTH
.The
signIn
function fromaws-amplify/auth
supports anoption.authFlowType
option (source) that allows to specify this, however I was not able to pass this when using the authenticator, nor find any mention in the docs.Please describe a solution you'd like.
Ideally I'd like to set this parameter either in the
amplify_outputs.json
file or, if that's not feasible, be able to pass it to thewithAuthenticator
/<Authenticator>
component as an option.We love contributors! Is this something you'd be interested in working on?
The text was updated successfully, but these errors were encountered: