It's not the same without you
Join the community to find out what other Atlassian users are discussing, debating and creating.
I am currently setting up cookie-based authentication for my organization. I have set up the connection for JIRA. I am requesting a cookie ID using the endpoint //server/rest/auth/1/session.
This endpoint doesn't seem to work for confluence, and I haven't yet been able to find documentation anywhere for the endpoint I am supposed to use.
Can anyone shed some light on this?
What are you using as an authentication source? Confluence has 3rd party add-ons already created for user authentication. For example SAMl
Thank you for that link!
I am authenticating from a Java script, as I have done for JIRA. In that instance, I was sending a POST to JIRA and getting back the JSESSIONID.
Where I work, we are required to go through an arduous process for each new add-on, and its not even certain that it may be approved. For that reason, I would like to avoid 3rd party add-ons.
This should be possible to do, since I was able to achieve it in JIRA, right?
Hi Kyle,
As you may have already found out there is no session endpoint available for Confluence and indeed we have the below feature request open in order to have this added:
- https://jira.atlassian.com/browse/CONFCLOUD-57359
As mentioned in above feature request:
If you have JIRA and Confluence on the same instance then you can call the JIRA session endpoint and, if the credentials used to authenticate the request have Confluence application access, you can use the cookie you retrieved to authenticate Confluence REST API calls.
Otherwise, if you don't have JIRA, you can then use Oauth authentication as explained in the below thread (see only the answers from 2017):
- https://community.atlassian.com/t5/Questions/Confluence-Oauth-Authentication/qaq-p/331326
I hope this helps.
Cheers,
Dario
This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.
Read moreHi Community! Kesha (kay-sha) from the Confluence marketing team here! Can you share stories with us on how your non-technical (think Marketing, Sales, HR, legal, etc.) teams are using Confluen...
Connect with like-minded Atlassian users at free events near you!
Find a groupConnect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.
Start an AUGYou're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.