# Add additional field on login from

**URL:** <https://devforum.okta.com/t/add-additional-field-on-login-from/5030>\
**Category:** Questions\
**Created:** [May 4, 2019, 9:13am UTC](https://devforum.okta.com/t/add-additional-field-on-login-from/5030 "2019-05-04T09:13:10Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Unkis](https://avatars.discourse-cdn.com/v4/letter/u/c4cdca/32.png) [@Unkis](https://devforum.okta.com/u/Unkis)\
**Post date:** [May 4, 2019, 9:13am UTC](https://devforum.okta.com/t/add-additional-field-on-login-from/5030/1 "2019-05-04T09:13:10Z")

</div>

Hello, I have a question.

I need add additional field (“organization number”) to my login form. That means, on the login form i want to have a three fields for login: “organization number”, “username” and “password”.

Is it possible? When yes then how?

Thx.

---

<div class="post-metadata">

**Author:** ![dragos](https://sea1.discourse-cdn.com/oktadev/user_avatar/devforum.okta.com/dragos/32/1313_2.png) [@dragos](https://devforum.okta.com/u/dragos)\
**Post date:** [May 7, 2019, 9:58am UTC](https://devforum.okta.com/t/add-additional-field-on-login-from/5030/2 "2019-05-07T09:58:41Z")

</div>

Hi @Unkis

Unfortunately, at the moment, we do not have an example that supports 3 field authentication, however this can be achieved through a custom implementation.

The authentication flow would be the following:

- User has organization number added to his Okta profile as custom string attribute
- User accesses the authentication page and enters his credentials (username, password, organization number)
- Application checks the credentials against your Okta org on /api/v1/authn endpoint
- If the authentication is successful, the application retrieves the user’s profile and checks the organization number field against the one that the user entered
- If they match, the user is allowed access inside the application

---

<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:** [January 18, 2024, 12:53am UTC](https://devforum.okta.com/t/add-additional-field-on-login-from/5030/3 "2024-01-18T00:53:49Z")

</div>

Closed on January 18, 2024, 12:53am UTC


