Skip to content

Commit

Permalink
bare returnere true for har nivaaa 4 kallet
Browse files Browse the repository at this point in the history
  • Loading branch information
hakonph committed Aug 28, 2023
1 parent 1afdd94 commit 1b96c76
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/main/java/no/nav/veilarbperson/config/ClientConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
import no.nav.common.token_client.client.AzureAdMachineToMachineTokenClient;
import no.nav.common.token_client.client.AzureAdOnBehalfOfTokenClient;
import no.nav.common.token_client.client.MachineToMachineTokenClient;
import no.nav.common.utils.NaisUtils;
import no.nav.veilarbperson.client.digdir.DigdirClient;
import no.nav.veilarbperson.client.digdir.DigdirClientImpl;
import no.nav.veilarbperson.client.kodeverk.KodeverkClient;
Expand Down Expand Up @@ -102,10 +101,6 @@ public VeilarbregistreringClient veilarbregistreringClient(EnvironmentProperties
() -> aadMachineToMachineTokenClient.createMachineToMachineToken(properties.getVeilarbregistreringScope()));
}

@Bean
public String xNavApikey() {
return NaisUtils.getFileContent("/var/run/secrets/nais.io/authlevel/x-nav-apiKey");
}

@Bean
public AzureAdMachineToMachineTokenClient azureAdMachineToMachineTokenClient() {
Expand Down

0 comments on commit 1b96c76

Please sign in to comment.