Skip to content
This repository has been archived by the owner on Sep 15, 2022. It is now read-only.

kedge: Implement auth per route logic #81

Open
bwplotka opened this issue Nov 30, 2017 · 0 comments
Open

kedge: Implement auth per route logic #81

bwplotka opened this issue Nov 30, 2017 · 0 comments

Comments

@bwplotka
Copy link
Contributor

bwplotka commented Nov 30, 2017

There are some strong use cases to give fine-grained control over what permissions are needed for each individual route.

  • For OIDC it will be just expected permissions per certain route
  • For TLS certs - expected metadata

Preferably, it would be a separate layer before proper routing. We don't want to mix mapping with authorizing the request. Instead, we want to isolate potential auth bugs (up for discussion).

However, there are some specific arguments not to do it though.

  1. Encourage additional auth per service. is easier to separate logic here and to not use kedge as default auth layer for service. (however, as an example, Nginx is doing exactly that)
  2. Difficulty in maintenance and configuration of these auths per route.

Nevertheless, we can consider doing it if needed.

@bwplotka bwplotka changed the title [Kedge] Implement Auth per route logic [Kedge] Implement auth per route logic Dec 6, 2017
@bwplotka bwplotka assigned bwplotka and unassigned bwplotka Dec 6, 2017
@bwplotka bwplotka changed the title [Kedge] Implement auth per route logic kedge: Implement auth per route logic Jan 8, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant