-
-
Notifications
You must be signed in to change notification settings - Fork 892
TokenAuth can stop working if session cookie becomes invalid #1904
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I see a |
Hi! Do we have an ETA for this? |
This is also impacting us as well. We have debated writing our own handler for this but I see the associated PR would help with this. |
I suspect this problem is related to bug JRASERVER-76340. |
@creator-mdb, ⭐3 XP earned, 🏆First Comment Added completed! |
Im wondering @creator-mdb @Re4zOon @tom-selander @gmishkin |
Hey, We are actually migrating to cloud in the near future. I guess you could drop jira server support in a year with a big nice deprecation notice :) |
We're on DC which is still supported afaik |
Yeah and dc for now "similar" enough to what we call 'server' then... I don't think deprecating would be logical I guess... I'm trying to gather some more info... Our test docker is a rather old server instance as far as I remember... So not sure if that remains maintainable on the other hand |
Uh oh!
There was an error while loading. Please reload this page.
Bug summary
The Jira client initially works with token auth but eventually begins failing with a 401. A key part of the error response is
We ruled out any situation on our end where there might be multiple web servers involved setting separate session cookies and a load balancer not setting sticky session. There is only one web server so any session cookies should still be valid.
So we contacted Atlassian support and were given the suggestion: Disable cookies on outgoing requests: those are not necessary. The
Authorization
header is enough for authenticate REST requests.Is there an existing issue for this?
Jira Instance type
Jira Server or Data Center (Self-hosted)
Jira instance version
9.16.1
jira-python version
3.8.0
Python Interpreter version
3.12.1
Which operating systems have you used?
Reproduction steps
Stack trace
Expected behaviour
Jira client to continue working indefinitely as long as token is valid.
Additional Context
requests==2.32.3
The text was updated successfully, but these errors were encountered: