Skip to content

Commit 7c5c3ee

Browse files
committed
Fjerner unødvendig parantes + ekstra flagg
1 parent 7f5bbf5 commit 7c5c3ee

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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()) ? 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)