Skip to content

fix(saml): preserve SLO state without session index - #128

Draft
salasebas wants to merge 1 commit into
mainfrom
salasebas/parity-redis-11-saml-slo-session-index
Draft

fix(saml): preserve SLO state without session index#128
salasebas wants to merge 1 commit into
mainfrom
salasebas/parity-redis-11-saml-slo-session-index

Conversation

@salasebas

Copy link
Copy Markdown
Owner

Summary

  • persist NameID-backed SLO state when a signed SAML assertion omits SessionIndex
  • keep SessionIndex optional instead of substituting the assertion ID
  • cover the real Ruby-SAML assertion-to-SP-logout flow

Upstream parity

Matches Better Auth v1.6.23 at 9dfceee14021fc15a2fb93023f39635f25b0b5ba: SLO state creation is gated by single logout plus NameID, while SessionIndex remains optional through logout.

Checks

  • focused regression: 1 run, 9 assertions
  • better_auth-saml suite: 225 runs, 830 assertions
  • repository-wide StandardRB
  • fresh blind upstream-parity review: Approve

Store NameID-backed SLO records without inventing a SessionIndex from assertion IDs. Cover signed assertions that omit SessionIndex through SP-initiated logout.
@vercel

vercel Bot commented Aug 20, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Actions Updated (UTC)
better-auth Ignored Ignored Aug 20, 2026 9:04pm

@github-actions github-actions Bot added the oauth label Aug 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant