Sumpli has two services: sumpli-core and sumpli-graphql. sumpli-core is a JWKS provider in order to allow sumpli-graphql to directly validate JWT tokens given by sumpli-core.
When running sumpli-core and sumpli-graphql with replica: 1 (in Kubernetes), everything is working perfectly.
However, when we increased replicas of both services to >1, eg. replica: 2 we started having problems with authentication;
requests with a valid JWT token from sumpli-core we're still rejected as unauthorised by sumpli-graphql.
What went wrong?