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 form is not showing #330
Comments
Hi, thank you for using my project and submitting issues! It's my fault, there was a typo in the README, checkout #329 The headers should be - REGISTRY_HTTP_HEADERS_Access-Control-Origin: '[https://my-external-url.com]'
+ REGISTRY_HTTP_HEADERS_Access-Control-Allow-Origin: '[https://my-external-url.com]'
- REGISTRY_HTTP_HEADERS_Access-Control-Credentials: '[true]'
+ REGISTRY_HTTP_HEADERS_Access-Control-Allow-Credentials: '[true]' Tell me if the issue persists after this change 😄 |
Thank you for your quick response, unfotunately the issue is still exist.. I have updated env vars of registry container: environment:
REGISTRY_STORAGE_FILESYSTEM_ROOTDIRECTORY: /registry
REGISTRY_STORAGE_DELETE_ENABLED: 'true'
REGISTRY_HTTP_HEADERS_Access-Control-Allow-Origin: '[https://ui.registry.external.url.com]'
REGISTRY_HTTP_HEADERS_Access-Control-Allow-Methods: '[HEAD,GET,OPTIONS,DELETE]'
REGISTRY_HTTP_HEADERS_Access-Control-Allow-Credentials: '[true]'
REGISTRY_HTTP_HEADERS_Access-Control-Allow-Headers: '[Authorization,Accept,Cache-Control]'
REGISTRY_HTTP_HEADERS_Access-Control-Expose-Headers: '[Docker-Content-Digest]'
REGISTRY_AUTH_TOKEN_REALM: https://git.external.url/jwt/auth
REGISTRY_AUTH_TOKEN_SERVICE: container_registry
REGISTRY_AUTH_TOKEN_ISSUER: omnibus-gitlab-issuer
REGISTRY_AUTH_TOKEN_ROOTCERTBUNDLE: /certs/registry.crt The form of login and password still missing. I see 401 in console log. Could you advise something else to check? |
I will need : |
Here is copied request with 401 response: So the problem is that I was not asked for username and password to provide... I tried different browser, set the latest version |
Did you tried This is a configuration issue for sure, just need to found where... Can I see the headers of the response? Your registry and ui are on the strictly same domain? (same domain AND subdomain, same port) You mentioned token authentication, did you checked this example https://github.com/Joxit/docker-registry-ui/tree/main/examples/token-auth-keycloak? |
Hi there, could you pull the latest main tag and try if it works now? The sha should be 3414d7b |
Hello! Thank you for staying in contact! Sorry for late response, we have switched our focus... I tried to use this image Unfortunately the problem is the same as described above. |
Hi, sorry I was talking about the latest Like you |
I have tried, no luck, sorry! Is there anything else we can try? :D |
Hi, I made a new release if you want to try it v2.5.3 |
I still have the issue: I did set |
Did you set |
Having the same issue in Safari. It works OK when I open the page in Firefox though. |
Hi, I use this docker registry UI and I have an issue when configured it with option secured option (REGISTRY_SECURED=true)
My registry is secured by gitlab auth mechanism.
Bug description
My private docker registry and registry-ui configuration
Thank you for your project!
The text was updated successfully, but these errors were encountered: