diff --git a/felles/sikkerhet/src/main/java/no/nav/vedtak/sikkerhet/oidc/OidcProviderConfig.java b/felles/sikkerhet/src/main/java/no/nav/vedtak/sikkerhet/oidc/OidcProviderConfig.java index ca9896ff8..e45d6fdd5 100644 --- a/felles/sikkerhet/src/main/java/no/nav/vedtak/sikkerhet/oidc/OidcProviderConfig.java +++ b/felles/sikkerhet/src/main/java/no/nav/vedtak/sikkerhet/oidc/OidcProviderConfig.java @@ -120,8 +120,8 @@ private static OidcProvider createOpenAmConfiguration(String wellKnownUrl) { private static OidcProvider createStsConfiguration(String wellKnownUrl) { LOG.debug("Oppretter OpenAM konfig fra '{}'", wellKnownUrl); return createConfiguration("oidc_sts", - getIssuerFra(wellKnownUrl).orElse(ENV.getRequiredProperty("oidc.sts.issuer.url")), - getJwksFra(wellKnownUrl).orElse(ENV.getRequiredProperty("oidc.sts.jwks.url")), + getIssuerFra(wellKnownUrl).orElse(ENV.getProperty("oidc.sts.issuer.url")), + getJwksFra(wellKnownUrl).orElse(ENV.getProperty("oidc.sts.jwks.url")), false, "Client name is not used for OIDC STS", true);