api: properly compute authorization based on ccchh role

This commit is contained in:
lilly 2026-05-14 16:41:16 +02:00
commit bf0c085739
Signed by: lilly
SSH key fingerprint: SHA256:y9T5GFw2A20WVklhetIxG1+kcg/Ce0shnQmbu1LQ37g
3 changed files with 10 additions and 8 deletions

View file

@ -19,7 +19,7 @@ def main():
)
argp.add_argument(
"--openid-scope",
default=os.environ.get("DOORIS_OPENID_SCOPE", "openid profile"),
default=os.environ.get("DOORIS_OPENID_SCOPE", "openid profile ccchh-roles"),
help="The Keycloak OpenID isser to use for authentication",
)
argp.add_argument(