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

Use HttpBasic auth in the ping API endpoint for the "conan user" command. #6254

Merged
merged 4 commits into from Dec 20, 2019

Conversation

memsharded
Copy link
Member

@memsharded memsharded commented Dec 18, 2019

Changelog: Fix: When the token is empty, and conan user myuser -p=mypass -r=remote is used, the user-password are send in HttpBasic so it can be used for completely protected servers that do not expose the ping endpoint.
Docs: Omit

Investigation PR, to see if it makes sense to send HttpBasic over ping instead of empty JWT

Maybe close #6240

#tags: slow

Copy link
Contributor

@lasote lasote left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be ok. I've played a bit with an Artifactory and shouldn't be breaking. :P 🍔

@lasote lasote merged commit 247579f into conan-io:develop Dec 20, 2019
@memsharded memsharded deleted the feature/http_basic_ping branch December 20, 2019 15:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[bug] Conan does not provide Authorization cookie when accessing /v1/ping when adding user
2 participants