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
Auth returning success for invalid logins #24093
Comments
Is there a way to downgrade a version? |
I have created a thread in Docker forum for this too, https://forums.docker.com/t/docker-login-does-not-work-responds-login-succeeded-to-everything/17196 |
/cc @runcom @aaronlehmann |
@velo: I believe that since you are omitting the password, no authentication happens, and it's as if you were using the hub as an unauthenticated user (therefore "login succeeded"). This indeed looks like a minor bug in Docker, but I think the main issue is that you're not passing a password to the @gajus: In your forum thread, you gave the example command
cc @dmcgowan |
It could be an issue on GitLab end, yes. By accident I noticed that requests against But then again, I haven't done much debugging to confirm that it is not an issue with the target endpoint. Regardless, it seems necessary to enforce minimum response schema requirements, to at least ensure that the endpoint is understanding the request. |
@aaronlehmann |
Not just a gitlab issue, occurs with AWS too. Says "login succeeded" yet I am unauthorized to pull down docker images from the registry. It worked a couple of times but I cannot figure-out what was different and AFAIK "nothing had changed." |
wow - this is still an issue....
I typed something random for the password. pretty much anything that returns 200 for https://whatever/v2/ is considered a success by docker? |
still reproduced with |
Output of
docker version
:Output of
docker info
:Additional environment details (AWS, VirtualBox, physical, etc.):
Windows beta and ubuntu 14.04
Steps to reproduce the issue:
Describe the results you received:
Describe the results you expected:
Error 500
The text was updated successfully, but these errors were encountered: