[feature] Force check credentials before search
See original GitHub issueI noticed that there are some conan package registry that return empty array with code 200 rather than return code 401 while searching packages without a valid credential. (at least including Artifactory and GitLab)
So I request to add an argument for conan search
command to explicitly check credentials before search.
Issue Analytics
- State:
- Created a year ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Login credentials are required to access publicly shared ...
Technical Article Details : Problem: Login credentials are required to access publicly shared layers or feature services.
Read more >Is there a Windows command line utility to verify user ...
On a Windows platform, is there any command line utility that I can pass a username , password domain name to in order...
Read more >Credentials Processes in Windows Authentication
Learn about how Windows authentication processes credentials.
Read more >gitcredentials Documentation - Git
This manual describes the mechanisms Git uses to request these credentials, as well as some features to avoid inputting these credentials repeatedly.
Read more >Validate a username and password against Active Directory?
The down-side to querying an AD server is that you have permission to query the AD server. Your credential can be valid, but...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I just had same issue on
conan install
with expired credentials. It reported that no such package exists. Version 1.50I see. I’ve missed this case. So can we add a property for remote to indicate the remote needs credentials or not? (eg.
conan remote add gitlab https://gitlab.example.tld --with-credentials
)Or change it by call
conan user
: (eg.conan user -r gitlab --always-check-credentials username
) and useconan user -r gitlab --clean
to reset it.