Posted 10 December 2021, 6:42 am EST
I have an Angular app with an HTTP interceptor that adds a JWT Bearer token to an Authorization header.
This works as expected for API calls I make directly from my Angular App, but in 5.20213.824 this interceptor is not triggered when a FlexGrid is bound to an ODataCollectionView and the view fetches data on my behalf. Returning / paging data results in a series of 401s…
I can manually fix this issue by supplying a value to the requestHeaders property of the ODataCollectionView on initialisation and making sure it’s kept up to date, but is this expected behaviour?
Is there anything I should do to ask the ODataCollectionView to use Angular’s HttpClient or does it just need to do it’s own thing?