Skip to content

Better handle indications that the auth token may have expired #594

Open
@phantomjinx

Description

Logging in with a token, especially when using form authentication, requires entering a token that may have been generated using create token <service-account>. Such tokens can have quite short lifetimes hence expire. However, expiration is not necessarily tested when authenticating and the token may actually expire after logging-in. Such a use-case results in no pods being displayed in Discover due to error 401 responses being returned from requests to the cluster API server.

Better information informing the user with some kind of warning that the token may need renewing (if not renewing automatically) would be beneficial.

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions