Skip to content

Commit f1743c6

Browse files
authored
Merge branch 'master' into forenkling_pep
2 parents be1e136 + cfc0a45 commit f1743c6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: felles/oidc/src/main/java/no/nav/vedtak/sikkerhet/oidc/config/impl/OidcProviderConfig.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -113,12 +113,12 @@ private static OpenIDConfiguration createStsConfiguration(String wellKnownUrl) {
113113

114114
@SuppressWarnings("unused")
115115
private static OpenIDConfiguration createAzureAppConfiguration() {
116-
var proxyUrl = (ENV.isFss() && ENV.isProd()) ? ProxyProperty.getProxy() : null;
116+
var proxyUrl = ENV.isFss() ? ProxyProperty.getProxy() : null;
117117
return createConfiguration(OpenIDProvider.AZUREAD,
118118
getAzureProperty(AzureProperty.AZURE_OPENID_CONFIG_ISSUER),
119119
getAzureProperty(AzureProperty.AZURE_OPENID_CONFIG_JWKS_URI),
120120
getAzureProperty(AzureProperty.AZURE_OPENID_CONFIG_TOKEN_ENDPOINT),
121-
(ENV.isFss() && ENV.isProd()),
121+
ENV.isFss(),
122122
proxyUrl,
123123
getAzureProperty(AzureProperty.AZURE_APP_CLIENT_ID),
124124
getAzureProperty(AzureProperty.AZURE_APP_CLIENT_SECRET),

0 commit comments

Comments
 (0)