A user reported similar error in #1453 but they have app_id with special chars instead. I also think that user with access_token will have similar problem
From the portal code, app_id allows the following:
Check that credentials not found error does not appear in the log. For example:
reports_batcher.lua:99: get_all(): failed to get report for key service_id:12,app_id:something:special,app_key:coffee_brain_food,metric:Hits err: credentials not found, context: ngx.timer, client: 10.10.10.1, server: 0.0.0.0:8080
Configure a single Product B with an OpenID Provider + realm basic
Create 3scale application App01 for product B. That will generate Client ID and Client Secret.
Configure batcher policy for Product B with the following:
What
A user reported similar error in #1453 but they have
app_id
with special chars instead. I also think that user withaccess_token
will have similar problemFrom the portal code, app_id allows the following:
I'm not sure if porta ever validate
access_token
but from the RFC the format is as followVerification steps
Configure Product A with app_id/app_key both contains special characters. For example
Configure batcher policy for both Product A and Product B with the following:
{ "name" : "apicast.policy.3scale_batcher", "configuration" : { "batch_report_seconds" : 1 } }
basic
capture access token
ACCESS_TOKEN=eyJhb...
curl -i -k -H "Host: example.com" -H "Authorization: Bearer ${ACCESS_TOKEN}" "http://${APICAST_IP}:8080/"