Skip to content

Commit

Permalink
E - Oppdaterer tokenSupportVersion til 4.0.5
Browse files Browse the repository at this point in the history
  • Loading branch information
dskarpas committed Jan 12, 2024
1 parent 6a8c059 commit 53f442a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
buildscript {
ext {
kotlinVersion = '1.9.22'
tokenSupportVersion = '3.2.0'
tokenSupportVersion = '4.0.5'
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ class AuditLogger(private val tokenValidationContextHolder: TokenValidationConte
}

fun getClaims(tokenValidationContextHolder: TokenValidationContextHolder): JwtTokenClaims {
val context = tokenValidationContextHolder.tokenValidationContext
val context = tokenValidationContextHolder.getTokenValidationContext()
if(context.issuers.isEmpty())
throw RuntimeException("No issuer found in context")

Expand Down

0 comments on commit 53f442a

Please sign in to comment.