-
Notifications
You must be signed in to change notification settings - Fork 542
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Consumer List Page reports error when a consumer is created with admin api #2436
Comments
Hi @qihaiyan, thanks for your report.
I want to know the response to this request. |
the response is {"action":"set","node":{"value":{"username":"test","update_time":1650504185,"create_time":1650504185,"desc":"test"},"key":"\/apisix\/consumers\/test"}} the admin api document mentions that only username for consumer is required, other params ars all optional. so when i create a consumer with admin api , only username is used. |
I made a pr for this issue if you don't mind. #2437 @Baoyuantop |
Thanks, let me check |
Dashboard does not allow users to create consumer objects without auth plugins, which seems inconsistent with the Admin API behavior. cc @bzp2010 @juzhiyuan |
Issue description
Consumer List Page reports error when a consumer is created with admin api, the consumer doesn't have plugin.
Expected behavior
Consumer List should list the consumer created with admin api
How to Reproduce
Screenshots
Environment
nginx -V
oropenresty -V
):etcd --version
):Additional context
No response
The text was updated successfully, but these errors were encountered: