xxoxx opened a new issue, #10247:
URL: https://github.com/apache/apisix/issues/10247

   ### Description
   
   I'm using apisix with a backend that is a docker portainer web ui page. 
Portainer uses the JWT authentication mode and carries its JWT authentication 
information with an HTTP request header similar to 'Authorization: Bearer 
eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwidXNlcm5hbWUiOiJhZG1pbiIsInJvbGUiOjEsImV4cCI6MTY5NTM5ODIxOX0.MB5OsDXJznN9Dwcq5YsOMCe0s-7lfkMiXDDC0HB4_R4'.
 However, when I enable the basic-auth plugin in apisix, since the basic-auth 
plugin also uses the Authorization header, it causes the backend portainer to 
not log in properly. I need to use portainer normally while enabling the 
basic-auth plugin. How should I configure it?
   
   ### Environment
   
   - APISIX version (run `apisix version`):3.5.0
   - Operating system (run `uname -a`):Linux ip-172-31-1-111 
5.10.0-23-cloud-amd64 #1 SMP Debian 5.10.179-2 (2023-07-14) x86_64 GNU/Linux
   - OpenResty / Nginx version (run `openresty -V` or `nginx -V`):
   - etcd version, if relevant (run `curl 
http://127.0.0.1:9090/v1/server_info`):
   - APISIX Dashboard version, if relevant:3.0.1
   - Plugin runner version, for issues related to plugin runners:
   - LuaRocks version, for installation issues (run `luarocks --version`):
   


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