Forum Discussion

raydakis's avatar
raydakis
Icon for Altocumulus rankAltocumulus
Jan 18, 2024

APM profile modern type javascript code

Hello guys,

I want to customize APM policy type modern that use trustbuilder (inwebo) as MFA.
so I added a dialog box warning the user that once he clicked on the button he would be redirected
to trusbuilder device authentication.
im using tmos v16.1.4
can someone know what javascript code (in advance customization) can insert a message after a click event or even insert inwebo helium ?
So user will know, he have to quickly go and ckeck his MFA device to enter pin code.
please see attached my apm policy.

 

Thanks in advance,

Raydakis,

    • raydakis's avatar
      raydakis
      Icon for Altocumulus rankAltocumulus

      Hello Lucas_Thompson,

      Thanks for your help.  I didnt work this weekend, so i just read your message.

      I'll try to customize the logon page javascript to adapt to message box .

      And then also try the second solution with standard SAML.

      Next week i will give feed back.

      Many thanks,

      Raydakis,

       

       

      • raydakis's avatar
        raydakis
        Icon for Altocumulus rankAltocumulus

        Hello,

        i succeed to adapt text of message box using this link :  https://community.f5.com/t5/technical-forum/modern-template-quot-decision-box-quot-modify-quot-title-quot/td-p/318422

        but I cant find the right javascript code for button caption change after user click  (message box, modern style).
        for example i need caption change from "click to continue" => "check your MFA device" after user click on the button.

        Can someone ever used javascript code of message box button (modern style advanced customization)?

        Thanks

        Raydakis,