OptionalotpLogin?: booleanEnable email OTP (one-time password) login for passwordless authentication.
When enabled, users can sign in by receiving a one-time code via email instead of using a password.
Note: Enabling passwordless login via otpLogin automatically enables the ALLOW_USER_AUTH authentication flow in your Cognito App Client
OptionaluserInvitation?: {Customize the email invitation sent to users when an administrators signs them up.
OptionalemailBody?: (username: () => string, code: () => string) => stringThe template to the email body that is sent to the user when an administrator signs them up to the user pool.
OptionalemailSubject?: stringThe template to the email subject that is sent to the user when an administrator signs them up to the user pool.
OptionalsmsMessage?: (username: () => string, code: () => string) => stringThe template to the SMS message that is sent to the user when an administrator signs them up to the user pool.
Email login settings object.