# Custom 2FA SMS code generation + validation

**URL:** <https://community.auth0.com/t/custom-2fa-sms-code-generation-validation/71853>\
**Category:** Get Help\
**Tags:** sms, mfa-sms\
**Created:** [October 22, 2021, 2:51am UTC](https://community.auth0.com/t/custom-2fa-sms-code-generation-validation/71853 "2021-10-22T02:51:21Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![aaron.craig](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/aaron.craig/32/14308_2.png) [@aaron.craig](https://community.auth0.com/u/aaron.craig)\
**Post date:** [October 22, 2021, 2:51am UTC](https://community.auth0.com/t/custom-2fa-sms-code-generation-validation/71853/1 "2021-10-22T02:51:21Z")

</div>

I’m evaluating the free/demo tier of Auth0 to see if it fits our needs.

We would like to use two-factor authentication via SMS. There is documentation explaining how you can customise how the SMS is sent to the user:

> **[Configure SMS and Voice Notifications for MFA](https://auth0.com/docs/secure/multi-factor-authentication/multi-factor-authentication-factors/configure-sms-voice-notifications-mfa)**
>
> Describes how to configure SMS and voice notifications for MFA.

We would also like control over how 2FA codes are generated, stored, and verified, perhaps something like AWS Cognito’s custom challenge lambda triggers:

> **[Custom authentication challenge Lambda triggers - Amazon Cognito](https://docs.aws.amazon.com/cognito/latest/developerguide/user-pool-lambda-challenge.html)**
>
> Challenge Lambda triggers.

Is this possible?

Nāku nā AJ

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [October 22, 2021, 11:02am UTC](https://community.auth0.com/t/custom-2fa-sms-code-generation-validation/71853/2 "2021-10-22T11:02:35Z")

</div>

Hey there!

I think unfortunately we don’t offer anything like that at the moment. You can always raise a feature request for that using our Feedback category here:

> **[Feedback](https://community.auth0.com/c/feedback/95)**
>
> Submit and vote on product feedback and feature requests.

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [October 28, 2021, 12:51pm UTC](https://community.auth0.com/t/custom-2fa-sms-code-generation-validation/71853/3 "2021-10-28T12:51:48Z")

</div>


