Skip to content

Commit 91c5b7a

Browse files
committed
Fikse feil i måte man henter ut token url fra well known configuration
1 parent 6b258e7 commit 91c5b7a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

oauth2-klient/src/main/kotlin/no/nav/dagpenger/oauth2/OAuth2Config.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ sealed class OAuth2Config {
7979
override val tokenEndpointUrl: String
8080
get() =
8181
configuration.getOrElse(Key(TOKEN_ENDPOINT_KEY, stringType)) {
82-
getTokenUrl(WELLKNOWN_URL_KEY)
82+
getTokenUrl(wellKnowUrl())
8383
}
8484
}
8585

0 commit comments

Comments
 (0)