Allow anonymous consumers

Set up basic authentication with an optional string (Consumer UUID or username) value to use as an “anonymous” Consumer if authentication fails. You must create the Consumer first. If this is empty (default is null), the request will fail with a 4xx authentication failure.

This value must refer to the Consumer ID or username attribute, and not its custom_id.

Prerequisites

  • A Consumer with a username and password

Set up the plugin

Something wrong?

Help us make these docs great!

Kong Developer docs are open source. If you find these useful and want to make them better, contribute today!