0
Fork 0
mirror of https://github.com/project-zot/zot.git synced 2024-12-16 21:56:37 -05:00
zot/pkg/test
peusebiu 17d1338af1
feat: integrate openID auth logic and user profile management (#1381)
This change introduces OpenID authn by using providers such as Github,
Gitlab, Google and Dex.
User sessions are now used for web clients to identify
and persist an authenticated users session, thus not requiring every request to
use credentials.
Another change is apikey feature, users can create/revoke their api keys and use them
to authenticate when using cli clients such as skopeo.

eg:
login:
/auth/login?provider=github
/auth/login?provider=gitlab
and so on

logout:
/auth/logout

redirectURL:
/auth/callback/github
/auth/callback/gitlab
and so on

If network policy doesn't allow inbound connections, this callback wont work!

for more info read documentation added in this commit.

Signed-off-by: Alex Stan <alexandrustan96@yahoo.ro>
Signed-off-by: Petu Eusebiu <peusebiu@cisco.com>
Co-authored-by: Alex Stan <alexandrustan96@yahoo.ro>
2023-07-07 09:27:10 -07:00
..
inject refactor(storage): refactoring storage (#1459) 2023-05-26 11:08:19 -07:00
mocks feat: integrate openID auth logic and user profile management (#1381) 2023-07-07 09:27:10 -07:00
oci-layout feat(cve): implemented trivy image scan for multiarch images (#1510) 2023-07-06 11:36:26 +03:00
bearer.go fix(mgmt): skip bearer authn for mgmt route (#1267) 2023-03-16 12:02:59 -07:00
common.go feat: integrate openID auth logic and user profile management (#1381) 2023-07-07 09:27:10 -07:00
common_test.go feat(cli): add referrers and search commands to cli (#1497) 2023-06-22 10:43:01 -07:00
test_http_server.go refactor(artifact): remove oci artifact support (#1359) 2023-05-10 10:15:33 -07:00