Skip to content

Frequent Device Login Prompts When Switching Regions (China and Global) #652

@vibin18

Description

@vibin18

I'm using kubelogin to authenticate kubectl CLI access across multiple AKS clusters in different regions (e.g., China and Europe). However, when I switch contexts between clusters in these regions, I’m frequently prompted to perform a device login for every kubectl command.

This behavior appears inconsistent with expected token caching. It seems that tokens are not being reused or cached correctly across regions or Azure cloud environments (e.g., Azure China vs Azure Global).

Metadata

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