Skip to content

Commit

Permalink
Proxy skal brukes for samtlige applikasjoner i fss for å snakke med a… (
Browse files Browse the repository at this point in the history
#1386)

* Proxy skal brukes for samtlige applikasjoner i fss for å snakke med azure/entraid

* Fjerner unødvendig parantes + ekstra flagg
  • Loading branch information
espenwaaga authored Oct 16, 2024
1 parent 5e50dd9 commit cfc0a45
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -113,12 +113,12 @@ private static OpenIDConfiguration createStsConfiguration(String wellKnownUrl) {

@SuppressWarnings("unused")
private static OpenIDConfiguration createAzureAppConfiguration() {
var proxyUrl = (ENV.isFss() && ENV.isProd()) ? ProxyProperty.getProxy() : null;
var proxyUrl = ENV.isFss() ? ProxyProperty.getProxy() : null;
return createConfiguration(OpenIDProvider.AZUREAD,
getAzureProperty(AzureProperty.AZURE_OPENID_CONFIG_ISSUER),
getAzureProperty(AzureProperty.AZURE_OPENID_CONFIG_JWKS_URI),
getAzureProperty(AzureProperty.AZURE_OPENID_CONFIG_TOKEN_ENDPOINT),
(ENV.isFss() && ENV.isProd()),
ENV.isFss(),
proxyUrl,
getAzureProperty(AzureProperty.AZURE_APP_CLIENT_ID),
getAzureProperty(AzureProperty.AZURE_APP_CLIENT_SECRET),
Expand Down

0 comments on commit cfc0a45

Please sign in to comment.