Is there a login UI for htpasswd? #2635
-
I've set up Zot 2.1.1, and I have the following config for the access control: "repositories": {
"**": {
"defaultPolicy": [ "read" ],
"anonymousPolicy": []
},
"": {"anonymousPolicy": [ "read" ]}
},
"adminPolicy": {
"users": ["***"],
"actions": ["read", "create", "update", "delete"]
} Using the API works correctly, but when I use the UI, it will be an anonymous session and will not see any repos. How do I invoke or show a login UI which will allow me to log in as an authenticated user and view the repos? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Hi @WoodyWoodsta, have you set authentication in the zot config? |
Beta Was this translation helpful? Give feedback.
-
@WoodyWoodsta pls consider joining our Slack channel https://cloud-native.slack.com/archives/C03EGRE4QGH if you are interested in updates wrt community outreach. |
Beta Was this translation helpful? Give feedback.
Hey @andaaron
I've just re-deployed to the correct domain name (as opposed to it being port-fowarded from kubernetes) and the login page now shows on first load, along with the ability to log out. I'm not sure if there was something cached in my browser while testing the UI before I enabled authentication which was the original issue.
Thank you for the great work with Zot! A breathe of fresh air after wrestling with
distribution
.