liuxiran commented on issue #507: URL: https://github.com/apache/apisix-dashboard/issues/507#issuecomment-710003642
Accoring to the [basic-auth doc](https://github.com/apache/apisix/blob/master/doc/plugins/basic-auth.md) : config basic-auth plugin only needs to config username(required) and password(required) ### now the current schema of basic-auth:(update apisix to latest master branch) ```json { "additionalProperties": false, "properties": { "disable": { "type": "boolean" } }, "title": "work with route or service object", "type": "object" } ``` with the plugin page looks: ![2020-10-16 19-51-55屏幕截图](https://user-images.githubusercontent.com/2561857/96255210-193a9b80-0fe9-11eb-8b7e-70e27ff14326.png) --- ### the expected schema should be: ```json { "type": "object", "required": [ "username", "password" ], "properties": { "username": { "type": "string", "title": "Username" }, "password": { "type": "string", "title": "Password" } } } with the plugin page looks: ![2020-10-16 20-00-45屏幕截图](https://user-images.githubusercontent.com/2561857/96256000-7256ff00-0fea-11eb-8bbc-be7817c89730.png) ``` ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org