cool-oxygen-35927
09/15/2022, 7:35 AMapi:users:read
and our main app have a token with generic scope like api:*
that allows it to access all resources in the system. I configured scope strategy to be wildcard, and I expected it to work but oathkeeper is failing the request with
JSON Web Token is missing required scope "api:users:read".
What am I missing? Is this even possible with oathkeeper?red-machine-69654
09/15/2022, 7:54 AMscope_strategy
would work? Haven't used it myself.cool-oxygen-35927
09/15/2022, 7:54 AMred-machine-69654
09/15/2022, 7:56 AMcool-oxygen-35927
09/15/2022, 7:57 AMcool-oxygen-35927
09/15/2022, 7:57 AMred-machine-69654
09/15/2022, 8:01 AMred-machine-69654
09/15/2022, 8:01 AMred-machine-69654
09/15/2022, 8:02 AMcool-oxygen-35927
09/15/2022, 8:07 AMmagnificent-energy-493
cool-oxygen-35927
09/15/2022, 10:34 AMcool-oxygen-35927
09/15/2022, 10:35 AMauthenticators:
jwt:
enabled: true
config:
jwks_urls:
- <>
scope_strategy: none
trusted_issuers:
- <>
target_audience:
- <>
allowed_algorithms:
- RS256
scope_strategy: wildcard
authorizers:
allow:
enabled: true
mutators:
noop:
enabled: true
errors:
handlers:
json:
enabled: true
config:
verbose: false
log:
level: info
cool-oxygen-35927
09/15/2022, 10:36 AM{
"upstream": {
"url": "",
"preserve_host": false
},
"id": "organization-command-0.organization-command",
"match": {
"url": "<http://api.goledge.io/v1/command/organizations>",
"methods": [
"POST"
]
},
"authenticators": [
{
"handler": "jwt",
"condig": {
"required_scope": ["api:users:read"]
}
}
],
"authorizer": {
"handler": "allow"
},
"mutators": [
{
"handler": "noop"
}
]
},
red-machine-69654
09/15/2022, 12:22 PMcool-oxygen-35927
09/18/2022, 6:17 AMcool-oxygen-35927
09/18/2022, 6:32 AM