Skip to content

Issues with headless login in anaconda-client 1.14 #238

@mattkram

Description

@mattkram

A user reported challenges with interactive login in a headless context. We must investigate which part of the login flow is causing the issue.

My suspicion is it may be due to SSL verification setup when fetching the OIDC parameters, since device flow override didn't work, but further investigation is required.

The initial behavior is reproduced from conda-forge Zulip#general > Log in to anaconda-client 1.14 here:

(jaxlib-feedstock) ubuntu@ip-172-31-17-213:~/Development/jaxlib-feedstock/build_artifacts/linux-aarch64$ export ANACONDA_AUTH_USE_DEVICE_FLOW=1
(jaxlib-feedstock) ubuntu@ip-172-31-17-213:~/Development/jaxlib-feedstock/build_artifacts/linux-aarch64$ anaconda login
 choose destination:
   anaconda.com [default]
 * anaconda.org
Using Anaconda API: https://api.anaconda.org
<hangs>

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