kongfig icon indicating copy to clipboard operation
kongfig copied to clipboard

Anonymous setting in Auth Plugins

Open adamlc opened this issue 8 years ago • 2 comments

The anonymous setting in auth plugins is a Consumer UUID, which get exported correctly, but obviously when kongfig imports it again the UUID is different from the one specified.

Is there a way kongfig could keep a reference to which consumer the key is for so it that can be recreated accurately afterwards with the new UUID?

adamlc avatar May 04 '17 10:05 adamlc

Add support for allowing config.anonymous.custom_id or config.anonymous.username instead of customer id.

CyExy avatar Jun 11 '17 16:06 CyExy

This won't work since the anonymous is supposed to be the actual UUID of the anonymous user:

An optional string (consumer uuid) value to use as an “anonymous” consumer if authentication fails. If empty (default), the request will fail with an authentication failure 4xx. Please note that this value must refer to the Consumer id attribute which is internal to Kong, and not its custom_id.

https://docs.konghq.com/hub/kong-inc/basic-auth/

Gui13 avatar Dec 12 '19 09:12 Gui13