You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by "itbane (via GitHub)" <gi...@apache.org> on 2026/01/22 08:45:06 UTC

[I] multi-auth-Plugin schema validation incorrect [apisix-dashboard]

itbane opened a new issue, #3289:
URL: https://github.com/apache/apisix-dashboard/issues/3289

   ### Issue description
   
   When adding a `multi-auth`-Plugin (tested with `consumer_group`), the schema validation fails with an error:
   
   ~~~
   failed to check the configuration of plugin multi-auth err: property "auth_plugins" validation failed: expect array to have at least 2 items
   ~~~
   
   The exact same config via curl works (copy & pasted the docs example).
   
   ### Expected behavior
   
   The multi-auth-Plugin and consumer_group are added correctly.
   
   ### How to Reproduce
   
   1. Create a new `consumer_group` object
   2. add `multi-auth` plugin
   3. Copy & paste the plugin config from the docs (https://apisix.apache.org/docs/apisix/plugins/multi-auth/)
   4. Add the plugin
   
   ### Screenshots
   
   Screenshot with settings:
   <img width="1634" height="808" alt="Image" src="https://github.com/user-attachments/assets/21a0c11c-d47d-45ca-9d85-a9ec83719752" />
   
   ### Environment
   
   - apisix version (cmd: `apisix version`): 3.14.1
   - OS (cmd: `uname -a`): docker-based
   - OpenResty / Nginx version (cmd: `nginx -V` or `openresty -V`):
   - etcd version, if have (cmd: run `etcd --version`):
   - apisix-dashboard version, if have: bundled with apisix
   - Browser version, if have:
   
   
   ### Additional context
   
   _No response_


-- 
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.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] multi-auth-Plugin schema validation incorrect [apisix-dashboard]

Posted by "DSingh0304 (via GitHub)" <gi...@apache.org>.
DSingh0304 commented on issue #3289:
URL: https://github.com/apache/apisix-dashboard/issues/3289#issuecomment-3838983322

   > Hi @DSingh0304,
   > I’ve proposed a fix for this issue in PR #3290 (relax frontend validation for multi-auth plugin).
   > The change aligns Dashboard validation with APISIX behavior and resolves the schema mismatch described here.
   > Please let me know if any adjustments are needed. Thanks!
   
   Hi @Baluduvamsi2006 , I am also a contributor only, I was just asking if you are working on this, if not then I would look into it.
   The maintainers will go through your PR when they have time ! Best of luck.


-- 
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.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] multi-auth-Plugin schema validation incorrect [apisix-dashboard]

Posted by "Baluduvamsi2006 (via GitHub)" <gi...@apache.org>.
Baluduvamsi2006 commented on issue #3289:
URL: https://github.com/apache/apisix-dashboard/issues/3289#issuecomment-3783706463

   Hi, thanks for reporting this issue.
   
   I’m investigating this on the apisix-dashboard side.
   It looks like a schema validation mismatch between the Dashboard UI
   and the APISIX multi-auth plugin config.
   
   I’ll try to reproduce this locally and propose a fix in a separate PR.
   


-- 
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.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] multi-auth-Plugin schema validation incorrect [apisix-dashboard]

Posted by "Baoyuantop (via GitHub)" <gi...@apache.org>.
Baoyuantop commented on issue #3289:
URL: https://github.com/apache/apisix-dashboard/issues/3289#issuecomment-3894584393

   The root cause stems from the basic-auth plugin being configured as an empty object. Due to issue #3269, this configuration was discarded during commit, triggering the authentication error.
   
   Thanks to @Baluduvamsi2006's contribution. Since this is essentially a question, this issue is being closed for now.


-- 
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.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] multi-auth-Plugin schema validation incorrect [apisix-dashboard]

Posted by "Baoyuantop (via GitHub)" <gi...@apache.org>.
Baoyuantop closed issue #3289: multi-auth-Plugin schema validation incorrect
URL: https://github.com/apache/apisix-dashboard/issues/3289


-- 
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.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] multi-auth-Plugin schema validation incorrect [apisix-dashboard]

Posted by "Baluduvamsi2006 (via GitHub)" <gi...@apache.org>.
Baluduvamsi2006 commented on issue #3289:
URL: https://github.com/apache/apisix-dashboard/issues/3289#issuecomment-3838959575

   Hi @DSingh0304,
   I’ve proposed a fix for this issue in PR #3290 (relax frontend validation for multi-auth plugin).
   The change aligns Dashboard validation with APISIX behavior and resolves the schema mismatch described here.
   Please let me know if any adjustments are needed. Thanks!


-- 
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.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] multi-auth-Plugin schema validation incorrect [apisix-dashboard]

Posted by "DSingh0304 (via GitHub)" <gi...@apache.org>.
DSingh0304 commented on issue #3289:
URL: https://github.com/apache/apisix-dashboard/issues/3289#issuecomment-3837135879

   > Hi, thanks for reporting this issue.
   > 
   > I’m investigating this on the apisix-dashboard side. It looks like a schema validation mismatch between the Dashboard UI and the APISIX multi-auth plugin config.
   > 
   > I’ll try to reproduce this locally and propose a fix in a separate PR.
   
   Any updates ??


-- 
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.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org