projectcontour / contour-authserver

An Envoy-compatible authorization server.
Apache License 2.0
45 stars 39 forks source link

OIDC support should be on a per-vhost basis #17

Open youngnick opened 3 years ago

youngnick commented 3 years ago

Please describe the problem you have [A clear, concise, description of the problem you are facing. What is the problem that feature X would solve for you?] The OIDC support implemented in #13 sets the same config for all vhosts serviced by the authserver installation.

We should consider making it so that the config can be different on a per-vhost basis.

UXabre commented 1 year ago

Hi, could somebody help me with how to pass any metadata via the virtual host? I know this hasn't been implemented for the OIDC part but I'm not sure if it is supported to pass any metadata at all? Just to be clear, i'm talking GRPC metadata.

EDIT: yeah... could've searched longer. I'm actually using authPolicy.context to pass any data to my auth backend.