phpCAS Sign Out: service, url or destination?
Pascal Aubry
pascal.aubry at univ-rennes1.fr
Thu Jun 26 15:57:35 EDT 2008
Adam Moore a écrit :
> I see in the logout method it is using ?service= for logout url.
> Currently within another project I am working on people have different
> parameters for the logout url. For me ?destination= is what works.
> For others ?url= is what works and sometimes ?service= works. Looking
> at the documentation for cas, it seems cas 1.0 uses ?url=. The way we
> handled it in this project is to specify all three on the logout url
> and the server can decide which one to use.
>
> So line 930 in the client.php file could look like this.
>
> $url = '?service=' . $url . '&destination=' . $url . '&service=' . $url;
>
> Thoughts?
>
> Adam
Hi Adam,
I feel that passing the three parameters is the quick and dirty way to
make it work. I did it for 1.0.0RC2, please test.
However, I think that one parameter should be enough. What do CAS
developers think about it?
PA
--
http://perso.univ-rennes1.fr/pascal.aubry
More information about the cas
mailing list