Layer7 API Management

  • 1.  Customize Error for Basci Authentication

    Posted May 22, 2018 02:51 PM

    We have basic Authentication request where in supplied User credentials will be validated against the Identity Provider ( LDAP).

    For scenarios where the user doesn't exist in the identity system,we want to send custom error codes.

     

    Do we have a way to find if user exists or not in same  "Authenticate against Identity Provider." assertion ?



  • 2.  Re: Customize Error for Basci Authentication
    Best Answer

    Broadcom Employee
    Posted May 22, 2018 03:35 PM

    Here is the Wiki page on the assertion: Authenticate Against Identity Provider Assertion - CA API Gateway - 9.3 - CA Technologies Documentation 

     

    There is an idp.error.code and idp.error.message that is set when using a LDAP on an error condition, and based on those the code/message that is returned on for the use case(s) the logic might be able to be built.