diff --git a/service/knife/service.pkl b/service/knife/service.pkl index 709697861802ab37ab7537e61ce501114ae9546a..2422e4788f054cfa442ccb548fdc9c72037a2e9f 100644 --- a/service/knife/service.pkl +++ b/service/knife/service.pkl @@ -1,10 +1,18 @@ amends "../../config/Service.pkl" import "pkl:json" +import "../../config/OpenID.pkl" as sso local bundle = (new json.Parser {}).parse(read("bundle.json")) meta { name = "The Knife"; access = "infra-admin" } +requirements { + new sso.Client { + clientId = module.id + name = module.meta.name + redirectUris { "https://\(module.container.http.hostname)/api/auth/oidc/callback" } + } +} stageIsolation = "fresh" prepare = "prepare.py" setup = "setup.py"