I'm trying to configure authentication (SSO) with ADFS for some Service Provider system through SAML.
At the moment, the following is happening:
- Service Provider send auth request to ADFS with filled parameters SAMLRequest and RelayState (I cannot influence the logic of forming the request and filling in the parameters).
- ADFS accept the request, process claim rules and send request back to Service Provider.
- Service Provider makes a redirection decision based on the received parameters generated by claim rules.
Is there any way to get RelayState parameter in claim rule, or some other way to send RelayState back to Service Provider?