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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 7.1.1
    • 7.1.0
    • core
    • None

      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

              jmaury@redhat.com Jeff MAURY
              jmaury@redhat.com Jeff MAURY
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: