Comments (1)
Hi @thechromosomes ,
Do you mean the X-Token
header you specified in fw-auth.upstream_headers
field should respond to client by upstream service for the case of successfully auth.?
Per the doc(https://apisix.apache.org/docs/apisix/plugins/forward-auth/#attributes)
fw-auth.upstream_headers
is for forwarding to upstream rather than the response direction.
In the case of authorization fails, we should use fw-auth.client_headers
.
from apisix.
Related Issues (20)
- help request: How to expose custom Prometheus metric with custom plugin
- The client secret for oidc plugin cannot be configured as environment variable
- bug: grpc-transcode plugin, in Protobuf, when there is a field of type int64, when 'a' is passed in, it is converted to 10. HOT 1
- bug: When I turn on kafka-logger and body-transformer at the same time, the response body conversion of body-transformer plugin will fail. HOT 2
- help request: Request for Assistance: Loki Logging Not Receiving Logs from Specific APIsix Route
- help request: 尝试代理 hdfs 的 webui,但是会返回 302 重定向,应该如何配置呢?或者是否有示例 HOT 1
- apisix will retry the post method? HOT 6
- bug: http2 requests are not supported without content-length header HOT 2
- How to forward to upstream after successful authentication using the forward-auth plugin HOT 1
- help request: missing user key in JWT token HOT 1
- feat: support env var for secret config of plugins like kafka-logger, elasticsearch-logger HOT 2
- Unable to configure opentelemetry and prometheus plugins in standalone mode
- feat: support AES-256-GCM algorithm to to encrypt and decrypt secret config.
- help request: keeping redis connection alive HOT 5
- bug: 3.9.1的apisix不支持apisix-seed来做服务发现
- help request: worker_events.sock failed (98: Address already in use) HOT 2
- use webflux WebClient build proxy request to apisix-controller ingress ,return 400
- in standalone mode,use conf/apisix.yaml like nginx conf.d HOT 1
- bug: wrong request forwarded to the upstream server HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from apisix.