kayx23 commented on code in PR #10524:
URL: https://github.com/apache/apisix/pull/10524#discussion_r1399684251


##########
docs/en/latest/plugins/multi-auth.md:
##########
@@ -30,7 +30,9 @@ description: This document contains information about the 
Apache APISIX multi-au
 
 ## Description
 
-The `multi-auth` Plugin is used to add multiple authentication methods to a 
Route or a Service. It supports plugins of type 'auth'. You can combine 
different authentication methods using "or" relationship with `multi-auth` 
plugin. If you want to use multiple methods in an "and" relationship, apply 
specific authentication plugins directly to the route or service.
+The `multi-auth` Plugin is used to add multiple authentication methods to a 
Route or a Service. It supports plugins of type 'auth'. You can combine 
different authentication methods using `multi-auth` plugin.
+
+This plugin will go through the list of auth plugins configured in 
`auth_plugins` field until the request is sucesfully authenticated. That means 
route can be shared between different consumers using different auth methods. 
If a consumer is using basic, he would be able to authenticate using basic, if 
another user uses jwt, he would be able to authenticate using jwt.

Review Comment:
   ```suggestion
   This plugin provides a flexible authentication mechanism by iterating 
through the list of authentication plugins specified in the `auth_plugins` 
attribute. It allows multiple consumers to share the same route while using 
different authentication methods. For example, one consumer can authenticate 
using basic authentication, while another consumer can authenticate using JWT.
   ```



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to