> Plus I can see that a critical file in the
> process gives errors. SSOService.php, but since I cannot figure out
> how to turn off the redirect before it goes back to the sp, I have no
> idea what the errors are. Perhaps the next stage is to try the process
> with lynx, which will let me control the redirect.
Here are some tips:
1) If you want to trace PHP errors, run 'tail -f' on the apache error
log. A standard configuration of PHP will print all errors there.
2) The $attributes array that you pass to setAttributes MUST include
multi-valued attributes. (An array of arrays). A simple way to
approach that is modifying your code:
'username' => array($qls->user_info),
'email' => array($qls->user_info['email'])
etc.
3) In config.php, set 'debug' => TRUE. Doing this will make
simpleSAMLphp show you a debug page in SSOService just before the SAML
message is sent back to the SP. Why is this a good idea? You can look
into the SAML message and see if there is any attributes, then you
know whether your problems is on the SP or on the IdP side.
I hope this helps, let us know how it goes.
kind regards
Andreas.
--
Andreas Åkre Solberg
=andreas
http://rnd.feide.no