PingAccess

Creating an API application

About this task

To verify the connection by making an end-to-end request:

Steps

  1. In PingAccess, create an application for Kong.

    For more information, see Adding an application.

    1. Go to Applications → Applications and click Add Application.

    2. Enter the Name, Context Root, and Virtual Host(s) information to match how the application APIs are exposed.

    3. In the Destination list, select Sideband.

    4. In the Sideband Client list, select the sideband client you created for Kong. Click Save.

      Troubleshooting:

      If the requests aren’t going through to the backend service as expected, debug logging can give a detailed breakdown of the request/response flow through Kong. In the ping-auth config, set enable_debug_logging to true, and set log_level = debug in kong.conf. These messages might contain sensitive request information and accumulate disk space, so you should disable debug logging after troubleshooting.

      The pingaccess.log on the PingAccess node can also provide useful debugging data. For more information, see Log configuration.

Next steps

After you create the application, you can assign rules to it to control access to APIs protected by the Kong gateway. See Rule management for more information about configuring rules.