Custom HTML for confirmation user email

1

Hi, how can I set custom HTML content for the email that Amplify Cognito send automatically to the user when i call the signUp API of the Auth module or when the user ask for forgot password?

I see that there is a field in the "Password protection settings" section in the Authentication settings page of Amplify Studio console, but it's only a simple text field, I can't specified HTML.

Thank you!

1 réponse
0

Hi Marco,

Cognito allows creating workflow triggers for lambda functions. With these workflows, it is possible to perform customizations in SignUp messages, Forgot Password messages, among other events. For more details see the documentation: user-pool-lambda-custom-message

Implementing logic via Amplify: basic-scaffolding-for-a-custom-auth-challenge

AWS
répondu il y a un an

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions