# All channels
Sachin D. Shinde@sachin-shinde
Sharing an @auth directive over multiple services
Hi, I am trying to implement RBAC in my federated Apollo stack. Normally I would use a @hasPermission(permission = 'module.submodule.action'). However the directives are not shared between the services so now each service would need to implement the same directive. This would…
I want to know more about gateway permissions
I created an AuthenticatedDataSource using the following code, but the code is wrong because the parsebody function is wrong. I want to know how the parsebody function is used? Who can give me an example or document, let me learn. Why would I do that? I want to do unified…
Creating a federated graphql service with Feature toggles
Hi there - I was wondering if anyone has come up with a solution of how they did a configuration/featureToggle service. We have a lot of front end and mobile client apps. Does anyone have a solution they or their company implemented? With mobile apps we need to maintain the…
CORS configuration on federated service ignored by gateway
I am trying to implement stricter CORS policy by passing the following to our federated 'user-service': I've verified this works on the service by making requests directly to the user-service from an unsafe origin and it correctly blocks the response. However when making a query…
Monorepo for MS with Apollo Federation!
Hi there! Currently I'm working on a Micro services based project. Everything is set up to use apollo federation, everything works fine, but, I noticed that monorepo would fit me well in this situation. Do you have any suggestion in how can I achieve that?
How to handle service outages in Apollo Gateway.
If one of the services goes down then the entire gateway fails, is there a solution to make the gateway failsafe? I read in many blogs that people cache the schema but not sure How that's being achieved. [cannot use managed federation as the application will be on intranet]
Handling outages of federated services
Any suggestions on how to handle, when one of the federated services goes down? I have Service A that has a user type, and service B extends that user type in it's own schema. How have people been handling Service A going down? Making a query to Service B through the federated…
Start gateway with Key to validate config then use Bearer token for querying
Hi, I have an eco system that the gateway and federated services live. The problem is when the gateway starts it validates the services - to do this it needs to be authorised. When a client is querying via federation gateway they supply a bearer token. In both instances the…