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

   ### Description
   
   route config
   
   ```
   {
     "uri": "/casdoor/*",
     "name": "casdoor",
     "methods": [
       "GET",
       "POST",
       "PUT",
       "DELETE",
       "PATCH",
       "HEAD",
       "OPTIONS",
       "CONNECT",
       "TRACE"
     ],
     "plugins": {
       "authz-casdoor": {
         "callback_url": "https://api.xxx.online/casdoor/callback";,
         "client_id": "xxxx",
         "client_secret": "aaaaa",
         "disable": false,
         "endpoint_addr": "https://casdoor.xxx.online";
       }
     },
     "upstream_id": "418107428857447256",
     "status": 1
   }
   ```
   
   when i visit this path , it can redirect to  casdoor , after login and 
redirect to apisix callback, apisix got error
   
![image](https://user-images.githubusercontent.com/21097532/181003655-a861fca5-da7e-4c09-8dab-500b3d6f6438.png)
   
   
   
   
   
   ### Environment
   
   - APISIX version (run `apisix version`):  apache/apisix:2.13.2-centos
   - Operating system (run `uname -a`):  Linux apisix-546dd76f89-25w4w 
5.4.205-1.el7.elrepo.x86_64 #1 SMP Tue Jul 12 09:20:25 EDT 2022 x86_64 x86_64 
x86_64 GNU/Linux
   - OpenResty / Nginx version (run `openresty -V` or `nginx -V`): nginx 
version: openresty/1.19.9.1
   built by gcc 9.3.1 20200408 (Red Hat 9.3.1-2) (GCC) 
   built with OpenSSL 1.1.1n  15 Mar 2022
   TLS SNI support enabled
   
   - etcd version, if relevant (run `curl 
http://127.0.0.1:9090/v1/server_info`):
   - APISIX Dashboard version, if relevant:
   - Plugin runner version, for issues related to plugin runners: authz-casdoor
   - LuaRocks version, for installation issues (run `luarocks --version`): no 
cmd
   


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