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 from my app avoiding login page via API REST

Hi, I want to redirect the users from my webapp to our Confluence, but I don't want that my user has to do the login, I want to authenticate with one user that I've created and show to the user a page from confluence without needed to login manually.

 

It's possible? 

 

Thanks.

2 answers

0 votes

Hello Rafael and welcome to the Community!

From my understanding of your question, you’re wanting users to authenticate to Confluence without needing to enter a username and password again. If this is correct, then you’re going to want to use SSO or SAML authentication to complete this type of authentication. There are multiple solutions available which over SAML authentication for Confluence and allowing you to use SSO (single sign-on). More about this may be found at Server: SSO and SAML support and SAML for Confluence.

In regards to your comment about using a single user to have all users authenticated through; A user within Confluence (or any Atlassian tool) is defined as “Only one individual, a named person, is permitted per product login. Multiple people cannot share a product login. Our licensing model is not based on concurrent users.“

Source documentation: Purchasing & Licensing FAQ.

Having multiple users access an Atlassian tool under a single account would go against the Atlassian Software License Agreement. It is suggested that each user you have accessing Confluence either access via anonymous access or as a licensed user per individual.

I hope this helps give some insight into what is needed for SSO and SAML along with clarification on how your users are allowed to access the products.

Regards,
Stephen Sifers

Hi Stephen, 

 

Thank you very much for your answer. Finally, I resolved this easily putting the username and the password as a parameter in a HTTP request. With that, anyone who goes to our confluence, which we use as a user's guide, doesn't need to login and access directly to the site. Something like this;

 https://url/login.action?os_username=user&os_password=password&os_destination=pages/viewpage.action?pageId=pageId

 

I hope this will be useful por someone else.

 

And again, thank you for your answer.

Hi Rafael:

The method used:

https://url/login.action?os_username=user&os_password=password&os_destination=pages/viewpage.action?pageId=pageId

Does not seem to work any more.

I was wondering if you came up with another solution.
If so can you please share it. Thank you.

Hi David, now we are using this method and is working for us :S

Like Bibin_T_Philip likes this

@Rafael López Osuna , When I am trying the same https//url...... I am getting below message in the page.

REQUEST DENIED. Refer to https://url.....username+and+os_password+embedded+in+URL+no+longer+available for details.

I have the same situation, that i need to redirect to one Confluence -Space after internal authentication.

@Stephen Sifers can you suggest anything.

Suggest an answer

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

What project did you transition or start on Confluence with the shift to remote work?

It’s been great to hear from fellow users over the last few weeks about the best tips and fun moments you’ve had working on Confluence since the transition to working remote. I’d love to keep the c...

382 views 11 11
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