# How can i update email\_verification, phone\_verification, mfa verification on my application

**URL:** <https://community.auth0.com/t/how-can-i-update-email-verification-phone-verification-mfa-verification-on-my-application/104389>\
**Category:** Get Help\
**Tags:** one-time-password-otp-factor, mfa\
**Created:** [April 10, 2023, 12:35pm UTC](https://community.auth0.com/t/how-can-i-update-email-verification-phone-verification-mfa-verification-on-my-application/104389 "2023-04-10T12:35:33Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![dev.nareshch](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dev.nareshch/32/46043_2.png) [@dev.nareshch](https://community.auth0.com/u/dev.nareshch)\
**Post date:** [April 10, 2023, 12:35pm UTC](https://community.auth0.com/t/how-can-i-update-email-verification-phone-verification-mfa-verification-on-my-application/104389/1 "2023-04-10T12:35:33Z")

</div>

Hello, I’m using the React app.

How can I handle it from my application when the end user has the option to enable or disable “one-time password using Google Authenticator”?

 ![image](https://global.discourse-cdn.com/auth0/original/3X/e/0/e0729480eb873a6653e44c14c38f5710123d8162.jpeg)

---

<div class="post-metadata">

**Author:** ![rueben.tiow](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/rueben.tiow/32/11646_2.png) [@rueben.tiow](https://community.auth0.com/u/rueben.tiow)\
**Post date:** [April 10, 2023, 11:06pm UTC](https://community.auth0.com/t/how-can-i-update-email-verification-phone-verification-mfa-verification-on-my-application/104389/3 "2023-04-10T23:06:17Z")

</div>

Hi @dev.nareshch,

Thanks for reaching out to the Auth0 Community!

You can delete or enroll MFA factors like OTP with the [Auth0 MFA API](https://auth0.com/docs/secure/multi-factor-authentication/multi-factor-authentication-developer-resources/mfa-api).

Specifically, you can call the following endpoints to enable/disable OTP for the user. Please note that you may need to read the user’s current MFA enrollment to determine its enrollment status:

- Management API’s [Retrieve a multi-factor authentication enrollment](https://auth0.com/docs/api/management/v2#!/Guardian/get_enrollments_by_id)
- Management API’s [Create a multi-factor authentication enrollment ticket endpoint](https://auth0.com/docs/api/management/v2#!/Guardian/post_ticket) and
- Management API’s [Delete a User’s Multi-factor Provider endpoint](https://auth0.com/docs/api/management/v2#!/Users/delete_multifactor_by_provider).

I hope this helps!

Thanks,  
Rueben

---

<div class="post-metadata">

**Author:** ![dev.nareshch](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dev.nareshch/32/46043_2.png) [@dev.nareshch](https://community.auth0.com/u/dev.nareshch)\
**Post date:** [April 11, 2023, 3:14am UTC](https://community.auth0.com/t/how-can-i-update-email-verification-phone-verification-mfa-verification-on-my-application/104389/4 "2023-04-11T03:14:27Z")

</div>

When i enable MFA in my application settings it’s showing error

“Error!Application must not have Token Endpoint Authentication Method set to “none” when client\_credentials grant type is enabled”

---

<div class="post-metadata">

**Author:** ![dev.nareshch](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dev.nareshch/32/46043_2.png) [@dev.nareshch](https://community.auth0.com/u/dev.nareshch)\
**Post date:** [April 11, 2023, 3:45am UTC](https://community.auth0.com/t/how-can-i-update-email-verification-phone-verification-mfa-verification-on-my-application/104389/5 "2023-04-11T03:45:30Z")

</div>

How can i update status in my custom DB?

using those api’s?

---

<div class="post-metadata">

**Author:** ![dev.nareshch](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dev.nareshch/32/46043_2.png) [@dev.nareshch](https://community.auth0.com/u/dev.nareshch)\
**Post date:** [April 11, 2023, 3:46am UTC](https://community.auth0.com/t/how-can-i-update-email-verification-phone-verification-mfa-verification-on-my-application/104389/6 "2023-04-11T03:46:18Z")

</div>

![image](https://global.discourse-cdn.com/auth0/original/3X/4/7/477e94811ef2efcb503316e7c521b9a54939bef7.png)

Here Id means’s?

Userid or any other?

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [April 25, 2023, 3:47am UTC](https://community.auth0.com/t/how-can-i-update-email-verification-phone-verification-mfa-verification-on-my-application/104389/7 "2023-04-25T03:47:03Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.

---

<div class="post-metadata">

**Author:** ![rueben.tiow](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/rueben.tiow/32/11646_2.png) [@rueben.tiow](https://community.auth0.com/u/rueben.tiow)\
**Post date:** [May 2, 2023, 6:34pm UTC](https://community.auth0.com/t/how-can-i-update-email-verification-phone-verification-mfa-verification-on-my-application/104389/8 "2023-05-02T18:34:23Z")

</div>

Hi @dev.nareshch,

Thank you for your response and my apologies for the late reply.

> [@dev.nareshch](#):
>
> When i enable MFA in my application settings it’s showing error
> 
> “Error!Application must not have Token Endpoint Authentication Method set to “none” when client\_credentials grant type is enabled”

Yes, in this situation you must change the **Token Endpoint Authentication Method** to Post  
 ![image](https://global.discourse-cdn.com/auth0/original/3X/2/6/268bc349632b5465310eb298e910af41e6db22f0.png).

> [@dev.nareshch](#):
>
> How can i update status in my custom DB?
> 
> using those api’s?

Could you please clarify what you are intending to do here?

> [@dev.nareshch](#):
>
> Here Id means’s?
> 
> Userid or any other?

The **`id`** parameter here refers to the Authenticator ID for the enrollment. It would have a format that would look like `"sms|dev_0000000000000001`. You can find the Authenticator ID in your tenant logs for the **Enroll Started** event type defined by the [`gd_start_enroll`](https://auth0.com/docs/deploy-monitor/logs/log-event-type-codes#:~:text=started%20for%20MFA.-,gd_start_enroll,-Enroll%20started) log event type code.

I hope this helps!

Thanks,  
Rueben
