Skip to content

bug: fix session id being regenerated on new logins when session already exists - #139

Merged
patchandthat merged 1 commit into
mainfrom
bug/sid-changing-on-new-login
Oct 29, 2026
Merged

patchandthat merged 1 commit into
mainfrom
bug/sid-changing-on-new-login

Conversation

@jhbritton-RSK

Copy link
Copy Markdown
Collaborator

Description

Added preservation of session ID when login occurs again on same client when a session already exists.

Type of change

  • Bug fix
  • Feature
  • Refactoring
  • Documentation
  • Other

Does this PR introduce a breaking change?

n/a

Testing

Added two unit tests for change to DefaultUserSession.CreateSessionIdAsync

LLM Usage

n/a

Other context

n/a

@jhbritton-RSK jhbritton-RSK linked an issue Oct 27, 2026 that may be closed by this pull request

@patchandthat patchandthat left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks fine, one edit suggested.

Comment thread src/Open.IdentityServer/src/Services/Default/DefaultUserSession.cs Outdated
@jhbritton-RSK
jhbritton-RSK force-pushed the bug/sid-changing-on-new-login branch from 14052cf to 6a07aae Compare October 28, 2026 10:24
@patchandthat
patchandthat merged commit c76a85a into main Oct 29, 2026
3 checks passed
@patchandthat
patchandthat deleted the bug/sid-changing-on-new-login branch October 29, 2026 10:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Session overwriting

2 participants