Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[question] conan remote login requires user input several times when logging into multiple remotes #17551

Closed
1 task done
hackenbergstefan opened this issue Jan 8, 2025 · 2 comments · Fixed by #17552
Closed
1 task done
Assignees

Comments

@hackenbergstefan
Copy link
Contributor

What is your question?

Hi!

  • I'm using multiple remotes and my users were used to use conan remote login '*' to login to those remotes.
  • In Conan <= v2.7.1 the interactive prompt asked once for username and password and used this to try to login to all given remotes.
  • With the introduction of auth plugin and the shift of the dealing with authentication to each remote the user is asked repeatedly for every given remote. conan/cli/commands/remote.py 2.7.1...2.11.0

Is the new behavior an intended change?

Thanks for your answer in advance!

Have you read the CONTRIBUTING guide?

  • I've read the CONTRIBUTING guide
@memsharded memsharded self-assigned this Jan 8, 2025
@memsharded
Copy link
Member

Hi @hackenbergstefan

Thanks for your question.

Yes, I have checked it in code with a test, that was indeed a subtle bug for Conan<=2.7 that was fixed with the introduction of the auth plugin. So it was totally intended. The thing is that it was not properly covered by tests back then, and I don't see anything enough explicit yet, so I will do a PR to contribute it and have this covered to be more future proof.

@memsharded
Copy link
Member

This ticket has been automatically closed by #17552, but please let me know if there is any further question. Thanks for your feedback.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants