Here is what I'm trying to do;
(I know, it's ugly)
Our IDP doesn't return eppn, but returns "mail" (email address of authenticated
I've modified the code (shibauth/index.php) to use $_SERVER['mail'] as opposed
to $_SERVER['eppn']. This is the only value I'm trying to get in
shibauth/index.php, if I understand the code, it splits eppn in 2 using the @
and puts the first part in $username before inserting into user table. I get
users with names of "@", which causes all sorts of problems.
My test php script displays $_SERVER['mail'] with the correct value in it,
however, vcl does NOT appear to get this value.
From: Aaron Coburn [mailto:acob...@amherst.edu]
Sent: Friday, October 14, 2011 11:42 AM
Subject: Re: $_SERVER variables for use in Shibauth
the shib-related $_SERVER vars will be empty outside the shib-protected
directory (/shibauth). Are they empty in the /shibauth directory, too (i.e. the
same directory you put your test PHP page)?
On Oct 14, 2011, at 11:34 AM, Yannick Charbonneau wrote:
Still working on my Shibboleth integration.
For some unknown reason within vcl my $_SERVER variables are empty. I have a
php test page which displays the values and I can see them. But within VCL,
Anybody seen this before?