I'm created an application that runs on Linux, automatically generate content and upload it to wiki via REST API using curl library.
In order to connect and upload the content, the users have to provide their password - each time they runs the application - something that I want to avoid.
In addition, I prefer not to manage the users password in anyway in my application.
I've read about the available authentication methods and found that there is a way to authenticate using the long lived cookie named "seraph.confluence".
Is there any way to get the seraph.confluence cookie and use it when running w/ curl based application?
Thanks a lot
Hi @אבי אליהו ,
Maybe I misunderstand question, but You would like use cookie 'remember me' functionality in curl?
How I know curl can use cookie, but it is separate application. Each application have it's own cookie storage, e.g. firefox can't get access to cookie in chrome.
That mean You need first log-in to conf use curl (with turn on cookie) to give'seraph.confluence' value or use value from browser, but add it to curl manually.
For basic auth You can encode password to base64.
Also for cloud exist 'api_token' maybe some similar exist to server.
- Create your own custom emoji 🔥 - "Shake for Feedback" on mobile 📱 - An endless supply of GIFs via GIPHY 🤩 Is there anything quite as nice as a pleasant surprise? Comment below with what...
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