From e8a823087d4a4e4c0c00d012e5580ff27b160334 Mon Sep 17 00:00:00 2001 From: "Michal J. Sladek" Date: Wed, 24 Nov 2021 22:21:25 +0100 Subject: [PATCH] =?UTF-8?q?STS=20konfig=20trenger=20ikke=20=C3=A5=20v?= =?UTF-8?q?=C3=A6re=20required=20siden=20den=20ikke=20lenger=20er=20eneste?= =?UTF-8?q?=20muligheten.=20(#1005)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/no/nav/vedtak/sikkerhet/oidc/OidcProviderConfig.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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);