diff --git a/src/main/java/org/gcube/common/authorization/utils/secret/JWTSecret.java b/src/main/java/org/gcube/common/authorization/utils/secret/JWTSecret.java index 40a74df..147a32c 100644 --- a/src/main/java/org/gcube/common/authorization/utils/secret/JWTSecret.java +++ b/src/main/java/org/gcube/common/authorization/utils/secret/JWTSecret.java @@ -133,7 +133,7 @@ public class JWTSecret extends Secret { if(clientInfo==null) { User user = getUser(); if(user.isApplication()) { - clientInfo = new ExternalServiceInfo(user.getUsername(), "UNKNOWN"); + clientInfo = new ExternalServiceInfo(user.getUsername(), "unknown"); }else { clientInfo = new UserInfo(user.getUsername(), new ArrayList<>(user.getRoles()), user.getEmail(), user.getGivenName(), user.getFamilyName()); }