Search
Star
Feedback
Setup for Free
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Enrich JWT with organisation membership info - Better Auth
BA
Better Auth
•
6mo ago
•
2 replies
Daniel
Enrich JWT with organisation membership info
Hi
,
Is there any recommended way to retrieve organisation and membership info for the user and active organisation
, when adding JWT claims in
definePayload
definePayload
? We want to embed eg
. the member role in the JWT
. I looked at using
getFullOrganization
getFullOrganization
, but that doesn
't work as we
're missing the request headers
(or is there a way to access them
?
)
.
Best
,
/d
Better Auth
Join
9,988
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
Organisation
BA
Better Auth / help
13mo ago
API Organisation Types
BA
Better Auth / help
10mo ago
Check GitHub organisation
BA
Better Auth / help
11mo ago
Help handling JWT with Sveltekit
BA
Better Auth / help
11mo ago