-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
Hi I am looking for a oauth BFF for SPA.
first thing I found was oauth2-proxy, but it will add extra network paths.
I am excited to find this one, but the docs really lacks.
what I already tried is deploy this filter to istio like this:
apiVersion: extensions.istio.io/v1alpha1
kind: WasmPlugin
metadata:
name: openid-connect
namespace: istio-system
spec:
selector:
matchLabels:
istio: ingressgateway
url: http://x.x.x.x:8081/repository/raw-hosted/wasmhub/authn/0.1/filter.wasm
sha256: 409b3c7b0276846d22c2e1ffd38e2a19adeb80c26a79dba9afaaa35e03f41205
phase: AUTHN
pluginConfig:
auth_url: https://keycloak.xxx.com/realms/centauri/protocol/openid-connect/auth
token_url: https://keycloak.xxx.com/realms/centauri/protocol/openid-connect/token
client_id: istio
client_secret: dfmXh2EHOdaYZLHtMbuy3rAqHsd9mETPbut got this error:
2022-12-20T08:30:04.126928Z error envoy wasm wasm log: ERROR parsing config during initialization = missing field `auth_cluster` at line 1 column 250
2022-12-20T08:30:04.126998Z error envoy wasm Wasm VM failed Failed to configure base Wasm plugin
2022-12-20T08:30:04.130289Z critical envoy wasm Plugin configured to fail closed failed to load
Metadata
Metadata
Assignees
Labels
No labels