You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.