# Is it possible to parameterize the Default RelayState?

**URL:** <https://devforum.okta.com/t/is-it-possible-to-parameterize-the-default-relaystate/5058>\
**Category:** SAML\
**Tags:** saml\
**Created:** [May 7, 2019, 6:18pm UTC](https://devforum.okta.com/t/is-it-possible-to-parameterize-the-default-relaystate/5058 "2019-05-07T18:18:33Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![rhawkins](https://sea1.discourse-cdn.com/oktadev/user_avatar/devforum.okta.com/rhawkins/32/936_2.png) [@rhawkins](https://devforum.okta.com/u/rhawkins)\
**Post date:** [May 7, 2019, 6:18pm UTC](https://devforum.okta.com/t/is-it-possible-to-parameterize-the-default-relaystate/5058/1 "2019-05-07T18:18:33Z")

</div>

If I have a custom login page for my Okta SAML application, would it be possible for me to pass a user-specific RelayState value along with the login request?

Also, if I were to do this, would my RelayState value still be limited to 254 characters?

---

<div class="post-metadata">

**Author:** ![sofather](https://avatars.discourse-cdn.com/v4/letter/s/6f9a4e/32.png) [@sofather](https://devforum.okta.com/u/sofather)\
**Post date:** [February 9, 2022, 1:03pm UTC](https://devforum.okta.com/t/is-it-possible-to-parameterize-the-default-relaystate/5058/2 "2022-02-09T13:03:47Z")

</div>

the Okta configrator allow you to set a custom relayState

---

<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, 6:12pm UTC](https://devforum.okta.com/t/is-it-possible-to-parameterize-the-default-relaystate/5058/3 "2024-02-12T18:12:42Z")

</div>


