Hi folks,
I'm writing a web application in javascript. I want to be able to submit messages right to our Service Bus queue from the browser. I've written a middle-man HTTP API server for generating SAS tokens that allows me to submit right to the queue via HTTP. The SAS token and HTTP request work when done via command line, or any other tool for managing API requests, etc. I can't get this to work via browser though because I don't see a way to configure CORS settings anywhere on the Azure Service Bus service.
This would usually suggest to me that I'm going about this wrong and it's not wise to expose this ability right to browsers, despite the SAS feature existing. (Why have SAS if you aren't trying to allow remote users access to the service bus?) Am I supposed to make this submission to service bus part of my middle-man server and proxy through there?
Thanks!