I have implemented the Identity Server 4 and the service fabric, both in 5 nodes which causes the session to be lost, since the node that created the token is not the same node that validates it.
I tried only to use an instance of the IdentityServer, so I solved part of the problem (see token information), but in the same way when trying to use any service fabric driver, it will be sent to me in most cases 401, since unless the node that responds is the same as the one that created the token, error 401 will come out. Any solution?
Example of the API startup
services.AddAuthentication("Bearer")
.AddIdentityServerAuthentication(options => {
options.Authority = Configuration.GetSection("Data").GetValue<string>("TenantsURL");
options.RequireHttpsMetadata = false;
options.ApiName = Configuration.GetSection("Data").GetValue<string>("ApiName");
});