Forum Discussion

veredgfbll's avatar
Apr 03, 2025

issue with shared APM error messages

I am wondering if there is a solution for this - 

We have several types of login pages in one policy - for instance: user and password form and an OTP code form and a google auth form.

I was asked to customize the error message for wrong user or password.

Unfortunately they all share the same AAA error section: "incorrect user or password"... but as you can understand - I don't have a user in the OTP or GA sections and would like a way to have a separate error per logon page - any ideas?

Thanks

 

Vered

2 Replies

  • Which error are you referring to?

    Are you looking at the APM logs, or is this the error presented to the user?

  • To display different error messages for various login forms (password, OTP, Google Auth) sharing the same AAA error section, consider leveraging different AAA virtual servers/policies for clear separation. Alternatively, use contextual information (request parameters) and conditional logic on the error page to display https://www-ezpasspa.com/ specific messages. Some AAA systems might offer granular error codes you can map to custom messages. Redirecting to separate error pages based on the login method is another option but adds complexity. Investigate your AAA system's capabilities first for the most structured solution.