Skip to content

Commit

Permalink
Warn when wrong token proxy is accessed
Browse files Browse the repository at this point in the history
  • Loading branch information
sberyozkin committed Sep 16, 2023
1 parent b1a1196 commit fe4139b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ private JsonWebToken getTokenCredential(Class<? extends TokenCredential> type) {
return new OidcJwtCallerPrincipal(jwtClaims, credential);
}
String tokenType = type == AccessTokenCredential.class ? "access" : "ID";
LOG.tracef("Current identity is not associated with an %s token", tokenType);
LOG.warnf("Current identity is not associated with an %s token", tokenType);
return new NullJsonWebToken();
}
}

0 comments on commit fe4139b

Please sign in to comment.