initialdmg opened a new issue, #5649:
URL: https://github.com/apache/shenyu/issues/5649

   ### Is there an existing issue for this?
   
   - [X] I have searched the existing issues
   
   ### Current Behavior
   
   Follow Sign plugin's [configuration doc 
v2](https://shenyu.apache.org/docs/plugin-center/security/sign-plugin#25-config-plugin-with-authorize200),
 puts the Token value into the request header `ShenYu-Authorization`.  OPTIONS 
Response ACAH values does not have this one, which causes CORS error.
   
   
![image](https://github.com/user-attachments/assets/49d6faaa-8237-48fe-9a70-31aaecf57831)
   
   Trying to fix in #5627 .
   
   ### Expected Behavior
   
   Gateway response preflight requests correctly.
   
   ### Steps To Reproduce
   
   Config token in request header `ShenYu-Authorization` and use gateway in a 
CORS environment.
   
   ### Environment
   
   ```markdown
   ShenYu version(s): latest
   ```
   
   
   ### Debug logs
   
   _No response_
   
   ### Anything else?
   
   _No response_


-- 
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: notifications-unsubscr...@shenyu.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to