white-list resource not working from cli
shaunc opened this issue · 1 comments
shaunc commented
Title
Summary
When specifying a white-listed uri on the command line, I get an error. For instance, if I pass (from doc example):
--resources="uri=/public/*|white-listed=true"
I get:
[error] invalid resource "uri=/public/*|white-listed=true", invalid identifier, should be roles, uri or methods
Environment
- OS: docker image quay.io/louketo/louketo-proxy running in kubernetes
- Server (e.g. Keycloak or any other IdP): keycloak 10.0.0
- Louketo: 1.0.0-alpha1
-->
Expected Results
white-listed route
Actual Results
error
Steps to reproduce
My full cli arguments:
args:
- --config=/var/secrets/auth-proxy-keycloak-config.yaml
- --discovery-url=https://auth.factfiber.ai/auth/realms/factfiber
- --listen=0.0.0.0:4000
- --upstream-url=http://127.0.0.1:3000
- --redirection-url=https://dev.factfiber.ai/
- --enable-refresh-tokens=true
- --enable-default-deny=true
- --resources="uri=/public/*|white-listed=true"
where config file contains just client-id, client-secret and encryption-key.
Additional Information
shaunc commented
Aha -- the quotes are for a shell; are meant to disappear. I shouldn't be specifying in helm chart. Apologies!