# Activate OTP for a site and/or a role

**URL:** <https://discuss.liferay.com/t/activate-otp-for-a-site-and-or-a-role/1128>\
**Category:** Product Ideas\
**Created:** [October 31, 2026, 9:13pm UTC](https://discuss.liferay.com/t/activate-otp-for-a-site-and-or-a-role/1128 "2026-10-31T21:13:24Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Eric\_DARIEL](https://dub1.discourse-cdn.com/flex014/user_avatar/discuss.liferay.com/eric_dariel/32/61_2.png) [@Eric\_DARIEL](https://discuss.liferay.com/u/Eric_DARIEL)\
**Post date:** [October 31, 2026, 9:13pm UTC](https://discuss.liferay.com/t/activate-otp-for-a-site-and-or-a-role/1128/1 "2026-10-31T21:13:24Z")

</div>

**What is the problem you are trying to solve?**

Force OTP for a site, an instance or a role.

In my case, I want to force users to use OTP for a role like Administrator or everyone.

Administrators should be use OTP because it is important to secure a site, an instance or at system level.

**What is your project about? (e. g. Intranet, Partner Portal, Enterprise Website, etc**

All kind of sites.

**What is your proposed solution? (optional)**

Look at [I Asked AI to Add MFA to Liferay... Here's What Happened - Liferay](https://liferay.dev/fr/b/i-asked-ai-to-add-mfa-to-liferay-here-s-what-happened-1)

You can get what you want to improve DXP version.

And have a fragment and not an hard coded JSP can be great if we want to easily change UI.
