Uploaded image for project: 'OpenShift CFE'
  1. OpenShift CFE
  2. CFE-280

Implement browser based cluster login in oc

XMLWordPrintable

    • oc-browser-login
    • False
    • False
    • To Do
    • OCPSTRAT-378 - Secure token usage with oc client
    • OCPSTRAT-378Secure token usage with oc client
    • 66
    • 66% 66%
    • 0

      1. The oc login command can be used to login to a cluster by launching a browser with a token request and a callback URL which is a server launched by oc. After receiving the callback the client can then use PKCE to obtain token. This enhancement describes the new functionality.

      Acceptance Criteria:

      • Enhancement is accepted/merged
      • New login workflow implemented with unit tests.
      • New login workflow is described in the 4.11 release notes.

      Note: Since this feature relies on launching a browser it cannot be tested on the CI platform. However the unit tests cover the entire workflow by mocking the browser launch and the callback.

      Tasks:

      • Add a new client for the new workflow.
      • Implement the workflow in oc.
      • Write docs for 4.11 release.

        There are no Sub-Tasks for this issue.

            anaik.openshift Arjun Naik (Inactive)
            anaik.openshift Arjun Naik (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            12 Start watching this issue

              Created:
              Updated:
              Resolved: