Skip to content

Commit

Permalink
update clientId to client_id to get publisherId from token
Browse files Browse the repository at this point in the history
  • Loading branch information
julian-spierefka committed Aug 7, 2024
1 parent d74fe81 commit 81e7d3b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public String getPublisherId() {
return null;
}

var claim = Optional.ofNullable(token.getClaimAsString("clientId")).orElseGet(() -> token.getClaimAsString("azp"));
var claim = Optional.ofNullable(token.getClaimAsString("client_id")).orElseGet(() -> token.getClaimAsString("azp"));
System.out.println("Claim is: " + claim);

return claim;
Expand Down

0 comments on commit 81e7d3b

Please sign in to comment.