Set application when not user

This commit is contained in:
Luca Frosini 2022-03-24 14:27:31 +01:00
parent 781729ff6d
commit d2d8686259
1 changed files with 1 additions and 0 deletions

View File

@ -105,6 +105,7 @@ public class GCubeSecret extends Secret {
GCubeUser gCubeUser = new GCubeUser();
gCubeUser.setRoles(new HashSet<>(clientInfo.getRoles()));
gCubeUser.setUsername(clientInfo.getId());
gCubeUser.setApplication(true);
user = gCubeUser;
break;
}