Setup AuthN for services with no native login
xunholy opened this issue · 3 comments
xunholy commented
Details
Services such as Prometheus don't have native login oauth2 integration, this can be provided using envoy filters similar to the kiali envoy filter to enforce traffic is authenticated prior to hitting the downstream service via the virtual service resource.
issue-label-bot commented
Issue-Label Bot is automatically applying the label feature_request
to this issue, with a confidence of 0.86. Please mark this comment with 👍 or 👎 to give our bot feedback!
Links: app homepage, dashboard and code for this bot.
xunholy commented
meshConfig:
extensionProviders:
- name: oauth2-proxy
envoyExtAuthzHttp:
service: oauth2-proxy.network.svc.cluster.local
port: 80
includeHeadersInCheck: ['authorization', 'cookie']
headersToUpstreamOnAllow:
[
'authorization',
'path',
'x-auth-request-user',
'x-auth-request-email',
'x-auth-request-access-token',
]
headersToDownstreamOnDeny: ['content-type', 'set-cookie']
v1.9.2 implements external providers which can now easily integrate with oauth2-proxy + DEX