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

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Get confluence page with REST from another website with remotepageview - just login screen Edited

Hello,

in our Intranet we have a confluence instance and another self hosted web site.
On this other website, I want to insert a weblink to confluence as an iframe. But I want to use the "remotepageview".

So on the other page, the user has a input field to paste a confluence page link. Now there should be a Javascript which send a ajax.GET request to confluence to get the page content and the pageId. This pageId should be used as src for the iframe with "remotepageview".

But everytime I try to get the page content from the other side, I just get the login screen. If I try to get the content by firefox addin "POSTER" everything is fine.
I am logged in on confluence in browser session.

Can you please help me to get content from other page? I thought all requests are sent by my browser, so I hoped all credentials are available in context.

Best,

Robin


PS: I am using Conflunce 5.9 and configured apache correctly with X-Frame-Options and so on.

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Posted in Confluence Cloud

Please tell us how you use Confluence space settings

👋 Hi there, a few of us at Atlassian would love to learn about how you use "space settings" functionality in Confluence. A facelift to the space settings is long overdue and we want to start with im...

567 views 15 9
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you