SkyeYoung commented on issue #12483:
URL: https://github.com/apache/apisix/issues/12483#issuecomment-3154027225

   @spedou Hi. 
   
   I checked the code and found that currently, there's no logic to write the 
parsed `azp` or other information into `ctx` or `ctx.var`.
   
   So you also can't read these values in other plugins.
   
   If you are willing and sure there's a practical use case, feel free to 
submit a PR to address it. 😃 
   
   Tip: You can process the response or userinfo after 
https://github.com/apache/apisix/blob/a5d06b3267f0da0b98ef6d685a35fe1cc403c710/apisix/plugins/openid-connect.lua#L612
   
   
   ---
   
   > I don't know why, but this error is not been printed, I tried with a fake 
variable and I don't see the message in the apisix pod.
   
   I checked the source code. This is a bug, and the test coverage is missing.
   
   <img width="1306" height="728" alt="Image" 
src="https://github.com/user-attachments/assets/83dbbcad-eb9a-492c-bf55-378e76683ae9";
 />
   
   <img width="1670" height="1286" alt="Image" 
src="https://github.com/user-attachments/assets/ad414c33-d38d-454d-bddc-ac496c34d14e";
 />
   
   `res` is `""`, and the logic in `not res` will never be executed.
   


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