nitmir / django-cas-server

A Django Central Authentication Service server implementing the CAS Protocol 3.0 Specification
GNU General Public License v3.0
132 stars 44 forks source link

QUESTION: Any idea how to integrate Duo 2FA? #52

Open heckyeahcool opened 4 years ago

heckyeahcool commented 4 years ago

I have the need to integrate Duo Security 2FA using https://github.com/duosecurity/duo_python. Not sure how to go about it. Any advice would be greatly appreciated.

-Brian

nitmir commented 3 years ago

Hi

I am sorry but I have no idea how to integrate duo_python. Django-cas-server use auth classes defined in the cas_server/auth.py file. You could write your how to use duo_python. It works for using another CAS as an auth backend, so I guess it must be possible to integrate 2FA.