Search
Star
Feedback
Setup for Free
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Session type after using admin - Better Auth
BA
Better Auth
•
11mo ago
•
1 reply
JWW
Session type after using admin
Hello everyone
, I just implemented admin plugin for role
-based authorization
Then I changed user
's role type to enum
How can I also make this change to session type return from useSession
? By customizing session
?
Better Auth
Join
9,988
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
Admin plugin: admin_session cookie is not removed after ending impersonated session?
BA
Better Auth / help
7mo ago
Session Management Type Inference
BA
Better Auth / help
9mo ago
user admin type not updating
BA
Better Auth / help
10mo ago