I am trying to add 2 factor authentication (like google authenticator) for sugarcrm.
I understand that i can use 'after_login' logic hook.
But i don't know how to call a custom page to get otp.
Hi Rahul Jain
Once LogicHooks run at server side it is not possible to render from them another page and fetch data from them as well. But you can customize/extend the Login page in order to ask for additional credentials, store them somewhere and then use them for 2fa inside a after_login LogicHook.
3rd party identity providers (like Okta) typically provide 2FA support. They can be integrated with Sugar using SAML/SSO.
Retrieving data ...