Also, you must use PHP CAS 3.0, I have had the same problem, somewhere it
is documented that CAS 2.0 does not provide attributes with PHP CAS
So, you must set the server version when you initialize:
// Initialize phpCAS
phpCAS::client(CAS_VERSION_3_0, ...
This is what I added in my service registry:
...
"attributeReleasePolicy" : {
"@class" : "org.jasig.cas.services.ReturnAllAttributeReleasePolicy",
...
--
- CAS gitter chatroom: https://gitter.im/apereo/cas
- CAS mailing list guidelines: https://apereo.github.io/cas/Mailing-Lists.html
- CAS documentation website: https://apereo.github.io/cas
- CAS project website: https://github.com/apereo/cas
---
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/57c93d2c-5e27-4b26-8c18-4f6f2e96101a%40apereo.org.