KeycloakJwtUtils

JWT claim helpers for Keycloak tokens, used by both the servlet and reactive KeycloakJwtAuthenticationConverter to keep claim extraction logic in one place.

Functions

Link copied to clipboard
fun extractRoles(jwt: Jwt, rolesClaimPath: String): List<String>

Extracts the list of role strings located at rolesClaimPath within the JWT jwt.