# How the state parameter generated and where it generated? I need to customise it

**URL:** <https://community.auth0.com/t/how-the-state-parameter-generated-and-where-it-generated-i-need-to-customise-it/77569>\
**Category:** Get Help\
**Tags:** jwt, api, rules, login, auth0\
**Created:** [February 3, 2022, 10:21am UTC](https://community.auth0.com/t/how-the-state-parameter-generated-and-where-it-generated-i-need-to-customise-it/77569 "2022-02-03T10:21:57Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![suriyan.selvarasu](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/suriyan.selvarasu/32/33671_2.png) [@suriyan.selvarasu](https://community.auth0.com/u/suriyan.selvarasu)\
**Post date:** [February 3, 2022, 10:21am UTC](https://community.auth0.com/t/how-the-state-parameter-generated-and-where-it-generated-i-need-to-customise-it/77569/1 "2022-02-03T10:21:57Z")

</div>

I need to generate my own state param and need to pass with url instead of default. Will anyone help me on this? May I know where the state param generated?

---

<div class="post-metadata">

**Author:** ![dan.woda](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dan.woda/32/18340_2.png) [@dan.woda](https://community.auth0.com/u/dan.woda)\
**Post date:** [February 22, 2022, 10:14pm UTC](https://community.auth0.com/t/how-the-state-parameter-generated-and-where-it-generated-i-need-to-customise-it/77569/3 "2022-02-22T22:14:06Z")

</div>

Hi @suriyan.selvarasu,

Welcome to the Auth0 Community!

The state param is simply sent with the request. How is the request being generated?

---

<div class="post-metadata">

**Author:** ![dan.woda](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dan.woda/32/18340_2.png) [@dan.woda](https://community.auth0.com/u/dan.woda)\
**Post date:** [April 8, 2022, 4:40pm UTC](https://community.auth0.com/t/how-the-state-parameter-generated-and-where-it-generated-i-need-to-customise-it/77569/4 "2022-04-08T16:40:28Z")

</div>


