Search
Star
Feedback
Setup for Free
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Add activeOrganizationId to ApiKey Mock Session - Better Auth
BA
Better Auth
•
4mo ago
•
1 reply
bigsidhu
Add activeOrganizationId to ApiKey Mock Session
Hi
! Is there a way to edit the mock session created by the ApiKey plugin enabled session
? I
’ve tried the customSession plugin and that hasn
’t worked
.
Is there a way to customize the mock session that gets created
?
Better Auth
Join
9,988
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
activeOrganizationId missing from Session type in TypeScript
BA
Better Auth / help
6mo ago
activeOrganizationId is null
BA
Better Auth / help
5mo ago
[Urgent] Not getting custom session while using apikey
BA
Better Auth / help
10mo ago
activeOrganizationId stays null after setActiveOrganization
BA
Better Auth / help
6mo ago