diff --git a/.env.properties.example b/.env.properties.example index 911bd22..024377d 100644 --- a/.env.properties.example +++ b/.env.properties.example @@ -5,7 +5,7 @@ SPRING_DATASOURCE_PASSWORD=password SPRING-ACTUATOR_PASSWORD=password SPRING_PROFILES_ACTIVE=localhost CAMUNDA_BPM_ADMIN-USER_PASSWORD=password -KEYCLOAK_PUBLIC_KEY=MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAooyECQIi6v4TLKOYWwXClDhJcrGcGfKZj7LQIgY/Ajm2nAKv5kiZRoS8GzMzIGKkkilAJyWQCoKlP//azHqzIxO6WZWCqGFxd04vK5JYujsiMMTNvTggfFSM7VxbzU/wv+aAEvBaGUMYp2Oamn5szzYzkzsowujvDZp+CE8ryZWTVmA+8WZE4aoU6VzfXmMDmPxvRXvktPRsJkA7hkv65TTJwUZF38goRg62kRD0hOP1sIy6vwKDSkjafLV1bYNBRiWXNReJNBXauhy74GeiHODGrI62NwUJXSgZ62cViPt6cx/3A7VBPLpEPnpnlZcIDfsFpSUuNEXc7HoLRuldbQIDAQAB +VALTIMO_OAUTH_PUBLIC_KEY=MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAooyECQIi6v4TLKOYWwXClDhJcrGcGfKZj7LQIgY/Ajm2nAKv5kiZRoS8GzMzIGKkkilAJyWQCoKlP//azHqzIxO6WZWCqGFxd04vK5JYujsiMMTNvTggfFSM7VxbzU/wv+aAEvBaGUMYp2Oamn5szzYzkzsowujvDZp+CE8ryZWTVmA+8WZE4aoU6VzfXmMDmPxvRXvktPRsJkA7hkv65TTJwUZF38goRg62kRD0hOP1sIy6vwKDSkjafLV1bYNBRiWXNReJNBXauhy74GeiHODGrI62NwUJXSgZ62cViPt6cx/3A7VBPLpEPnpnlZcIDfsFpSUuNEXc7HoLRuldbQIDAQAB KEYCLOAK_REALM=valtimo KEYCLOAK_AUTH-SERVER-URL=http://localhost:8081/auth KEYCLOAK_RESOURCE=valtimo-user-m2m-client diff --git a/src/main/resources/config/application.yml b/src/main/resources/config/application.yml index 68236de..6769577 100644 --- a/src/main/resources/config/application.yml +++ b/src/main/resources/config/application.yml @@ -111,7 +111,7 @@ valtimo: hostname: ${VALTIMO_APP_HOSTNAME} oauth: tokenValidityInSeconds: 3600 # Token is valid 1 hour - public-key: ${KEYCLOAK_PUBLIC_KEY} + public-key: ${VALTIMO_OAUTH_PUBLIC_KEY} hardening: removeStacktracesFromReturnedExceptions: true allowStacktraceOnIps: