Skip to content

Commit

Permalink
Fix fine logging of JWT
Browse files Browse the repository at this point in the history
  • Loading branch information
jwalcorn authored Sep 8, 2023
1 parent baad72c commit c67aa70
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ protected void doGet(HttpServletRequest request, HttpServletResponse response) t
if (logger.isLoggable(Level.FINE)) {
logger.fine(TOKEN+" = "+token);
Base64.Decoder decoder = Base64.getUrlDecoder();
String[] parts = accessToken.split("\\.");
String[] parts = token.split("\\.");
String header = new String(decoder.decode(parts[0]));
String payload = new String(decoder.decode(parts[1]));
logger.fine("access token header = "+header);
Expand Down

0 comments on commit c67aa70

Please sign in to comment.