Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Synchronize gitlab password with cas

I've configured Gitlab CE 10.6 with OmniAuth and a CAS server that authenticates against two Active Directories and a users db. The login process is working fine to make the automatic signup, etc... now, i've been asked to synchronize the password from my CAS server with the gitlab password to avoid this extra step for the user, Is there any configuration or property to do this? If not what do you recommend me to do to solve this requirement?

Thank you in advance!

like image 438
José Hidalgo Avatar asked Apr 22 '26 15:04

José Hidalgo


1 Answers

I don't think this is possible out of the box, but you can extend the current authentication strategies/handlers to grab the password and do what you need with them. Each handler has a preAuthenticate() method that might be useful in this case.

like image 106
Misagh Moayyed Avatar answered Apr 25 '26 02:04

Misagh Moayyed