@@ -38,7 +38,6 @@ private static void configureForLocalProfile(Map<String, Object> properties) {
38
38
properties .putIfAbsent ("AZURE_APP_CLIENT_ID" , "${sm\\ ://azure-app-client-id}" );
39
39
properties .putIfAbsent ("AZURE_APP_CLIENT_SECRET" , "${sm\\ ://azure-app-client-secret}" );
40
40
properties .putIfAbsent ("AZURE_OPENID_CONFIG_ISSUER" , "${sm\\ ://azure-openid-config-issuer}" );
41
- properties .putIfAbsent ("AZURE_OPENID_CONFIG_JWKS_URI" , "${sm\\ ://azure-openid-config-jwks-uri}" );
42
41
properties .putIfAbsent ("AZURE_OPENID_CONFIG_TOKEN_ENDPOINT" , "${sm\\ ://azure-openid-config-token-endpoint}" );
43
42
properties .putIfAbsent ("CRYPTOGRAPHY_SECRET" , DUMMY ); // Used by bruker-service only.
44
43
properties .putIfAbsent ("JWT_SECRET" , DUMMY ); // Used by bruker-service only.
@@ -49,7 +48,6 @@ private static void configureForLocalProfile(Map<String, Object> properties) {
49
48
properties .putIfAbsent ("SLACK_CHANNEL" , DUMMY ); // Used by tilbakemelding-api only.
50
49
properties .putIfAbsent ("SLACK_TOKEN" , DUMMY ); // Used by tilbakemelding-api only.
51
50
properties .putIfAbsent ("TOKEN_X_ISSUER" , "${sm\\ ://token-x-issuer}" );
52
- properties .putIfAbsent ("TOKEN_X_JWKS_URI" , "${sm\\ ://token-x-jwks-uri}" );
53
51
54
52
}
55
53
@@ -63,10 +61,11 @@ private static void configureForTestProfile(Map<String, Object> properties) {
63
61
// Setting dummy placeholders.
64
62
Stream
65
63
.of (
64
+ "spring.cloud.vault.token" , // For apps using no.nav.testnav.libs:vault.
65
+
66
66
"ALTINN_API_KEY" ,
67
67
"ALTINN_URL" ,
68
68
"AZURE_OPENID_CONFIG_ISSUER" ,
69
- "AZURE_OPENID_CONFIG_JWKS_URI" ,
70
69
"AZURE_OPENID_CONFIG_TOKEN_ENDPOINT" ,
71
70
"CRYPTOGRAPHY_SECRET" , // Used by bruker-service only.
72
71
"IDPORTEN_CLIENT_ID" , // Used by dolly-frontend only.
@@ -77,8 +76,7 @@ private static void configureForTestProfile(Map<String, Object> properties) {
77
76
"MASKINPORTEN_SCOPES" ,
78
77
"MASKINPORTEN_WELL_KNOWN_URL" ,
79
78
"TOKEN_X_CLIENT_ID" ,
80
- "TOKEN_X_ISSUER" ,
81
- "spring.cloud.vault.token" // For apps using no.nav.testnav.libs:vault.
79
+ "TOKEN_X_ISSUER"
82
80
)
83
81
.forEach (key -> properties .putIfAbsent (key , DUMMY ));
84
82
0 commit comments