Skip to main content
Russ Ortisi
Inspiring
Feb 20, 2018 2:54 PM UTC
Answered

API Manager Won't Save Allowed Origin for CORS

This is under Security/CORS. I have an API that I had originally set the Allowed Origin at * while I was testing. This worked fine. Then, I decided I wanted to test limiting this to specific domains. However, for some reason, it wouldn't save the value I had entered. This is the format I entered it in: http://www.example.com

And now, when I try to change it back to * it won't save, and I'm getting CORS errors when I call it.

 

UPDATE: I also tried restarting the API Manager service and this didn't make any difference.

This topic is closed to new replies. Start a new post to keep the conversation going.
Russ Ortisi
Russ OrtisiCorrect answer
Inspiring
Feb 20, 2018 3:27 PM UTC

Because this field takes a list, you have to hit the enter key after typing in the value you want, and then you can save. I figured it out by accident.

1 reply

Russ Ortisi
Russ OrtisiAuthorCorrect answer
Inspiring
Feb 20, 2018 3:27 PM UTC

Because this field takes a list, you have to hit the enter key after typing in the value you want, and then you can save. I figured it out by accident.

Translate