I am trying to implement Multi-Factor Authentication as part of our login process for Activiti Explorer. Our flow would be as below:
1. Visit Activiti Explorer login page.
2. Redirect to MFA page and enter username/password.
3. If authenticated, redirect back to Activiti Explorer login page to allow username and password entry.
I am unsure how to get Activiti Explorer to redirect to the MFA page prior to the login page being loaded. Our idea is to have a custom handler that will visit the service provider endpoint and allow user input for username and password. After successful authentication, the endpoint will redirect to the activiti explorer login page for activiti's specific login. How can we implement this approach in activiti?
Any help is appreciated.