0
Fork 0
mirror of https://github.com/project-zot/zot.git synced 2024-12-16 21:56:37 -05:00
zot/pkg
Andrei Aaron cb1b7ae9b8
fix(auth): fix anonymous auth for ui (#1662)
The ui sends the header X-ZOT-API-CLIENT=zot-ui regardless of session authentication status.
In case of new sessions zot would reject the unauthenticated call on /v2 (which is used to determine
if anonymous access is allowed by the server when the header was set) expecting all users sending
this header to be already authenticated.

Since the ui received 401 from the server, it would not show the option for anonymous login.

Signed-off-by: Andrei Aaron <aaaron@luxoft.com>
2023-07-29 09:18:33 -07:00
..
api fix(auth): fix anonymous auth for ui (#1662) 2023-07-29 09:18:33 -07:00
cli test(refactor): change upload image function signature (#1655) 2023-07-28 17:53:46 +03:00
common fix(authn): session authn is skipped when anonymous policy is configured (#1647) 2023-07-27 09:55:25 -07:00
compliance test(refactor): change upload image function signature (#1655) 2023-07-28 17:53:46 +03:00
debug chore: update golang (to 1.20.x) and golangci-linter (#1388) 2023-04-27 00:09:46 -07:00
exporter feat: remove usage of zerolog.Logger.Msgf() from zot code (#1382) 2023-04-27 19:44:22 -07:00
extensions test(refactor): change upload image function signature (#1655) 2023-07-28 17:53:46 +03:00
log refactor(artifact): remove oci artifact support (#1359) 2023-05-10 10:15:33 -07:00
meta test(refactor): change upload image function signature (#1655) 2023-07-28 17:53:46 +03:00
regexp chore(trivy): update trivy version and enforce OCI compliant repo names in local image storage (#1068) 2023-01-18 08:24:44 -08:00
requestcontext feat: integrate openID auth logic and user profile management (#1381) 2023-07-07 09:27:10 -07:00
scheduler fix: changing default numWorkers, making it customizable and refactoring scheduler (#1563) 2023-07-04 11:03:29 +03:00
storage test(refactor): change upload image function signature (#1655) 2023-07-28 17:53:46 +03:00
test test(refactor): change upload image function signature (#1655) 2023-07-28 17:53:46 +03:00