I have a slightly different requirement for my app, users cannot self signup, they must be invited by the account owner.
the workflow required is:
1) owner signs in
2) owner invites new user using an email address
3) new user receives email with temporary password
4) new user signs in with temp password and is required to change the password
You code sample covers everything by step 2. I think I need to call the following aws method to invite a user:
but I am unsure how to get the correct
AmazonCognitoIdentityProviderClient to make the request?
Any advice on how to o this?