Skip to content

Commit

Permalink
Add username to passkey (#11)
Browse files Browse the repository at this point in the history
  • Loading branch information
stevenclouston authored Dec 23, 2024
1 parent ff52a8c commit fe8d514
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ public void authenticate(AuthenticationFlowContext context) {
request.attributes.userAgent =
context.getHttpRequest().getHttpHeaders().getHeaderString("User-Agent");
request.userId = context.getUser().getId();
request.attributes.username = context.getUser().getUsername();

try {
CompletableFuture<TrackResponse> responseFuture = authsignalClient.track(request);
Expand Down

0 comments on commit fe8d514

Please sign in to comment.