diff --git a/helm/values.yaml b/helm/values.yaml index f2ce545a..b59bf383 100644 --- a/helm/values.yaml +++ b/helm/values.yaml @@ -65,6 +65,9 @@ microservice-chart: REDIS_PORT: "6380" REDIS_SSL_ENABLED: "true" + JWT_TOKEN_EXPIRATION_SECONDS: "14400" # 4 HOURS + ENABLE_ACCESS_ORGANIZATION_MODE: "true" + envSecret: APPLICATIONINSIGHTS_CONNECTION_STRING: appinsights-connection-string diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml index 8bcc865c..6ad454b4 100644 --- a/src/main/resources/application.yml +++ b/src/main/resources/application.yml @@ -35,4 +35,10 @@ management: jmx: exposure.include: "*" web: - exposure.include: info, health \ No newline at end of file + exposure.include: info, health + +app: + # If true, it will expect the presence of the access organization inside the ID Token. + # Thus it will register te relation between the operator and the relation with the provided roles. + # If disabled, the admin should register the associations using the provided API (otherwise they will be disabled) + enable-access-organization-mode: "\${ENABLE_ACCESS_ORGANIZATION_MODE:true}" \ No newline at end of file