Hello,
I'm building a script to connect to the Jira REST API via cookie based auth.
When I use on my script:
session = requests.Session()
a_session.get('https://somejiraserver.com/')
session_cookies = a_session.cookies
cookies_dictionary = session_cookies.get_dict()
jira = Jira(
url='https://somejiraserver.com/',
cookies = cookies_dictionary )
The cookies that I get are different from the cookies that I inspect directly on the browser.
If I use the cookies that I get from the request, it does not work, but if I use the cookies that I get when I inspect the browser it works.
Do you have any idea what is wrong?
Thanks in advance.
Hi, any update on this issue? Which is the session cookie used by Atlassian/Jira? I wish to build a script that performs actions in behalf of the user (via Selenium) and authentify with the session cookie.
Which is it and how do you capture it with the browser? Is it the xsfr cookie we get with document.cookie? This one does not seems to work.
Thanks.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.