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 Risposta
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
con risposta un anno fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande