Uploaded image for project: 'Clowder'
  1. Clowder
  2. CATS-895

Adjust proxy endpoint to handle authentication credentials


    • Icon: New Feature New Feature
    • Resolution: Fixed
    • Icon: Normal Normal
    • None
    • None
    • None
    • None

      Now that the proxy endpoints are working, we need the ability to pass credentials of a service account (configured in custom.conf) to the underlying service to which we are proxying.

      The current example we are focusing on is geoserver's basic auth. Ideally, we can update the proxy's configuration parser to handle URLs containing embedded credentials. Since WS does not seem to handle this automatically (e.g. "Received fatal alert: internal_error to https://username:12345@httpbin.org/basic-auth/username/12345"), we will likely need to leverage Playframework's URL parser to pull credentials out the properly encoded proxy targets.

      This ticket is complete when the proxy can successfully communicate with services protected by basic auth.

              lambert8 Sara Lambert
              lambert8 Sara Lambert
              0 Vote for this issue
              1 Start watching this issue