Okay, so I found the "problem". 
First of all, I checked the CASCookiePath folder and the cookie was created 
correctly and all the necessary information was there. 
At this point, I knew it was just a display problem and I replaced the php 
part of the secured-by-cas/index.php by this :  

<?php
foreach (getallheaders() as $name => $value) {
    echo "$name: $value\n";
}
?>

You can find more here : 
https://www.php.net/manual/en/function.getallheaders.php

This time, everything was well displayed but with the header "Cas-" and not 
"CAS_" as it was written in the guide I follow.

So TLDR : In the php part of the secured-by-cas/index.php just replace 
"CAS_" by "Cas-" and it will be good. 

I spent about ten hours on this stupid problem, I hope it will help someone 
else :) 

-- 
- Website: https://apereo.github.io/cas
- Gitter Chatroom: https://gitter.im/apereo/cas
- List Guidelines: https://goo.gl/1VRrw7
- Contributions: https://goo.gl/mh7qDG
--- 
You received this message because you are subscribed to the Google Groups "CAS 
Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/d9c911f5-5d48-42a7-8c30-ad894915e3a7o%40apereo.org.

Reply via email to