website/integrations/infrastructure/zot/index.md
Zot is an OCI-native container registry for distributing container images and OCI artifacts.
The following placeholders are used in this guide:
zot.company is the FQDN of the Zot installation.authentik.company is the FQDN of the authentik installation.:::info This documentation lists only the settings that you need to change from their default values. Be aware that any changes other than those explicitly mentioned in this guide could cause issues accessing your application. :::
To support the integration of Zot with authentik, you need to create an application/provider pair in authentik.
https://zot.company/zot/auth/callback/oidc.Strict redirect URI to https://zot.company/zot/auth/callback/oidc.To support the integration of Zot with authentik, you must configure it to use authentik as it's authentication provider.
{
"clientid": "<client_id_from_authentik>",
"clientsecret": "<client_secret_from_authentik>"
}
{
"http": {
"externalUrl": "https://zot.company",
"port": "8080",
"auth": {
"openid": {
"providers": {
"oidc": {
"credentialsFile": "/etc/zot/oidc-credentials.json",
"issuer": "https://authentik.company/application/o/<application_slug>/",
"keypath": "",
"scopes": ["openid", "profile", "email"]
}
}
}
}
}
}
systemctl restart zot
To confirm that authentik is properly configured with Zot, first log out of Zot. Then click the SIGN IN WITH OIDC button on the login page and you should be redirected to authentik. Once authenticated, you should be signed into Zot.