❔ Trying to use Azure SignalR Service as Backplane and for client affinity (Sticky sessions)
Pretty self explanatory title. However, I'm getting CORS issue as you can see in the image.

const connection = new HubConnectionBuilder()
.withUrl(`${apiRoutes.root}/${HUB_NAME}`, {
accessTokenFactory: () => authUser.accessToken || ''
})
.configureLogging(LogLevel.Information)
.withAutomaticReconnect()
.build();services.AddSignalR().AddAzureSignalR("Endpoint=https://xxx.signalr.net;AccessKey=xxx;Version=1.0;");
...
app.MapHub<NotificationHub>("/notification");services.AddCors(o => o.AddPolicy("AllowAll", builder =>
{
builder.AllowAnyOrigin()
.AllowAnyMethod()
.AllowAnyHeader();
}));