diff --git a/src/main/java/edu/harvard/hms/dbmi/bd2k/irct/security/SecurityUtility.java b/src/main/java/edu/harvard/hms/dbmi/bd2k/irct/security/SecurityUtility.java index a1fad0d..ff5d800 100644 --- a/src/main/java/edu/harvard/hms/dbmi/bd2k/irct/security/SecurityUtility.java +++ b/src/main/java/edu/harvard/hms/dbmi/bd2k/irct/security/SecurityUtility.java @@ -43,7 +43,7 @@ public class SecurityUtility { public static String delegateToken(String namespace, String resourceClientId, SecureSession session) { if (((JWT) session.getToken()).getClientId().equals(resourceClientId)) { - return "Bearer " + session.getToken().toString(); + return session.getToken().toString(); } if (session.getDelegated().containsKey(resourceClientId)) {