If you have any questions, you can write here.
hi
This seems Ocelot problem. cannot be solved in the short term.
https://github.com/ThreeMammals/Ocelot/issues/695
how to avoid CORS from Angular when trying to access directly to the main microservice
You can configure the CORS on the main microservice.
App: CorsOrigins
You just need to follow the official documentation of signalr.
https://www.npmjs.com/package/@microsoft/signalr?activeTab=readme
Please share a simple project to reproduce the problem.
hi
Can you share the simple project? liming.ma@volosoft.com I will test it on my locally.
hi
You can get tokens from HttpContext in Web project, await httpContext.GetTokenAsync("access_token");
The HttpApi project will get token from HTTP request. bearer token
The Auth project is the issue and validates the token.
So string bearerToken = Request.Headers[HeaderNames.Authorization].ToString() is the right way to get token in HttpApi project
What about info logs?
Please share the context logs when SignalR tries to connect.
hi
Are there any errors on the backend app?