# How to prefill and disable username textbox in okta login screen page in OIDC and SAML

**URL:** <https://devforum.okta.com/t/how-to-prefill-and-disable-username-textbox-in-okta-login-screen-page-in-oidc-and-saml/16660>\
**Category:** OAuth/OIDC\
**Tags:** dotnet, api\
**Created:** [October 20, 2021, 1:22pm UTC](https://devforum.okta.com/t/how-to-prefill-and-disable-username-textbox-in-okta-login-screen-page-in-oidc-and-saml/16660 "2021-10-20T13:22:48Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![pkumar](https://avatars.discourse-cdn.com/v4/letter/p/87869e/32.png) [@pkumar](https://devforum.okta.com/u/pkumar)\
**Post date:** [October 20, 2021, 1:22pm UTC](https://devforum.okta.com/t/how-to-prefill-and-disable-username-textbox-in-okta-login-screen-page-in-oidc-and-saml/16660/1 "2021-10-20T13:22:48Z")

</div>

I found a way to prefill the username by using “&login\_hint=username” parameter. But i also want to disable this prefilled username text box.  
Is there any way to do this?

---

<div class="post-metadata">

**Author:** ![andrea](https://sea1.discourse-cdn.com/oktadev/user_avatar/devforum.okta.com/andrea/32/2172_2.png) [@andrea](https://devforum.okta.com/u/andrea)\
**Post date:** [February 12, 2024, 7:06pm UTC](https://devforum.okta.com/t/how-to-prefill-and-disable-username-textbox-in-okta-login-screen-page-in-oidc-and-saml/16660/2 "2024-02-12T19:06:26Z")

</div>


