diff --git a/pom.xml b/pom.xml
index b4963ed3..83403b0c 100644
--- a/pom.xml
+++ b/pom.xml
@@ -61,7 +61,7 @@
2.3.11
official
2.0.0
- 2.1.2
+ 2.1.5
9.39.3
5.9.0
17
diff --git a/token-validation-spring-test/src/main/kotlin/no/nav/security/token/support/spring/test/MockOAuth2ServerAutoConfiguration.kt b/token-validation-spring-test/src/main/kotlin/no/nav/security/token/support/spring/test/MockOAuth2ServerAutoConfiguration.kt
index 85500930..33aeb1e2 100644
--- a/token-validation-spring-test/src/main/kotlin/no/nav/security/token/support/spring/test/MockOAuth2ServerAutoConfiguration.kt
+++ b/token-validation-spring-test/src/main/kotlin/no/nav/security/token/support/spring/test/MockOAuth2ServerAutoConfiguration.kt
@@ -21,7 +21,7 @@ import no.nav.security.token.support.core.configuration.ProxyAwareResourceRetrie
class MockOAuth2ServerAutoConfiguration(private val properties : MockOAuth2ServerProperties) {
private val log : Logger = LoggerFactory.getLogger(MockOAuth2ServerAutoConfiguration::class.java)
- private val mockOAuth2Server = MockOAuth2Server(OAuth2Config(properties.isInteractiveLogin, null, null,OAuth2TokenProvider(), setOf(DefaultOAuth2TokenCallback())))
+ private val mockOAuth2Server = MockOAuth2Server(OAuth2Config(properties.isInteractiveLogin, null, null,false,OAuth2TokenProvider(), setOf(DefaultOAuth2TokenCallback())))
@Bean
@Primary