# Custom Request Body field while requesting token in Resource Owner Password Flow

**URL:** <https://devforum.okta.com/t/custom-request-body-field-while-requesting-token-in-resource-owner-password-flow/9520>\
**Category:** Questions\
**Created:** [May 26, 2020, 4:57pm UTC](https://devforum.okta.com/t/custom-request-body-field-while-requesting-token-in-resource-owner-password-flow/9520 "2020-05-26T16:57:56Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![SureshJayaraj](https://avatars.discourse-cdn.com/v4/letter/s/8c91f0/32.png) [@SureshJayaraj](https://devforum.okta.com/u/SureshJayaraj)\
**Post date:** [May 26, 2020, 4:57pm UTC](https://devforum.okta.com/t/custom-request-body-field-while-requesting-token-in-resource-owner-password-flow/9520/1 "2020-05-26T16:57:56Z")

</div>

Hi,

We have a query about requesting the access token and ID token in Resource Owner Password Credential flow. We have a requirement that while requesting the OAuth token there is a need of passing a string Key - value like other request body objects (grant\_type,username,password,scope & redirect\_uri).

We expect the request body to be send to the inline hook server by Okta. At present the inline hook sends the above mentioned Key - Values in the request.

Please share if there are any possible ways to address this requirement.

Regards,  
Suresh Kumar

---

<div class="post-metadata">

**Author:** ![stulincoln](https://avatars.discourse-cdn.com/v4/letter/s/5fc32e/32.png) [@stulincoln](https://devforum.okta.com/u/stulincoln)\
**Post date:** [March 17, 2021, 5:31am UTC](https://devforum.okta.com/t/custom-request-body-field-while-requesting-token-in-resource-owner-password-flow/9520/2 "2021-03-17T05:31:51Z")

</div>

Hi, did you ever get a solution to this? Sounds like we have the exact same use case.

---

<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 6, 2024, 11:20pm UTC](https://devforum.okta.com/t/custom-request-body-field-while-requesting-token-in-resource-owner-password-flow/9520/3 "2024-02-06T23:20:20Z")

</div>

Closed on February 6, 2024, 11:20pm UTC


