-
|
There is no option to map "uid" returned from CAS authentication to Chamilo "username". There is a plethora of options except this one. I see 'user_search' => 'uid=%username%' during LDAP authentication but not CAS. I DO NOT HAVE AN LDAP backend. I simply want to use "uid" as the username. I am pretty sure Chamilo authentication has to do this instead of CAS. I don't want to use the email as username. Cas returns a UUID in the "uid" field and that is exactly what I want to use. No hay ninguna opción para asignar el "uid" devuelto por la autenticación CAS al "nombre de usuario" de Chamilo. Hay muchas opciones excepto esta. Veo 'user_search' => 'uid=%username%' durante la autenticación LDAP, pero no en CAS. No tengo un backend LDAP. Simplemente quiero usar "uid" como nombre de usuario. Estoy bastante seguro de que la autenticación de Chamilo debe hacer esto en lugar de CAS. NO Quiero usar el correo electrónico! Cas devuelve un UUID en el campo "uid" y eso es exactamente lo que quiero usar. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
|
Hi @dannymk There is not option to configure this it is set directly in the code in the function createCASAuthenticatedUserFromScratch in main/inc/lib/usermanager.lib.php So this should be implemented if you want to add this option. Best regards |
Beta Was this translation helpful? Give feedback.
Hi @dannymk
You are welcome to ask on Fiverr and then contribute the code to Chamilo so that It will be included in Chamilo and you would not need to maintain the specific code on your platform at every update.
Make sure to leave the current situation by default and enable your need as an option in app/config/configuration.php so that it will be possible to integrate it in Chamilo.
Best regards