mirror of
https://github.com/hoppscotch/hoppscotch.git
synced 2026-04-25 16:55:59 +03:00
[GH-ISSUE #5378] [feature]: Support alternate session cookie name #2063
Labels
No labels
CodeDay
a11y
browser limited
bug
bug fix
cli
core
critical
design
desktop
discussion
docker
documentation
duplicate
enterprise
feature
feature
fosshack
future
good first issue
hacktoberfest
help wanted
i18n
invalid
major
minor
need information
need testing
not applicable to hoppscotch
not reproducible
pull-request
question
refactor
resolved
sandbox
self-host
spam
stale
testmu
wip
wont fix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/hoppscotch#2063
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @treyturner-nirvana on GitHub (Sep 5, 2025).
Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/5378
Originally assigned to: @CHANDRAHARSHIT on GitHub.
Is there an existing issue for this?
Summary
I'm using Kong 3.4.2 and need to configure sticky sessions in order to end up on the same pod during OAuth callback that redirected me to OAuth to begin with (so as to prevent a 401 when I return). Unfortunately, this version of Kong doesn't allow for hashing based on cookie names that include a period like
connect.sid:I'll work on getting my org to upgrade Kong; in the interim a convenient handle in support of a workaround would be to allow renaming the cookie as documented here:
Thanks for your consideration.
Why should this be worked on?
I can't run more than one replica and successfully login with OAuth using Kong 3.4.2 without the ability to rename the session cookie.
@yashgoyal0110 commented on GitHub (Sep 30, 2025):
Hey @treyturner-nirvana
May i work on it?
@CHANDRAHARSHIT commented on GitHub (Oct 2, 2025):
Adds an optional override for the express-session cookie name so deployments can avoid the default connect.sid (which contains a dot).
This helps Kong 3.4.2 sticky sessions, which can’t hash cookie names with dots (only A–Z, a–z, 0–9, _ and - are allowed).
@jamesgeorge007 commented on GitHub (Oct 31, 2025):
Hi @treyturner-nirvana, closing this issue since it is now addressed in the latest release. Please feel free to share any feedback.
@jamesgeorge007 commented on GitHub (Oct 31, 2025):
Session cookie name can be configured from the Admin dashboard settings page.
@treyturner-nirvana commented on GitHub (Nov 7, 2025):
Thanks for the rapid response on this @CHANDRAHARSHIT, I really appreciate it! This works great for my purposes.
Technically I can't think of a reason to reject periods in the override name. It was a problem for my environment, but it'd be fine in lots of others. I'm sure it could wait for someone to ask about it though 😁 Cheers! 🥂