-
-
Notifications
You must be signed in to change notification settings - Fork 322
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
Unable to connect to registry with token auth #47
Comments
Hello, thank you for your issue. I'm sorry but the UI can only use basic authentication and not authentication by token 😕 auth:
htpasswd:
realm: basic-realm
path: /etc/docker/registry/htpasswd Maybe one day this will be available. Basic auth can be a security issue sometimes (when you use it with docker login). I hope this will help you |
Thanks for your answer I also suggest to edit the readme in order to reflect the fact that only basic auth is supported and make it explicit that token auth is not 😉 |
You are welcome. Sorry but I don't know any other alternatives to do it 😕 good luck to find what you are looking for. |
@Joxit Hello, following this issue, I guess token based authentification is still not supported. You said previously that we can set the "basic-auth connection for the UI only with restricted rights (only GET/OPTION/HEADER" My question is how to set these options "GET/OPTION/HEADER" with a |
@Joxit thanks allot. |
@Crocmagnon |
@vitalybrandes sorry, I left this job more than two years ago and I can't remember what we ended up with. Also, the landscape must have changed a lot since then 😕 |
Hi there, in 2.0.0 token auth will be avalable via keycloak/docker token auth v2 protocol 🚀 checkout #167 and the new example https://github.com/Joxit/docker-registry-ui/tree/main/examples/token-auth-keycloak |
Hi,
I'm unable to connect to my registry using either the static option with
URL
, withREGISTRY_URL
or the dynamic one.I'm always getting a "toast" with the response from the server:
Here's a screenshot:
Things to note:
docker login stable.registry.example.com
without any issue.https://joxit.github.com
(which I did).Here's my
docker-compose.yml
and my
registry_config.yml
The text was updated successfully, but these errors were encountered: