© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
Failing to extend context via createAuthMiddleware - Better Auth
BA
Better Auth
•
10mo ago
•
1 reply
Budi
Failing to extend context via createAuthMiddleware
I am passing
organisationName
organisationName
to the
auth.api.signInSocial
auth.api.signInSocial
method on the server
.
The middleware catches this argument however I cannot succeed at passing it so it
's available in the database hook
. How can I solve this
?
Thank you
.
Recent Announcements
Similar Threads
createAuthMiddleware context.returned
BA
Better Auth / help
6mo ago
Plugin to extend organization plugin
BA
Better Auth / help
12mo ago
Unable to access user email inside `createAuthMiddleware` when using social providers
BA
Better Auth / help
4mo ago
extend oauth state
BA
Better Auth / help
3mo ago