Skip to content

Commit

Permalink
Restore two JWT decoding methods in OidcUtils
Browse files Browse the repository at this point in the history
  • Loading branch information
sberyozkin committed Jan 29, 2025
1 parent 202c65c commit b07f165
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,14 @@ private OidcUtils() {

}

public static JsonObject decodeJwtContent(String jwt) {
return OidcCommonUtils.decodeJwtContent(jwt);
}

public static String getJwtContentPart(String jwt) {
return OidcCommonUtils.getJwtContentPart(jwt);
}

public static String getSessionCookie(RoutingContext context, OidcTenantConfig oidcTenantConfig) {
final Map<String, Cookie> cookies = context.request().cookieMap();
return getSessionCookie(context.data(), cookies, oidcTenantConfig);
Expand Down

0 comments on commit b07f165

Please sign in to comment.