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

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

Redirect to Confluence-Space from my C# application and avoid login page.

I have a desktop application, up on click on a button I need to open default browser loaded with one of my Confluence Space(This confluence space is restricted for anonymous user).

I have created a user in Atlassian with access to this particular confluence space. How can I authenticate through my desktop application (in background) so that when my application user clicks on the button he should able to see the Confluence space in his browser.



2 answers

2 votes
Neil Atlassian Team Feb 06, 2020

As far as I know, there isn't a way for you to accomplish exactly what you're trying to do. When a user logs in, session information is established using browser-based storage mechanisms (secure cookies, local storage, session storage, etc.). 

Out of the box, the Confluence Cloud product does support public/open access, allowing anonymous users to browse/read content without the need to login; however, the caveat is that if you do have spaces that you intend to keep private, that you'll need to configure space and content permissions, and do it well.

Per @tharaka92message above, I responded on that Developer Community thread stating what I said above, with perhaps a little more detail.

0 votes

Hello Bibin,

Thank you for contacting us about this. It sounds like you'll need to impersonate the user via the application, so these pages should be helpful to you:

If you're writing a Atlassian Connect app, you can follow the User Impersonation for Connect Apps for details.

I hope that helps, but if you have any further issues or development-related queries, you can raise a new thread from our Developer Community, available on our Developer Resources page.

Take care,


Hi Shannon,

Thanks for your response! I found myself in the same situation as Bibin and I'm glad he asked this question. I went through the links provided in your answer but it seems they are valid only for making API requests. But what we need is to redirect users to the space page(once the button is clicked) without prompting for username and password. Can this also be done using above mentioned links?


Hello @tharaka92,

Thank you for following-up on this thread.

The links I have provided are not just for use with API. In the 2nd article especially, it states on the top of the article that you can use the method in the following situations:

In order for your button to work, you will need to program it in a way that uses OAuth 2.0 for user impersonation. 

I would love to be able to tell you specifically how to program user impersonation into your button, but it requires someone with more development knowledge. This forum isn't the best place for that, as I let Bibin know earlier. You can find help for that via our Developer Community on the Developer Resources page.



Like # people like this


Thanks for the quick reply.

Like # people like this

I have already placed a developer support , but he is suggest to use application links .

See my post here.


@tharaka92please let me know if you got a viable solution.

Like # people like this

@Bibin_T_Philip Hey, Yes I saw your question yesterday. But I posted a new one anyway.

Here it is -

I will let you know if we pull this off.

Suggest an answer

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

Lessons and Learnings: Six Months of Working Remote [Discussion]

Hey there, folks! For most of us, the past six months- yes, you read that right- have been a journey. More people than ever before have pivoted to working remotely, and navigating being on-scre...

8,591 views 7 7
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