© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
Add activeOrganizationId to ApiKey Mock Session - Better Auth
BA
Better Auth
•
5mo 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
?
Similar Threads
activeOrganizationId missing from Session type in TypeScript
BA
Better Auth / help
7mo ago
activeOrganizationId is null
BA
Better Auth / help
7mo ago
[Urgent] Not getting custom session while using apikey
BA
Better Auth / help
11mo ago
activeOrganizationId stays null after setActiveOrganization
BA
Better Auth / help
8mo ago