Skip to content

Commit

Permalink
Fix impersonation in conjunction with createAuthProxyJwtStrategy (#2672)
Browse files Browse the repository at this point in the history
  • Loading branch information
fraxachun authored Oct 29, 2024
1 parent 6a43bee commit 7e02b7e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export function createAuthProxyJwtStrategy({
}

async validate(request: Request, idToken: JwtPayload): Promise<CurrentUser> {
return this.service.createCurrentUser(await this.service.createUser(request, idToken));
return this.service.createCurrentUser(await this.service.createUser(request, idToken), request);
}
}
return AuthProxyJwtStrategy;
Expand Down

0 comments on commit 7e02b7e

Please sign in to comment.