Skip to content

Commit

Permalink
P4ADEV-507 access organization mode configurable
Browse files Browse the repository at this point in the history
  • Loading branch information
antonio.torre committed Jun 24, 2024
1 parent cfcf5a4 commit b123209
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
3 changes: 3 additions & 0 deletions helm/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
8 changes: 7 additions & 1 deletion src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,10 @@ management:
jmx:
exposure.include: "*"
web:
exposure.include: info, health
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}"

0 comments on commit b123209

Please sign in to comment.