# Configure OTP enabled by default

**URL:** <https://forum.keycloak.org/t/configure-otp-enabled-by-default/21248>\
**Category:** Getting advice\
**Tags:** authentication\
**Created:** [April 3, 2023, 7:12am UTC](https://forum.keycloak.org/t/configure-otp-enabled-by-default/21248 "2023-04-03T07:12:59Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jazsnap](https://avatars.discourse-cdn.com/v4/letter/j/bc79bd/32.png) [@Jazsnap](https://forum.keycloak.org/u/Jazsnap)\
**Post date:** [April 3, 2023, 7:12am UTC](https://forum.keycloak.org/t/configure-otp-enabled-by-default/21248/1 "2023-04-03T07:12:59Z")

</div>

Hi all,

I’m new to Keycloak so any advice / help is greatly appreciated. I have been tasked with changing the default setting for “Configure OTP” under “Authentication” to Enabled. After checking our realm.json file I don’t see anything obvious to update, so I imagine I must add the code to do this; can anyone explain to me what I need to do to achieve this?

TIA,  
Jason
