Uploaded image for project: 'OpenShift Java Client'
  1. OpenShift Java Client
  2. OSJC-284

Authorize URL is computed from baseURL use /.well-known/oauth-authorization-server

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 7.1.0
    • Fix Version/s: 7.1.1
    • Component/s: core
    • Labels:
      None

      Description

      When login is performed, an authenticator needs to compute an authorize URL to send the request. The library is using the cluster base URL but this does not work for OCP4 as the host name needs to be different.
      In order to be compliant, we should use the authorization_endpoint field from the /.well-known/oauth-authorization-server endpoint and default to /oauth/authorize

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                jeffmaury Jeff MAURY
                Reporter:
                jeffmaury Jeff MAURY
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: