Include additional field in session data
Hello! I have an additional field
username
that I want to be included in the session data, but I don't know how to do it.

5 Replies
I tried adding
returned: true
to the property but it still doesn't work.
show your auth client config
Solution
TypeScript | Better Auth
Better Auth TypeScript integration.
Thanks 👍