# MFA using our own custom UI

**URL:** <https://devforum.okta.com/t/mfa-using-our-own-custom-ui/9923>\
**Category:** Questions\
**Tags:** javascript\
**Created:** [June 25, 2020, 6:33am UTC](https://devforum.okta.com/t/mfa-using-our-own-custom-ui/9923 "2020-06-25T06:33:10Z")\
**Posts on this page:** 1\
**Showing post:** 9

<div class="post-metadata">

**Author:** ![vivekprm](https://avatars.discourse-cdn.com/v4/letter/v/b5e925/32.png) [@vivekprm](https://devforum.okta.com/u/vivekprm)\
**Post date:** [July 20, 2020, 1:11pm UTC](https://devforum.okta.com/t/mfa-using-our-own-custom-ui/9923/9 "2020-07-20T13:11:03Z")

</div>

Hi @dragos ,

Thanks for replying.

When I enabled MFA from the security \> Authentication \> Sign-on policy, I was seeing local MFA screen. But when I enabled MFA from application sign-on policy it shows Okta hosted MFA screen.

As mentioned in this [post](https://devforum.okta.com/t/okta-react-sign-in-widget-with-mfa/6494)

Was wondering why different behaviours in both the cases?

---

_[View the full topic](https://devforum.okta.com/t/mfa-using-our-own-custom-ui/9923)._
