From e7583f2efc8cf97d38bbdb21db3b7d81b86807fe Mon Sep 17 00:00:00 2001 From: Jens-Otto Larsen <46576810+jolarsen@users.noreply.github.com> Date: Sat, 15 Jan 2022 19:21:31 +0100 Subject: [PATCH] Revert non-proxyable (#1046) --- .../vedtak/felles/integrasjon/rest/StsAccessTokenConfig.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/integrasjon/rest-klient/src/main/java/no/nav/vedtak/felles/integrasjon/rest/StsAccessTokenConfig.java b/integrasjon/rest-klient/src/main/java/no/nav/vedtak/felles/integrasjon/rest/StsAccessTokenConfig.java index c534f7839..aaafa618a 100644 --- a/integrasjon/rest-klient/src/main/java/no/nav/vedtak/felles/integrasjon/rest/StsAccessTokenConfig.java +++ b/integrasjon/rest-klient/src/main/java/no/nav/vedtak/felles/integrasjon/rest/StsAccessTokenConfig.java @@ -3,7 +3,6 @@ import java.net.URI; import java.util.List; -import javax.enterprise.context.ApplicationScoped; import javax.enterprise.context.Dependent; import javax.inject.Inject; @@ -13,7 +12,7 @@ import no.nav.foreldrepenger.konfig.KonfigVerdi; import no.nav.vedtak.sikkerhet.oidc.WellKnownConfigurationHelper; -@ApplicationScoped +@Dependent public class StsAccessTokenConfig { private static final String DEFAULT_PATH = "/rest/v1/sts/token";