Hello @buyani.mhlongo , in order to set a expiration for the OTP sent during email verification you need to Define a one-time password technical profile in an Azure AD B2C custom policy and set the expiration value in the CodeExpirationInSeconds
metadata item. You will also need to implement a custom email provider like SendGrid or MailJet or any other that supports REST.
Let us know if you need additional assistance. If the answer was helpful, please accept it and rate it so that others facing a similar issue can easily find a solution.