Posted: 14 Aug 2019 18:54 EDT Last activity: 15 Aug 2019 15:17 EDT
modal dialog to prompt for OTP from login
I need to be able to call a modal dialog to prompt the user logging in for the OTP password sent to their email. The user has been validated from LDAP and the OTP sent to the user at this point, but the user is not totally authenticated yet. How can this be accomplished?
***Edited by Moderator Marissa to update platform capability tags****
Assuming that you are redirecting the correctly authenticated user to a screen based on his LDAP credentials, on the screen that is being loaded, you could put a jQuery function to launch the modal when the document/screen is ready...
pega.u.d.processAction(<lookup the api on your own and pass the right parameters to launch modal>);