Hello,
We recently upgraded Kong community edition from 1.1.2 → 2.0.1. We are using ACL Plugin with OAuth2 plugins on Services to restrict access for consumers who are whitelisted.
Now after upgrade we were looking at any changes with the bundled plugins & came across ACL documentation for 1.0.x-latest & now instead of whitelist it suggest the config should be config.allow -
$ curl -X POST http://kong:8001/services/{service}/plugins \ --data "name=acl" \ --data "config.allow=group1" \ --data "config.allow=group2" \ --data "config.hide_groups_header=true"
Where as in our config we currently following old way as documented for version 0.1.x -
$ curl -X POST http://kong:8001/services/{service}/plugins \ --data "name=acl" \ --data "config.whitelist=group1, group2" \ --data "config.hide_groups_header=true"
The issue is when we change our config form config.whitelist → config.allow, it doesn’t work. Kong doesn’t accept config.allow on ACL plugin, it throws below error when we send request with config.allow in the request payload -
400 bad request
Can anyone suggest if there is existing bug which has fixed this issue, if not how we can fix this?
Thanks,
Amrut.