Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,456,615
Community Members
 
Community Events
176
Community Groups

Encountering CORS issue while using API Swagger plugin in confluence

Encountering CORS issue while using API Swagger plugin in confluence

1 answer

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

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.

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events