Relaystate is overwritten with ACS every time? Skip to main content
https://support.okta.com/help/answers?id=906f0000000dfeyia4&refurl=http%3a%2f%2fsupport.okta.com%2fhelp%2fanswers
How satisfied are you with the Okta Help Center?
Thank you for your feedback!
How satisfied are you with the Okta Help Center?
1
2
3
4
5
Very Dissatisfied
Very satisfied
Enter content less than 200 characters.
Ask Search:
Robert HorvathRobert Horvath 

Relaystate is overwritten with ACS every time?

Hi,

I set up my first SAML application and tried it. My problem is that Okta sands back the ACS to the SP nstead of the RelayState (where the request is coming from). In my setup there are several proxied backend. When I call https://fqdn/vhost1 or https://fqdn/vhost2 my SP send the the data to Okta and the relaystate is allways points back to the original request location. I can see it in the request header. 
But when I logged in Okta overwrite relayState with the ACS and sends me back to the https://fqdn instead of the original location.

Is this a bug? 
Or could you explain me how could I set up my SAML idp in Okta to serv as I'd like?

Regards,
Robert
Anghel IonescuAnghel Ionescu (Okta, Inc.)
Hi Robert,
The easiest way to implement SAML is to leverage an OpenSource SAML toolkit.
We have some documenation regarding the SAML standars here (http://developer.okta.com/standards/SAML/)
Also we provide a handy tool for SAML validations : http://saml.oktadev.com/

Best regards
Anghel