We recently did an update of our code on the server side to asp.net core 3.1.
Now there is a problem with the java-script client for signalr (@microsoft/signalr 3.1.0).

I get the following errors:

[![enter image description here](https://i.stack.imgur.com/ITZyK.png)](https://i.stack.imgur.com/ITZyK.png)

The code for the hub initialization:

[![enter image description here](https://i.stack.imgur.com/u2oEx.png)](https://i.stack.imgur.com/u2oEx.png)

The access token factory returns the token from msal.
(There were no changes made to the authentication and the token is received correctly there)
Would be great if someone could help me with this.