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

Adjust proxy endpoint to handle authentication credentials

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Done
    • Normal
    • Resolution: Fixed
    • None
    • None
    • None
    • None

    Description

      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.

      Gliffy Diagrams

        Attachments

          Activity

            People

              lambert8 Sara Lambert
              lambert8 Sara Lambert
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Tasks