router icon indicating copy to clipboard operation
router copied to clipboard

external Router extensions, e.g. via simple HTTP request/response format

Open prasek opened this issue 3 years ago • 2 comments

Support external Router extensions (e.g. via a simple HTTP request/response format), so you can do any custom authn/n (or other processing) using an external network service (e.g. a sidecar in your k8s Pod, in the same availability zone as your router or anywhere on the network). External network extensions could be configured via the router.yaml.

This would allow you to create an external extension for the router in any language or framework that supports HTTP, or even to directly add an external Router extension handler to existing bespoke services that your Gateway or monograph might already be talking to today for things like authn/z. Going direct to an existing service would have extremely minimal performance overhead vs. what is otherwise done in a Gateway or monograph server today to integrate with bespoke services.

prasek avatar Sep 29 '22 16:09 prasek

See related feedback in this community post

prasek avatar Sep 29 '22 16:09 prasek

Related:

  • https://github.com/apollographql/router/pull/1694

prasek avatar Sep 29 '22 16:09 prasek