-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Closed
Description
Description
Hi,
Is there a way to read a token from a cookie and set this as the Authorization header using the default plugins?
We are using the openid-connect plugin to verify access tokens. This works using the Authorization header. However there doesn't seems to be an option for reading from a cookie.
We've also looked at the proxy-rewrite plugin. This allows to set, add and remove headers. But there doesn't seem to be a way to read from a cookie.
Any thoughts?
Cheers!
Environment
- APISIX version (run
apisix version
): 3.8.0 - Operating system (run
uname -a
): Linux apisix-gateway-86d6dffb7d-sh9jv 6.1.0-17-amd64 change: added doc of how to load plugin. #1 SMP PREEMPT_DYNAMIC Debian 6.1.69-1 (2023-12-30) x86_64 GNU/Linux - OpenResty / Nginx version (run
openresty -V
ornginx -V
): openresty/1.21.4.2 - etcd version, if relevant (run
curl http://127.0.0.1:9090/v1/server_info
): 3.5.0 - 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
Type
Projects
Status
✅ Done