I have an HttpService and I am adding a request interceptor onModuleInit. This is to facilitate using the msal library to get an OAuth2 access token. I want to change this from a Client Credential flow to an On Behalf Of flow, but for that to work I need to pass the current user's JWT along with the access token request.
How can I create the interceptor such that it has the context of what user is currently making the request?