How we can pass auth token to micro services when we use GraphQL schema stitching with authorization for micro services in .NET Core 6 Hotchocolate?
You can use the Microsoft.AspNetCore.HeaderPropagation
NuGet package to forward the Authorization
header to your services.
services.AddHeaderPropagation(options =>
{
options.Headers.Add("Authorization");
});
app.UseHeaderPropagation();