# Wrong RelayState parameter received in the

**URL:** <https://community.auth0.com/t/wrong-relaystate-parameter-received-in-the/10484>\
**Category:** Get Help\
**Created:** [March 29, 2018, 10:15am UTC](https://community.auth0.com/t/wrong-relaystate-parameter-received-in-the/10484 "2018-03-29T10:15:53Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![axeloz](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@axeloz](https://community.auth0.com/u/axeloz)\
**Post date:** [March 29, 2018, 10:15am UTC](https://community.auth0.com/t/wrong-relaystate-parameter-received-in-the/10484/1 "2018-03-29T10:15:53Z")

</div>

Hello,

I’m developing a SAML auth on top of Laravel 5. The authentication process works just fine. However, I have a problem with the RelayState param.  
When I start the SAML request, I add a RelayState param (ex: &RelayState=http%3A%2F%2Fmysite.local%3A8080%2Fmember). This param appears into the Auth0 login page URL. But after authentication, when getting redirected to my app, the RelayState param becomes something like “0RkkkmCwom9M\_14p6xvj28JDT3\_t7l0i”.

There is probably something I don’t understand but I thought that this param wasn’t supposed to changed during the auth process.

Why does Auth0 transmit a different param?

Thanks a lot,

Axel

---

<div class="post-metadata">

**Author:** ![jerdog](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/jerdog/32/11231_2.png) [@jerdog](https://community.auth0.com/u/jerdog)\
**Post date:** [March 29, 2018, 8:20pm UTC](https://community.auth0.com/t/wrong-relaystate-parameter-received-in-the/10484/2 "2018-03-29T20:20:28Z")

</div>

Not sure if this will be any help for you?

> **[Troubleshoot SAML Configurations](https://auth0.com/docs/troubleshoot/authentication-issues/troubleshoot-saml-configurations)**
>
> Describes troubleshooting for SAML configuration issues.

---

<div class="post-metadata">

**Author:** ![arun.p](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@arun.p](https://community.auth0.com/u/arun.p)\
**Post date:** [September 14, 2018, 12:04pm UTC](https://community.auth0.com/t/wrong-relaystate-parameter-received-in-the/10484/3 "2018-09-14T12:04:31Z")

</div>

Did you solve the problem?

I’m having the same issue

---

<div class="post-metadata">

**Author:** ![arun.p](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@arun.p](https://community.auth0.com/u/arun.p)\
**Post date:** [September 14, 2018, 12:06pm UTC](https://community.auth0.com/t/wrong-relaystate-parameter-received-in-the/10484/4 "2018-09-14T12:06:46Z")

</div>

That is related to _Auth0_ being a Service Provider.

In my case _Aut0_ is the IDP and from my _SP_ I’m sending a request with a `RelayState` parameter. But when the _SAMLReponse_ comes back, it have an entirely different value fro the _RelayState_ parameter

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [July 26, 2019, 10:34am UTC](https://community.auth0.com/t/wrong-relaystate-parameter-received-in-the/10484/5 "2019-07-26T10:34:40Z")

</div>


