Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Why do I always have to log in again in browser after running Jira script?

PeteToscano
Contributor
June 25, 2019

I'm using the Jira Python module to connect to a Jira server that uses a Crowd authenticator. Currently, the Jira server is version 7.9, but the problem has persisted for a long time. 

Whenever I run any of my Jira Python scripts (they all do basic_auth), then I go back to using my web browser to use the Atlassian apps, I need to log in again. It's not that big of a problem, but it is annoying and I'd like to see if I can work around it.

I suspect that the basic_auth connection as myself invalidates the Crowd SSO token that my browser has, thus causing me to re-login. Does anyone know what the real reason is? Would changing my authentication method from basic_auth to cookie-based or OAuth work better? Other suggestions? 

 

Thanks. \o

1 answer

0 votes
Gonchik Tsymzhitov
Community Champion
February 11, 2021

Hi! 

You need to keep session :) Also, somewhere log incorrectly.

Suggest an answer

Log in or Sign up to answer