I have enabled two-factor authentication in Apereo CAS 6.5 and it works well using CAS UI page available on /login endpoint. I use CAS simple provider.
If I provide username and password then I am asked about providing two-factor code. After that I insert the code and I am logged in.
I wonder if it is possible to enable two-factor for CAS REST protocol? I would like to be asked for two-factor code while generating TGT via REST.
I enabled global trigger for multi factor authentication and I am unable to get two-factor code as I am getting through login page.