# Regarding Relaystate

**URL:** <https://devforum.okta.com/t/regarding-relaystate/181>\
**Category:** SAML\
**Created:** [June 22, 2017, 2:29pm UTC](https://devforum.okta.com/t/regarding-relaystate/181 "2017-06-22T14:29:12Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Luman](https://avatars.discourse-cdn.com/v4/letter/l/85e7bf/32.png) [@Luman](https://devforum.okta.com/u/Luman)\
**Post date:** [June 22, 2017, 2:29pm UTC](https://devforum.okta.com/t/regarding-relaystate/181/1 "2017-06-22T14:29:12Z")

</div>

What is the value to be passed to the parameter Relaystate when authenticating the user using okta.

---

<div class="post-metadata">

**Author:** ![jmelberg](https://sea1.discourse-cdn.com/oktadev/user_avatar/devforum.okta.com/jmelberg/32/154_2.png) [@jmelberg](https://devforum.okta.com/u/jmelberg)\
**Post date:** [June 27, 2017, 4:24pm UTC](https://devforum.okta.com/t/regarding-relaystate/181/2 "2017-06-27T16:24:15Z")

</div>

The `RelayState` can be any HTTP parameter passed from the SP to the IDP. There is a great example here - [SAML: Understanding SP-initiated Login Flow](https://developer.okta.com/standards/SAML/#understanding-sp-initiated-login-flow).

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/oktadev/original/1X/589c4c5f80de422d01f47cee7185a7fb8227835c.png) [@system](https://devforum.okta.com/u/system)\
**Post date:** [January 12, 2024, 7:03pm UTC](https://devforum.okta.com/t/regarding-relaystate/181/3 "2024-01-12T19:03:34Z")

</div>

Closed on January 12, 2024, 7:03pm UTC

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.
