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

Redirect to Confluence from my app avoiding login page via API REST

Rafael López Osuna February 28, 2019

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
David Zuckerman November 6, 2019

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.

Rafael López Osuna November 6, 2019

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

Like Bibin T Philip likes this
Bibin T Philip January 22, 2020

@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.

Like Zahra Amin likes this
0 votes
Stephen Sifers
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
March 6, 2019

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

Rafael López Osuna March 6, 2019

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.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events