Search
Star
Feedback
Setup for Free
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Get Discord user ID on getSession - Better Auth
BA
Better Auth
•
4mo ago
•
20 replies
İspik
Get Discord user ID on getSession
Whenever I try to get the user ID it
's an encrypted version of it
Solution
Seems like it sends a accountId
(
https://www.better-auth.com/docs/concepts/users-accounts
)
User & Accounts | Better Auth
User and account management
.
Jump to solution
Better Auth
Join
9,988
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
Get User by ID
BA
Better Auth / help
12mo ago
Get Stripe subscription by User Id
BA
Better Auth / help
9mo ago
getSession null
BA
Better Auth / help
11mo ago
Elysia getSession
BA
Better Auth / help
12mo ago