Skip to content

Commit

Permalink
[ALS-4793] Fix user email in claims
Browse files Browse the repository at this point in the history
  • Loading branch information
Gcolon021 committed Aug 7, 2023
1 parent babe1f2 commit 4698cad
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public Response authenticate(Map<String, String> authRequest) {

HashMap<String, Object> claims = new HashMap<>();
claims.put("sub", current_user.getUuid().toString());
claims.put("email", current_user.getSubject());
claims.put("email", current_user.getUuid() + "@open_access.com");
HashMap<String, String> responseMap = authUtil.getUserProfileResponse(claims);

logger.info("LOGIN SUCCESS ___ " + current_user.getEmail() + ":" + current_user.getUuid().toString() + " ___ Authorization will expire at ___ " + responseMap.get("expirationDate") + "___");
Expand Down

0 comments on commit 4698cad

Please sign in to comment.