Skip to content

Commit

Permalink
Merge pull request quarkusio#45949 from sberyozkin/oidc_utils_decode_…
Browse files Browse the repository at this point in the history
…jwt_content

Restore two JWT decoding methods in OidcUtils
  • Loading branch information
gsmet authored Feb 6, 2025
2 parents 2de91f4 + b07f165 commit 151795f
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 151795f

Please sign in to comment.