Encountering CORS issue while using API Swagger plugin in confluence
Hi Chinni,
We are the vendor for Open API Documentation for Confluence
I’m unsure if this is the specific app you are trying, or possibly one of our competitors, but you may find our documentation helpful as it includes some details on dealing with CORS issues.
I hope this helps.
Hello Scott,
I am still unable to resolve the CORS issue, I previously have gone through the documentation. But still did not find much help on it.
Can you please let me know where should I insert the below access control
Access-Control-Allow-Origin: https://{your Confluence server}
(for Confluence Server/Data Center)
Regards,
Chinni Prasad
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Chinni,
This header needs to be in the response when fetching your JSON/YAML URL.
For example, if your API definition is at the URL https://example.com/swagger.json , then whatever server or reverse proxy is responsible for https://example.com needs to be configured to include the CORS headers.
Hope that helps.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.