Skip to content

Releases: navikt/mock-oauth2-server

0.3.2

22 Mar 15:53
30c523c
Compare
Choose a tag to compare

What's Changed

🚀 Features

  • allow additional claims from tokencallback for token_exchange and jwt_bearer grants (#37) @tommytroen
  • configure standalone server/docker image (#34) @tommytroen
  • support "multisegment" issuer (#31) @tommytroen

⬆️ Dependency upgrades

  • com.fasterxml.jackson.core:jackson-databind [2.12.1 -> 2.12.2]
  • com.fasterxml.jackson.module:jackson-module-kotlin [2.12.1 -> 2.12.2]
  • com.github.ben-manes.versions:com.github.ben-manes.versions.gradle.plugin [0.36.0 -> 0.38.0]
  • com.google.cloud.tools.jib:com.google.cloud.tools.jib.gradle.plugin [2.7.1 -> 2.8.0]
  • com.nimbusds:oauth2-oidc-sdk [8.36 -> 9.2.3]
  • io.codearte.nexus-staging:io.codearte.nexus-staging.gradle.plugin [0.22.0 -> 0.30.0]
  • io.github.microutils:kotlin-logging [2.0.4 -> 2.0.6]
  • io.kotest:kotest-assertions-core-jvm [4.4.1 -> 4.4.3]
  • io.kotest:kotest-runner-junit5-jvm [4.4.1 -> 4.4.3]
  • io.netty:netty-all [4.1.59.Final -> 4.1.60.Final]
  • org.jetbrains.kotlin:kotlin-reflect [1.4.30 -> 1.4.32]
  • org.jetbrains.kotlin:kotlin-scripting-compiler-embeddable [1.4.30 -> 1.4.32]
  • org.jetbrains.kotlin:kotlin-stdlib [1.4.30 -> 1.4.32]
  • org.jetbrains.kotlin:kotlin-test-junit5 [1.4.30 -> 1.4.32]
  • org.jetbrains.kotlin.jvm:org.jetbrains.kotlin.jvm.gradle.plugin [1.4.30 -> 1.4.32]

0.3.1

26 Jan 13:31
b78660a
Compare
Choose a tag to compare

What's Changed

  • bug: ensure content-length is set on 404 responses by setting body to "" in MockResponse

0.3.0.RC2

19 Jan 15:08
1aca90e
Compare
Choose a tag to compare
0.3.0.RC2 Pre-release
Pre-release

What's Changed

🚀 Features

⬆️ Dependency upgrades

0.2.3

14 Dec 10:12
9c5a204
Compare
Choose a tag to compare

What's Changed

🐛 Bug Fixes

  • access RecordedRequest body when using MockWebServer.takeRequest() (fd38227) (#23)

0.2.2

03 Dec 13:33
b40a43d
Compare
Choose a tag to compare

What's Changed

🚀 Features

0.2.1

19 Nov 19:58
5485b2a
Compare
Choose a tag to compare

🚀 Features

0.2.0

07 Oct 13:47
adcf364
Compare
Choose a tag to compare

What's Changed

🚀 Features

  • support tokens without audience and scope from claims when using JwtBearerGrant (#13) @ybelMekk @tommytroen
    • breaking change:
    • allow tokens without audience to be provided via OAuth2TokenCallback.kt
    • api change on OAuth2TokenCallback.kt, audience now returns List instead of String
    • an empty list for audience() in OAuth2TokenCallback.kt will yield a token without audience
  • support for refresh_token grant, some more tests and test utils (#12) @tommytroen
  • support for OAuth 2.0 Token Exchange specification (#10) @jksolbakken @tommytroen

0.1.36

06 Oct 08:11
b503d0d
Compare
Choose a tag to compare
0.1.36 Pre-release
Pre-release

What's Changed

Note: The endsession endpoint in its current state is not complete and does not adhere to any specs. It only redirects to the post_logout_redirect_uri query parameter if specified, otherwise to a predefined page.

0.1.35

14 Sep 09:40
019bc12
Compare
Choose a tag to compare

What's Changed

🚀 Features

  • add client_auth_method to debugger

⬆️ Dependency upgrades

  • upped deps and formatted according to new linter rules (#6) @jksolbakken

0.1.34

19 May 12:36
c98a539
Compare
Choose a tag to compare

What's Changed

  • Add "debugger" - a dummy OAuth2 client with UI to test flows/grants against the mock server