Skip to content

Commit

Permalink
downgrade mock
Browse files Browse the repository at this point in the history
  • Loading branch information
Jan-Olav Eide committed May 13, 2024
1 parent 176a27f commit c19c714
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
<ktor.version>2.3.10</ktor.version>
<kotlin.code.style>official</kotlin.code.style>
<kotlin.version>1.9.23</kotlin.version>
<mock-oauth2-server.version>2.1.5</mock-oauth2-server.version>
<mock-oauth2-server.version>2.1.2</mock-oauth2-server.version>
<nimbus.jose.jwt.version>9.37.3</nimbus.jose.jwt.version>
<kotest.version>5.8.1</kotest.version>
<kotlin.compiler.jvmTarget>17</kotlin.compiler.jvmTarget>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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,OAuth2TokenProvider(), setOf(DefaultOAuth2TokenCallback())))

@Bean
@Primary
Expand Down

0 comments on commit c19c714

Please sign in to comment.