diff --git a/src/main/kotlin/no/nav/syfo/koin/ExternalSystemsModule.kt b/src/main/kotlin/no/nav/syfo/koin/ExternalSystemsModule.kt index 2520f98a..329c6853 100644 --- a/src/main/kotlin/no/nav/syfo/koin/ExternalSystemsModule.kt +++ b/src/main/kotlin/no/nav/syfo/koin/ExternalSystemsModule.kt @@ -125,7 +125,7 @@ fun Module.externalSystemClients(config: ApplicationConfig) { DokArkivClient( url = config.getString("dokarkiv_url"), httpClient = get(), - getAccessToken = azureClient.fetchToken(IdentityProvider.AZURE_AD, config.getString("auth.docarkivscope")), + getAccessToken = azureClient.fetchToken(IdentityProvider.AZURE_AD, config.getString("auth.dokarkivscope")), ) } }