0
Retrieve additional user data through phpCAS
Currently, CAS authentication only retrieves the user login through phpCAS.
It would be awesome to have a way to get more data from the single sign-on server, e.g :
/* Current behaviour in getAlternateAuthSystemsUserLogin() */ $this->user->fields['name'] = phpCAS::getUser()
/* Desired behaviour */ $additionalAttributes = phpCAS::getAttributes(); $profile = additionalAttributes['cas_profile_key'];
Ideally, the user should be able to map GLPI user data with CAS data, just like with external auth.
I worked on a solution but it is limited to my own use case thus is not quite generic. I would love to help though.
Сервис поддержки клиентов работает на платформе UserEcho