### Steps to reproduce: - Trigger command from UI with origin not part of `configValue.Server.AllowedOrigins` - Command execution will still happen and response returned is not proper. <img width="532" alt="image" src="https://github.com/user-attachments/assets/2597e944-dc99-4871-87b6-914330dfd784" /> ### Expected output: - Triggered command should fail with proper error response and no command execution