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 Antwort
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
beantwortet vor einem Jahr

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen