If you set it in authsources.php, it should be with an option named
'RelayState'. You can also send the RelayState parameter from the IdP.
How you do that depends on the IdP. In the case of simpleSAMLphp, you
set it as an additional query-parameter to SSOService.php.
Regards,
Olav Morken
UNINETT / Feide