-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Closed
Description
Description
When I used the forward-auth plugin, when the authentication failed, I wanted to return to the authentication page, but I got a blank page, please help to check, the official documentation is too simple
{
"id": "459715989806777025",
"create_time": 1683541682,
"update_time": 1683598548,
"uris": [
"/test/*",
"/**"
],
"name": "forwardauth",
"desc": "forwardauth",
"priority": 1,
"methods": [
"GET",
"POST",
"PUT",
"DELETE",
"PATCH",
"HEAD",
"OPTIONS"
],
"plugins": {
"forward-auth": {
"client_headers": [
"http://10.210.21.123:80"
],
"disable": false,
"request_headers": [
"Cookie",
"Authorization",
"Host"
],
"request_method": "POST",
"upstream_headers": [
"Cookie",
"Authorization",
"Host"
],
"uri": "http://192.168.97.47:8088/ssoserver/get/authentication/forwardauth"
}
},
"upstream": {
"nodes": [
{
"host": "10.210.21.105",
"port": 9001,
"weight": 1
}
],
"retries": 1,
"timeout": {
"connect": 6,
"send": 6,
"read": 6
},
"type": "roundrobin",
"scheme": "http",
"pass_host": "pass",
"keepalive_pool": {
"idle_timeout": 60,
"requests": 1000,
"size": 320
}
},
"labels": {
"API_VERSION": "forwardauth"
},
"status": 1,
"uri": "/test/*,/**"
}
no error log
Environment
- APISIX version (run
apisix version):2.15-alpine - Operating system (run
uname -a): - OpenResty / Nginx version (run
openresty -Vornginx -V): - 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:
- LuaRocks version, for installation issues (run
luarocks --version):
Metadata
Metadata
Assignees
Labels
No labels
