Search
Star
Feedback
Setup for Free
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Enforce Email Domain Restriction on Google - Better Auth
BA
Better Auth
•
5mo ago
•
8 replies
Hozay
Enforce Email Domain Restriction on Google
How can I achieve this
? I tried doing the example from the documentation
(
https://www.better-auth.com/docs/concepts/hooks#example-enforce-email-domain-restriction
) but that did not work for my case
. I am trying to restrict for only a specific domain
"example
.com
" to be accepted to sign up
.
Thank you
!
Hooks | Better Auth
Better Auth Hooks let you customize BetterAuth
's behavior
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
Enforce Email Domain Restriction with Google Sign-In
BA
Better Auth / help
11mo ago
Email Domain Validation on Registration
BA
Better Auth / help
9mo ago
Enforce SSO login only
BA
Better Auth / help
3d ago
How to block log in for specific providers based on email domain?
BA
Better Auth / help
6mo ago