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

Create Enhancement document for improving cluster login flow

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Done
    • Icon: Major Major
    • None
    • None
    • api-server
    • 5
    • False
    • False
    • CFE Sprint 209, CFE Sprint 210, CFE Sprint 211, CFE Sprint 212, CFE Sprint 213, CFE Sprint 214, CFE Sprint 215
    • 0

      Currently when a user wants to login they need to perform the following steps:

      1. Open the console.
      2. Login to the console.
      3. Click on the "Copy Login Command" which redirects to the OAuth app.
      4. Perform login again.
      5. Copy the command.
      6. Paste the copied command in the console.

      RFE-937 describes the issue in more detail.

      One of the possible improvements is to modify the CLI with the following changes:

      1. oc login $SERVER_URL should directly open the OAuth application where the user can login.
      2. The oc command can start a server which can receive a callback on localhost with the token.
      3. When the OAuth application complete authentication it can redirect back to localhost where the oc process is listening.

      Before making these changes we should first write an RFE which describes this process in more detail and get approval from the owning teams.

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

              Created:
              Updated:
              Resolved: