coiouhkc commented on issue #11015: URL: https://github.com/apache/apisix/issues/11015#issuecomment-2272110661
@kayx23 i'm trying to achieve (i think) the same goal and failing. My scenario is to have Apisix validate the Bearer token using information provided in the `openid-connect` plugin *AND* simultaneously set the consumer right after the successful validation/introspection to be able to apply consumer-based restrictions. I also had exactly the issue when using the original nokia/kong-oidc plugin for Kong - `X-Consumer` header used by Kong to identify the consumer simply was not set (i think the Kong Enterprise plugin - see https://docs.konghq.com/hub/kong-inc/openid-connect/how-to/authorization/consumer/ - has the option to set the consumer based on a given claim, e.g. `preferred_username`) -- 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]
