diff --git a/waltz-web/src/main/java/org/finos/waltz/web/endpoints/auth/AuthenticationEndpoint.java b/waltz-web/src/main/java/org/finos/waltz/web/endpoints/auth/AuthenticationEndpoint.java index 3a586e1e33..4ace8f0096 100644 --- a/waltz-web/src/main/java/org/finos/waltz/web/endpoints/auth/AuthenticationEndpoint.java +++ b/waltz-web/src/main/java/org/finos/waltz/web/endpoints/auth/AuthenticationEndpoint.java @@ -165,7 +165,7 @@ public void register() { String token = JWT.create() .withIssuer(JWTUtilities.ISSUER) - .withSubject("email") + .withSubject(email) .withArrayClaim("roles", roles) .withClaim("displayName", name) .withClaim("employeeId", subname)