api: properly compute authorization based on ccchh role
This commit is contained in:
parent
188002b3f3
commit
bf0c085739
3 changed files with 10 additions and 8 deletions
|
|
@ -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(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue