Skip to content

Commit

Permalink
Remove the malformed token warning for backendroles extraction
Browse files Browse the repository at this point in the history
Signed-off-by: Ryan Liang <jiallian@amazon.com>
  • Loading branch information
RyanL1997 committed Aug 22, 2023
1 parent 1ba378e commit 6f0e79b
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,6 @@ private String[] extractBackendRolesFromClaims(Claims claims) {
String[] backendRoles;

if (backendRolesObject == null) {
log.warn("This is a malformed On-behalf-of Token");
backendRoles = new String[0];
} else {
// Extracting roles based on the compatibility mode
Expand Down

0 comments on commit 6f0e79b

Please sign in to comment.