We have an Angular app that uses Calendar, Scheduler, Gantt and Grid.
Calendar, Scheduler and Gantt are using CrudManager while Grid is using an AjaxStore to fetch data.
We are using Microsoft Azure for authentication with the MSAL library to handle fetching and refreshing authorization tokens and adding them to our Http requests.
It seems that however the Bryntum CrudManager and AjaxStores are executing their fetch calls do not get intercepted by either MSAL's interceptors or any basic HttpInterceptor we implement.
This is problematic because while we can set the authorization header in the CrudManager config, since we cannot simply intercept the outbound request and add it dynamically there, we cannot guarantee that each request will have the latest active token.
Can you advise on how we can implement some sort of HttpInterceptor that can detect the load and sync calls and add the authorization header there?
If you run one of your Angular demos and implement an HttpInterceptor that simply logs the outbound request, you should see this same behavior that nothing is picked up or logged.