Skip to content

osc login after token expiry #2132

Closed
Closed

Description

@jimmidyson

osc login works great, but once the token stored in ~/.config/openshift/config expires, what is the process for logging in again?

Running osc login again returns:

Login failed (401 Unauthorized)
Unauthorized

With no prompting to re-authenticate.

Activity

  1. added
    kind/bug
    on May 8, 2015
  2. jimmidyson commented on May 12, 2015

    @jimmidyson
    ContributorAuthor

    So it seems like now I can do osc login multiple times, but ~/.config/openshift/config then contains multiple users, even for the same user name. The current-context is set to the latest user & osc commands work using that, but having multiple entries for the same user login, including expired tokens, is a bit smelly.

  3. fabianofranz commented on May 18, 2015

    @fabianofranz
    Contributor

    @liggitt this is fixed in master.

  4. liggitt commented on May 18, 2015

    @liggitt
    Contributor

    Fixed by #2226

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

component/clikind/bugpriority/P1

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions