Angular MSAL - Hub SignalR Authorization 401 Error

Job ID: 33795369

Budget: $30 – $250 CAD

Angular app using MSAL to connect to protected API's.

We are using the same logic as described in this guide.
https://docs.microsoft.com/en-us/azure/active-directory-b2c/configure-authentication-sample-angular-spa-app

All our API calls work, but signalR Hub connections fail to connect with a 401 Unauthorized error.

If you've setup MSAL authentication and SignalR connection in an Angular app, then this solution should take you 10-15 minutes to provide answer that will work.

Similar issue to mine is described at:
https://stackoverflow.com/questions/56738625/including-authentication-header-with-access-token-in-a-call-to-a-signalr-hub-f

Please reply with:

1. Cost of your solution
2. Why you know this answer
3. Confirmation that you don't need to see my code but will simply provide me with the code I need to enter into my app (considering our setup is very similar to the article above)

NOTE: If you fail to answer the above 3 points, I will simply ignore your bid.
Related categories: JavaScript Typescript Angular