[GH-ISSUE #1781] multiSession.revoke() always return "Invalid session token" #17547

Closed
opened 2026-04-15 15:43:09 -05:00 by GiteaMirror · 0 comments
Owner

Originally created by @ahmed-m-abbass on GitHub (Mar 12, 2025).
Original GitHub issue: https://github.com/better-auth/better-auth/issues/1781

Is this suited for github?

  • Yes, this is suited for github

To Reproduce

Call multiSession.revoke() with valid session.

Current vs. Expected behavior

Expected Behavior: The multiSession.revoke() function should revoke the session and return a success message or indicate successful revocation.

Current Behavior: The function always returns an error: "Invalid session token".

What version of Better Auth are you using?

1.2.3 and 1.2.4-beta.8

Provide environment information

- OS: macOS
- Browser [chrome - safari]

Which area(s) are affected? (Select all that apply)

Client, Package

Originally created by @ahmed-m-abbass on GitHub (Mar 12, 2025). Original GitHub issue: https://github.com/better-auth/better-auth/issues/1781 ### Is this suited for github? - [x] Yes, this is suited for github ### To Reproduce Call multiSession.revoke() with valid session. ### Current vs. Expected behavior Expected Behavior: The multiSession.revoke() function should revoke the session and return a success message or indicate successful revocation. Current Behavior: The function always returns an error: "Invalid session token". ### What version of Better Auth are you using? 1.2.3 and 1.2.4-beta.8 ### Provide environment information ```bash - OS: macOS - Browser [chrome - safari] ``` ### Which area(s) are affected? (Select all that apply) Client, Package
GiteaMirror added the lockedbug labels 2026-04-15 15:43:09 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/better-auth#17547