MODX Community

MODX 2FA with phpCAS

Does anyone know if 2 factor authentication in MODX can work with phpCAS?

I’m supposed to enable this with my MODX server, but I’m unfamiliar with both of these and trying to get some ideas.

Thank you,

Hi @marquez

Yeah there’s no reason why not, but it would take some custom work.

I assume (without knowing anything about CAS) the way to go would be when someone goes to login you’d need to send a request to the authentication server using that phpCAS client, then if the response is successful, programmatically log the user in to whichever contexts you want them authenticated on.